1. 重新啟動設備
2. 在完成開機前接下「Ctrl」+「Break」或是「Ctrl」+「C」
3. 查看在Rom Monotor Mode 下有什麼指令可以用。
rommon 1 > ?
boot boot up an external process
confreg configuration register utility
dir list files in file system
help monitor builtin command help
reset system reset
set display the monitor variables
tftpdnld tftp image download
unset unset a monitor variable
rommon 1 > ?
boot boot up an external process
confreg configuration register utility
dir list files in file system
help monitor builtin command help
reset system reset
set display the monitor variables
tftpdnld tftp image download
unset unset a monitor variable
4. 在2811機種上,可以使用confreg 指令來變更Configuration register值
rommon 2 > confreg 2142
rommon 2 > confreg 2142
5. 重新啟動Router
rommon 3 > reset
rommon 3 > reset
6. 載入IOS完畢後就會進入Setup Mode,請輸入n,進行手動設定。 Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>
Press RETURN to get started!
Router>
7. 手動載入startup-config
Router#copy startup-config running-config
Router#copy startup-config running-config
8. 找出舊密碼
Router#show running-config
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
line con 0
password cisco
login
line vty 0 4
password cisco
login
Router#show running-config
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0
line con 0
password cisco
login
line vty 0 4
password cisco
login
9. 更改Enable 密碼
Router(config)#enable password cisco
Router(config)#enable password cisco
10. 還原Config-register設定
Router(config)#config-register 2102
Router(config)#config-register 2102
11. 將running-config寫回startup-config
Router#copy running-config startup-config
Router#copy running-config startup-config
12. 重新啟動
Router-1#reload
Router-1#reload
沒有留言:
張貼留言