密码恢复

 

方法一:

outer#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#config-reg 0x2142  配置配置寄存器值为0X2142。。启动时跳过NVRAM中配置文件

Router>ena
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#config-reg 0x2102  密码修改后需要把配置寄存器值改为0X2102

Router(config)#exi           

方法二:

超级终端连接好,配置参数是9800bps ,8个数据位,1个停止位,无流控,无奇偶校验。重启路由器时,按住CTRL + BREAK键。进入rommon模式

Self decompressing the p_w_picpath :
##################
monitor: command "boot" aborted due to user interrupt
rommon 1 > confreg 0x2142    配置配置寄存器值为0X2142
rommon 2 > reset  
重启