国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網管 > 路由交換 > 正文

Cisco 2621 路由器密碼恢復實驗

2020-05-26 23:20:05
字體:
來源:轉載
供稿:網友
清空路由器所有配置,重啟
Router#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Router#reload
Proceed with reload? [confirm]


設置密碼,并保存配置
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#enable password 123
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
 
Router#wr
Building configuration...
[OK]


密碼恢復
關閉路由器電源并重新開機,在路由器啟動時,按【Ctrl+Break】鍵中斷路由器的啟動過程,進入rommon 模式。
rommon 1 > confreg 0x2142
rommon 2 > boot
......
         --- System Configuration Dialog ---
 
Continue with configuration dialog? [yes/no]: no


此時已可以直接進入特權模式,將NVRAM中的配置復制到RAM中
Router>
Router>en
Router#copy startup-config running-config
Destination filename [running-config]? 
 
429 bytes copied in 0.416 secs (1031 bytes/sec)
 
%SYS-5-CONFIG_I: Configured from console by console


重新設置密碼,保存配置,重啟。
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#enable password 123456
Router(config)#conf
Router(config)#config-register 0x2102
Router(config)#exit
 
%SYS-5-CONFIG_I: Configured from console by console
Router#wr
Building configuration...
[OK]

Router#reload
Proceed with reload? [confirm]
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 哈尔滨市| 万年县| 龙胜| 如东县| 新绛县| 永新县| 蛟河市| 铜鼓县| 冀州市| 大庆市| 远安县| 萨嘎县| 榆中县| 石泉县| 永兴县| 宝山区| 肃宁县| 宝应县| 乌鲁木齐市| 绿春县| 奉化市| 东乌珠穆沁旗| 平罗县| 申扎县| 铁力市| 新蔡县| 汽车| 阳泉市| 临邑县| 克山县| 岳阳县| 察雅县| 徐水县| 朝阳县| 富锦市| 大关县| 沙坪坝区| 余江县| 城步| 闽侯县| 宜川县|