- 论坛徽章:
- 0
|
6509 路由模式的密码忘了,怎么处理。
1.
Attach a terminal or PC with terminal emulation to the console port of the switch.
Use the following terminal settings: 9600 baud, no parity, 8 data bits, 1 stop bit.
2.
Type show module to determine the MSFC card on which to do password recovery.
The MSFC module is in slot 15 or 16.
3.
Reset the MSFC module you want to do password recovery on.
Use the reset <mod>; command to do this.
4.
Wait 5 seconds and then connect to the MSFC console using the switch console command.
5.
After seeing the message "Connected to Router", issue a break sequence.
The break key is a unique sequence that will break the MSFC into rommon. If this does not work,
please refer to the break sequence page.
The MSFC will boot to a rommon>; prompt.
6.
Type confreg 0x42 at the rommon>; prompt to configure the MSFC to boot without its configuration.
7.
Display the current software in bootflash by issuing the dir bootflash: command and record the
current software version.
8.
Boot the system with the boot bootflash:<image filename>; command.
Note: Do NOT boot the system using the c6msfc&#8722;boot image. Doing so will result in loss of
configuration after the password recovery process.
9.
After the system boots, answer "No" to all the set&#8722;up questions or press Ctrl&#8722;C to skip the initial
set&#8722;up procedure.
10.
Type enable at the Router>; prompt. This will put you in enable mode and you will see the Router#
prompt.
11.
Type config mem or copy startup&#8722;config running&#8722;config to copy the nonvolatile RAM (NVRAM)
into memory.
This is a crucial step. DO NOT save the configuration (do not use write mem or copy
running&#8722;config startup&#8722;config)
12.
Type write terminal or show running&#8722;config.
At this point, you should see the full configuration with the unknown enable password or enable
secret. All other interfaces are shut down.
13.
Type configure terminal to make the necessary changes.
The prompt is now hostname(config)#
14.
Type enable secret <password>;. Replace <password>; with your password.<ASSWORD>;
15.
Use the show ip interface brief command to make sure that the interfaces that were in use earlier are
showing "up/up" status. If any of the interfaces that were in use before the password recovery show
"down/down", use the no shutdown command on that particular interface to bring it up.
16.
Type config&#8722;register 0x2102
17.
Press Ctrl&#8722;Z to leave the configuration mode. The prompt is now hostname#
18.
Type write memory or copy running&#8722;config startup&#8722;config to commit the changes.
19.
Type "^C^C^C" or "exit" to return to the switch console. |
|