最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

思科路由器忘记密码怎么重置

运维笔记admin24浏览0评论

断电重启路由器,在开机过程中按下Ctrl+Pause/break,或者只按下Pause/break(没有测试),在PT(Cisco Packet Tracert)中则需要按Ctrl+C。路由器会进入rommon >模式。

切换到0x2142模式(重启后配置不保存)

rommon 1 > confreg 0x2142        //切换到0x2142模式

rommon 2 > reset                 //重启,在PT中需要输入boot

初始化配置会话选择no。

         --- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

进入路由器后将启动配置(startup-config)导入到 运行配置(running-config)。

Router>en
Router#copy startup-config running-config

删除enable密码。

Router#conf t
Router(config)#no enable password 

将配置保存的启动配置(startup-config)中。

Router#copy running-config startup-config

切换到正常模式(0x2102),重启即可。

Router#conf t
Router(config)#config-register 0x2102
Router(config)#end
Router#reload

使用show version可以看到当前处于什么模式。

R1#show version 
Cisco IOS Software, 2800 Software
......
......
......

Configuration register is 0x2102

发布评论

评论列表(0)

  1. 暂无评论