国产探花免费观看_亚洲丰满少妇自慰呻吟_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]
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 东阳市| 曲靖市| 肇源县| 诸城市| 青河县| 洱源县| 新竹市| 台前县| 治多县| 石楼县| 岗巴县| 寻甸| 和林格尔县| 电白县| 宝丰县| 灌云县| 宁波市| 通许县| 嫩江县| 兴和县| 合川市| 乾安县| 陇西县| 文登市| 临漳县| 宽甸| 新丰县| 龙川县| 石棉县| 论坛| 凉城县| 通州区| 郯城县| 东安县| 宝应县| 延川县| 宝坻区| 将乐县| 南郑县| 凤翔县| 马公市|