Quytrinhkhoiphucpassword
Quytrinhkhoiphucpassword
(password recovery)
1. Establish a HyperTerminal (Private Edition 5.0 or higher) console connection with the router.
2. Tắt router, sau đó bật lại. Nhấn Ctrl-Break trong vòng 60 giây
rommon 1 >
3. Dùng lệnh confreg để đổi nội dung thanh ghi sang 2142.
rommon 2 >reset
router>
6.
router>enable
7.
router>enable
router#show startup-config
router#config term
1
router(config)#line con 0
router(config-line)#login
router(config-line)#password newpassword
router(config)#line aux 0
router(config-line)#login
router(config-line)#password newpassword
router(config)#line vty 0 4
router(config-line)#login
router(config-line)#password newpassword
router#config term
router(config)#config-register 0x2102
router(config)#exit
router#show version
SOFTWARE (fc1)
2
2 Low-speed serial(sync/async) network interface(s)
1. Thiết lập HyperTerminal (Private Edition 5.0 or higher) console connection with the router.
2. Tắt routers, sau đó bật lại. Nhấn CTRL-BREAK trong vòng 60 giây.
>
>o/r 0x2142 (lower case of the letter O for o/r and zero for 0x2142)
4. Reboot router
>i
5. Nhấn Ctrl-C để vào user mode khi router khởi động lại
router>
router>enable
router#show startup-config
8. Enter a new privileged password and change other lost passwords as may be necessary.
router#config term
router(config)#line con 0
3
router(config-line)#login
router(config-line)#password newpassword
router(config)#line aux 0
router(config-line)#login
router(config-line)#password newpassword
router(config)#line vty 0 4
router(config-line)#login
router(config-line)#password newpassword
9. Copying the startup-configuration to running-configuration. Thực hiện lệnh no shutdown trên tất cả
các interface được dùng.
10. Chuyển nội dung thanh ghi về giá trị ban đầu. Lưu cấu hình
router#config term
router(config)#config-register 0x2102
11. Kiểm tra thanh ghi có giá trị là 2102 bằng lệnh show version
router#show version
(fc1)
SOFTWARE (fc1)
4
32K bytes of non-volatile configuration memory.
router#reload