路由器密码恢复
r1#reload
Proceed with reload? [confirm]
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
Initializing memory for ECC
..
c2811 processor with 524288 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled
Readonly ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xc940
program load complete, entry point: 0x8000f000, size: 0xc940
program load complete, entry point: 0x8000f000, size: 0x3ed1338
Self decompressing the image :
###
按住CTRL+C 进入 monitor模式
monitor: command "boot" aborted due to user interrupt
rommon 1 > confreg 0x2142
rommon 2 > reset
Router#copy startup-config running-config
Destination filename [running-config]?
622 bytes copied in 0.416 secs (1495 bytes/sec)
r1#
%SYS-5-CONFIG_I: Configured from console by console
r1#conf t
r1(config)#enable secret 654321
r1(config)#conf
r1(config)#config-register 0x2102
r1(config)#end
r1#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
r1#reload
r1>en
Password: