juniper交换机密码重置
更新时间:2023-10-06 22:22:01 阅读量: 综合文库 文档下载
EX Switch root password recovery Knowledge Base ID: KB10503
Version: Published: Updated:
3.0
07 Oct 2008 07 Oct 2008 Switch Products
Categories:
EX3200 EX4200 JUNOS-EX
SYNOPSIS:
EX Switch root password recovery method during Beta period.
The procedure requires a few extra commands but will be simplified to a single command in loader mode in a later release.
PROBLEM:
EX Switch root password recovery. SOLUTION:
To recover the password on the EX Switch you must be connected via the console, reboot and then access Loader mode. The steps for completing this process are listed below along with the actual boot output.
Password Recovery Steps:
1. Access EX Switch via the console port. 2. Reboot the EX Switch
3. When prompted to enter Loader mode hit the
\
loader> boot -s
4. When prompted with, \Enter full pathname of shell or 'recovery' for root password recovery
or RETURN for /bin/sh:\following:
# fsck -y
5. Once fsck completes you will be at the hash prompt again. Enter the following:
# mount -a
# rm /config/juniper* # exit
6. After the system is mounted you will be prompted with the root login prompt. Enter the
\
NOTE: A password is not required for root login during initial setup. Sample Boot Process:
Loading /boot/defaults/loader.conf
/kernel data=0xb4ac4c+0x5c744 syms=[0x4+0x83830+0x4+0x872e3]
Hit [Enter] to boot immediately, or space bar for command prompt. <<<<< HIT SPACE BAR >>>>>
Type '?' for a list of commands, 'help' for more detailed help. loader> boot -s
Kernel entry at 0xa0000100 ... GDB: debug ports: uart GDB: current port: uart
KDB: debugger backends: ddb gdb KDB: current backend: ddb
Copyright (c) 1996-2007, Juniper Networks, Inc. All rights reserved.
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. JUNOS 9.1I20071129_2226_marcelm #1: 2007-11-29 22:27:50 UTC
marcelm@apg-bbuild01.juniper.net:/b/marcelm/junos/9.1a/obj-powerpc/sys/compile/JUNIPER-EX
WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant Timecounter \frequency 50000000 Hz quality 0
cpu0: Freescale e500v2 core revision 2.1 cpu0: HID0 80004080
ocpbus0:
openpic0:
uart1: <16550 or compatible> iomem 0xfef04600-0xfef0460f irq 58 on ocpbus0
lbc0:
cfi0: iomem 0xff800000-0xffffffff on lbc0 syspld0 iomem 0xff000000-0xff00ffff on lbc0
tsec0:
e1000phy0:
e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto pcib0:
pci0:
ehci0:
usb0: EHCI version 0.95
usb0:
uhub0: Philips EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered
umass0: STMicroelectronics STORM II High Speed Mode, rev 2.00/2.00, addr 2 mpfe0:
0xe0002000-0xe0002fff,0xe4000000-0xe7ffffff irq 18 at device 19.0 on pci0 mpfe1:
0xe8000000-0xe8000fff,0xec000000-0xefffffff irq 19 at device 20.0 on pci0
i2c0:
idma0:
da0:
da0: 500MB (1024000 512 byte sectors: 64H 32S/T 500C) if_pfe_open: listener socket opened, listening on ... Trying to mount root from ufs:/dev/da0s1a WARNING: / was not properly dismounted Attaching /packages/jbase via /dev/mdctl... Mounted jbase package on /dev/md0... System watchdog timer disabled
Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: <<<<< HIT ENTER >>>>>
NOTE: to go to multi-user operation, exit the single-user shell (with ^D) # fsck -y
** /dev/da0s1a (NO WRITE) ** Last Mounted on / ** Root file system
** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups
1232 files, 38168 used, 6055 free (39 frags, 752 blocks, 0.1% fragmentation) ** /dev/da0s3e (NO WRITE) ** Last Mounted on /config
** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups
9 files, 9 used, 15918 free (22 frags, 1987 blocks, 0.1% fragmentation) ** /dev/da0s1f (NO WRITE) ** Last Mounted on /var
** Phase 1 - Check Blocks and Sizes
INCORRECT BLOCK COUNT I=2332 (232 should be 228) CORRECT? no
INCORRECT BLOCK COUNT I=2333 (32 should be 28) CORRECT? no
** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=6934 OWNER=root MODE=100644 SIZE=44 MTIME=Nov 30 18:12 2007
RECONNECT? no
CLEAR? no
** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? no
SUMMARY INFORMATION BAD SALVAGE? no
BLK(S) MISSING IN BIT MAPS SALVAGE? no
95 files, 7696 used, 26516 free (52 frags, 3308 blocks, 0.2% fragmentation) ** /dev/da0s3d
** Last Mounted on /var/tmp
** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups
10 files, 1325 used, 77322 free (34 frags, 9661 blocks, 0.0% fragmentation)
***** FILE SYSTEM MARKED CLEAN ***** # mount -a
# rm /config/juniper* # exit
Mounted jcrypto-ex package on /dev/md1... Mounted jdocs-ex package on /dev/md2... Mounted jkernel-ex package on /dev/md3... Mounted jpfe-ex42x package on /dev/md4... Mounted jroute-ex package on /dev/md5... Mounted jswitch-ex package on /dev/md6... Mounted jweb-ex package on /dev/md7...
Executing /packages/mnt/jweb-ex-9.1I20071130_0102_marcelm/mount.post.. Skipping disk checks ...
mount: /tmp: unknown special file or file system WARNING: /config was not properly dismounted WARNING: /var was not properly dismounted
Creating initial configuration...mgd: error: Cannot open configuration file: /config/juniper.conf
mgd: warning: activating factory configuration
/etc/config//junos-defaults.conf: 16: (20) syntax error: applications
/etc/config//junos-defaults.conf: 226: (9) error recovery ignores input until this point: } /etc/config//ex-series-defaults.conf: 25: (20) syntax error: applications
/etc/config//ex-series-defaults.conf: 50: (9) error recovery ignores input until this point: } mgd: commit complete
mgd: ---------------------------------------------------------- mgd: Please login as 'root'. No password is required.
mgd: To start Initial Setup, type 'ezsetup' at the JUNOS prompt. mgd: To start JUNOS CLI, type 'cli' at the JUNOS prompt. mgd: ----------------------------------------------------------
Setting initial options: debugger_on_panic=YES debugger_on_break=YES. Starting optional daemons: . Doing initial network setup: .
Initial interface configuration: additional daemons:.
savecore: could not be determined savecore: no dumps found
Additional routing options: ipsec kld. Doing additional network setup:. Starting final network daemons:.
setting ldconfig path: /usr/lib /opt/lib starting standard daemons: cron. Local package initialization:. starting local daemons:. Fri Nov 30 18:14:29 UTC 2007 NNNNNNN
Amnesiac (ttyu0)
login: root
--- JUNOS 9.1I20071129_2226_marcelm (JUNIPER-EX) #1: 2007-11-29 22:27:50 UTC root@% PURPOSE: Troubleshooting
正在阅读:
juniper交换机密码重置10-06
五年级科学上册课堂作业04-03
阳煤开元公司大型固定设备事故应急预案04-10
2016年中央、国家机关公务员录用考试行政职业能力测试真题及答案解析地市级【完整+答案+解析】精校版08-26
教育部办公厅关于举办全国第三届高校艺术教育科研论文报告会和全12-30
六年级主题班会教案12-31
神话故事大全网02-19
第一次参加小记者活动作文400字07-14
2017年山东省高考全国卷信息归集与高考命题预测 化学04-15
《混合运算》练习纸04-05
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 重置
- 交换机
- 密码
- juniper