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
最新完整版教师招聘必学5年级下册数学教材考试及考点分析04-28
最留恋的幸福作文800字07-16
令人恐怖的一件事作文600字07-01
谁不说咱家乡好作文700字06-30
家长、学生安全承诺书05-27
七十二变的云作文600字07-07
妈妈对不起作文600字06-12
懂得珍惜作文600字07-07
鑫圣金业-投资金条和工艺金条有何区别11-19
- 教师招聘考试真题(中学数学科目)及答案 - 图文
- 读《光辉的旗帜》有感
- 学生会副部长竞选讲稿
- 江苏省石油化工码头企业安全生产标准化考评细则 - 图文
- 2016尔雅 民俗资源与旅游 期末考试答案 整理
- 九年级华师大《二次函数》全章教案
- 生化作业6
- 串口资料
- 2014北大附中初三数学二模复习策略
- 曼尼希反应
- 努肉孜节2012
- 卫生部关于印发《关于卫生监督体制改革实 施的若干意见》和《关
- 《生活中的线条》教学设计
- 广告学概论讲义 - 图文
- VS1真空断路器原理图及两种VS1真空断路器的介绍
- 晨读倡议书 - 致全国青年朋友
- 建筑物理复习(建筑热工学) - 图文
- 高级消防与精通急救题库 doc
- YJK软件的优化设计
- 小学生必背古诗100首(带拼音)
- 重置
- 交换机
- 密码
- juniper