Qui trình khôi phục password (password recovery)
Video hướng dẫn trên Packet Tracer:
1. Vào Hyper Terminal (Private Edition 5.0 or higher) console.
2. Tắt Router, sau đó bật lại. Nhấn Ctrl+Break trong vòng 60 giây
Router sẽ vào chế độ Rommon:
monitor: command "boot" aborted due to user interrupt
rommon 1 >
3. Dùng lệnh Confreg để đổi thanh ghi sang 2142rommon 1 >
rommon 1 > confreg 0x2142
4. Khởi động lại router bằng lệnh "reset"
rommon 2 > reset
5. Sau khi reboot, nhấn Ctrl+C để vào user mode
Router>
6. Copy startup-config vào running-config
Router>enable
Router#copy startup-config running-config
7. Tiến hành đổi lại passwordRouter#copy startup-config running-config
Router#config term
Router(config)#enable secret newpassword
Router(config)#enable password newpassword
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
8. Thay đổi giá trị thanh ghi trở về 0x2102Router(config)#enable secret newpassword
Router(config)#enable password newpassword
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)#end
Router#copy running-config startup-config
9. Lưu lại cấu hìnhRouter(config)#config-register 0x2102
Router(config)#end
Router#copy running-config startup-config
Router#copy running-config startup-config
10. Kiểm tra lại nội dung thanh ghi. Sau đó, khởi động lại router và sử dụng password mới
Router# show version
Cisco 2621 (MPC860) processor (revision 0x200) with 253952K/8192K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)
Configuration register is 0x2142 (will be 0x2102 at next reload)
Router# reload
Cisco 2621 (MPC860) processor (revision 0x200) with 253952K/8192K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)
Configuration register is 0x2142 (will be 0x2102 at next reload)
Router# reload
II. Cisco 2500 Series Routers:
Lưu ý: đối với dòng Cisco 2500 thì chỉ khác ở các câu lệnh sử dụng ở chế độ Rommon, cụ thể như sau:
1. Thiết lập Hyper Terminal (Private Edition 5.0 or higher) console.
2. Tắt Router, sau đó bật lại. Nhấn Ctrl+Break trong vòng 60 giây
Router sẽ vào chế độ Rommon:
Abort at 0x10EA884 (PC)
>
3. Đổi nội dung thanh ghi thành 0x2142>
>o/r 0x2142 (lower case of the letter O for o/r and zero for 0x2142)
4. Khởi động lại router
>i
Các bước tiếp theo làm tương tự như các dòng Router trên!
CLI
,
IOS
,
Khôi phục password
,
Password Recovery
,
Video Tutorial
No comments:
Post a Comment