Các dòng switch hay router đời cũ lâu không dùng rất hay bị quên mật khẩu. Vừa không vào qua cổng mngt được vừa không nhớ password console. Cách cuối cùng để có thể truy cập được vào được con thiết bị là phá pass của nó. Sau đây H2Ttool hướng dẫn bạn cách Reset Mật Khẩu Cisco ASR 901 Qua Console:
Mục lục
Bước 1: Kết nối Console
- Dùng cáp console kết nối vào router.
- Mở SecureCRT, PuTTY hoặc Tera Term, đặt tốc độ baud 9600, các tham số khác giữ nguyên

Bước 2: Khởi động vào chế độ ROMMON
- Tắt nguồn router.
- Bật nguồn lại và ngay lập tức nhấn Break liên tục trên bàn phím khi thiết bị khởi động (trong 30 giây đầu).
- Nếu dùng SecureCRT, nhấn Ctrl + C
- Nếu dùng PuTTY, nhấn Ctrl + Break.
- Nếu dùng Tera Term, nhấn Alt + B.
- Khi vào được ROMMON, bạn sẽ thấy dòng lệnh kiểu như sau:
rommon 1>
Bước 3: Bỏ qua cấu hình khởi động
Nhập lệnh sau:
confreg 0x2142
reset
- Lệnh
confreg 0x2142
giúp router bỏ qua cấu hình cũ, tức là nó không tải file cấu hình có mật khẩu. - Sau khi nhập
reset
, router sẽ khởi động lại.
Bước 4: Vào chế độ cấu hình và đặt lại mật khẩu
1. Khi router khởi động lại, nó sẽ hỏi có muốn vào setup mode không. Chọn No.
2. Tiếp tục khai báo như sau:
enable
configure terminal
enable secret <mật_khẩu_mới>
(Thay <mật_khẩu_mới>
bằng mật khẩu bạn muốn đặt.)
3. Khôi phục lại cài đặt khởi động bình thường:
config-register 0x2102
4. Lưu cấu hình:
write memory
Bước 5: Khởi động lại và kiểm tra
reload
Sau khi router khởi động lại, bạn có thể dùng mật khẩu mới để đăng nhập.
Lưu Ý Quan Trọng
- Nếu bạn có cấu hình quan trọng trên router, sau khi vào enable mode, dùng lệnh
copy startup-config running-config
để khôi phục cấu hình cũ trước khi đổi mật khẩu. - Nếu router yêu cầu mật khẩu để truy cập ROMMON, thì bạn cần liên hệ Cisco để được hỗ trợ.
Log Cách Reset Mật Khẩu Cisco ASR 901 Qua Console
SW-Cisco-4>
SW-Cisco-4>system Bootstrap, Version 15.4(3r)S7, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2015 by cisco Systems, Inc.
Compiled Wed 01-Apr-15 04:09 by pallavik
P2020 platform with 1048576 Kbytes of main memory
**** CTRL-C received ****
rommon 1 >
rommon 1 >
rommon 1 > confreg 0x2142
You must reset or power cycle for new config to take effect
rommon 2 > reset
Resetting .......
System Bootstrap, Version 15.4(3r)S7, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2015 by cisco Systems, Inc.
Compiled Wed 01-Apr-15 04:09 by pallavik
P2020 platform with 1048576 Kbytes of main memory
program load complete, entry point: 0x2000000, size: 0x275dd78
Self decompressing the image : ##################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################### [OK]
*** No sreloc section
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, 901 Software (ASR901-UNIVERSALK9-M), Version 15.4(3)S4, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 30-Sep-15 07:18 by prod_rel_team
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Cisco A901-6CZ-FT-D (P2020) processor (revision 1.0) with 393216K/131072K bytes of memory.
Processor board ID CAT1820U2P6
P2020 CPU at 800MHz, E500v2 core, 512KB L2 Cache
1 FastEthernet interface
12 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
256K bytes of non-volatile configuration memory.
98304K bytes of processor board System flash (Read/Write)
[MCU] Running version 01.16.05(04)
[MCU] Running version 05.04
[MCU] New version is 05.04
[MCU] Running version and upgrade version are same
[ROMMON] Current version is 07.01.03
[ROMMON] New version is 07.01.03
[ROMMON] Current version and new version are same
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
*Mar 1 00:01:08.291: %SMART_LIC-6-AGENT_READY: Smart Agent for Licensing is initialized
<...log...>
Mar 5 22:15:03.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/4, changed state to up
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret <Nhập Pass>
Router(config)#config-register 0x2102
Router(config)#exit
Router#write memory
Building configuration...
[OK]
Router#reload
Proceed with reload? [confirm]y
Mar 5 22:16:12.623: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
System Bootstrap, Version 15.4(3r)S7, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2015 by cisco Systems, Inc.
Compiled Wed 01-Apr-15 04:09 by pallavik
P2020 platform with 1048576 Kbytes of main memory
program load complete, entry point: 0x2000000, size: 0x275dd78
Self decompressing the image : ####################################################################################<...log...>
Mar 5 22:19:54.255: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/6, changed state to up
Router>
Router>en
Password:
Router#
Router#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Bạn thử làm theo hướng dẫn này xem có khôi phục được không nhé! 🚀
Chúc các bạn thành công!
- Nhóm Telegram: https://t.me/hotro_h2ttool
- Facebook: https://www.facebook.com/H2TTOOL/
- Nhóm hỗ trợ: https://www.facebook.com/groups/1216150895386587
- Email: h2ttool.com@gmail.com
- Mua tools hỗ trợ: https://h2ttool.com/shop/