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

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

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

bash 复制代码
rommon 1 > confreg 0x2142        //切换到0x2142模式

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

初始化配置会话选择no。

bash 复制代码
         --- System Configuration Dialog ---

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

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

cpp 复制代码
Router>en
Router#copy startup-config running-config

删除enable密码。

cpp 复制代码
Router#conf t
Router(config)#no enable password 

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

cpp 复制代码
Router#copy running-config startup-config

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

cpp 复制代码
Router#conf t
Router(config)#config-register 0x2102
Router(config)#end
Router#reload

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

cpp 复制代码
R1#show version 
Cisco IOS Software, 2800 Software
......
......
......

Configuration register is 0x2102
相关推荐
云边云科技_云网融合12 分钟前
企业出海的 “数字丝绸之路“:SD-WAN 如何重构全球网络竞争力
大数据·运维·网络·人工智能
kyle~1 小时前
计算机网络---网络层
网络·计算机网络·智能路由器
浪客灿心2 小时前
Linux五种IO模型与非阻塞IO
linux·网络
Ether IC Verifier2 小时前
TCP/IP四层协议详解与以太网包发送过程
网络·网络协议·tcp/ip·计算机网络·dpu
IpdataCloud2 小时前
企业级IP定位服务准确率怎么保证?从数据源到离线库的精度提升指南
运维·服务器·网络·数据库·tcp/ip
treesforest2 小时前
从IP地址归属地查询到IP地理位置精准查询指南
服务器·前端·网络
星星也在雾里3 小时前
内网服务对外访问:frp 内网穿透完整教程
网络
liulian09163 小时前
Flutter 网络状态与内容分享库:connectivity_plus 与 share_plus 的 OpenHarmony 适配指南
网络·flutter
雨的旋律20993 小时前
linux网卡绑定bond设置一步不少
linux·运维·网络
tiandyoin3 小时前
IPCONFIG重置网络
网络·ip·dfs·dns·vpn·cmd