与大多数思科路由器相似,6500和7600系列路由器密码恢复都可以在rommon模式下进行。 特别注意:Sup720、Sup32和RSP720等都有两个处理器,即SP(Switch Processor)和RP(Router Processor)。 开机或重启,过程中会看到如下信息,表明进入RP处理: 00:00:28: %OIR-SP-6-CONSOLE: Changing console ownership to route processor 此时,按住Ctrl+Break,而不是SP开始时(如果是,那你进入的是SP的rommon,而不是RP的rommon)。在ROMMON模式下,输入0x2142,然后reset,重启即可。剩余操作同其它路由器相同。 备注: Configuration Registers The global configuration command - config-register is used to modify the behaviour of the router. Weather or not it boots from saved configuration. Weather or not it boots from the flash or the boot-proms.
In summary these Boot Registers are quite handy:
The value range is from 0x0 to 0xFFFF.
0x2102 is the factory-default configuration register value.
0x2142 boots from flash without using NVRAM contents good for password recovery.
0x2101 boots from boot prom image not flash, good for upgrading image on flash.
0x2141 boots from boot prom and ignores NVRAM contents.
0x141, which disables the Break key, ignores the NVRAM configuration, and boots the default system image from ROM.