路由器和交換機的密碼恢復
- 來源:縱橫數據
- 作者:中橫科技
- 時間:2013/2/21 15:24:31
- 類別:新聞資訊
路由器的密碼恢復
1.開機按住ctrl和break
2.confreg 0x2142
3.copy startup-config running-config 將啟動文件加載到當前運行配置文件
4.修改密碼
5.config-register 0x2102 修改寄存器的值為0x2102即加載配置文件
6.copy startup-config running-config /*保存配置文件*/
路由器的密碼使用service password-encryption 加密
交換機的密碼恢復
1.重新啟動交換機
2.接通電源后按住mode鍵,當出現mode:時
3.使用flash_init初始化flash
4.將config.txt變為config.old
switch:rename flash:config.txt flash:config.old
5.重新啟動交換機
boot
6.把配置文件的名稱改回來
switch# rename flash:config.old system:config.txt
7.手動加載配置文件
switch# copy flash:config.txt system:start-config.txt
8.修改密碼
9.保存
1.開機按住ctrl和break
2.confreg 0x2142
3.copy startup-config running-config 將啟動文件加載到當前運行配置文件
4.修改密碼
5.config-register 0x2102 修改寄存器的值為0x2102即加載配置文件
6.copy startup-config running-config /*保存配置文件*/
路由器的密碼使用service password-encryption 加密
交換機的密碼恢復
1.重新啟動交換機
2.接通電源后按住mode鍵,當出現mode:時
3.使用flash_init初始化flash
4.將config.txt變為config.old
switch:rename flash:config.txt flash:config.old
5.重新啟動交換機
boot
6.把配置文件的名稱改回來
switch# rename flash:config.old system:config.txt
7.手動加載配置文件
switch# copy flash:config.txt system:start-config.txt
8.修改密碼
9.保存