路由器系列:华为路由器:AR1200真机忘记Console口密码的处理方法全过程演示(亲测有效)
华为路由器:真机AR1200路由器密码重置
华为路由器:真机AR1200路由器密码重置
在终端界面上输入字符,如果设备可以响应串口输入字符,但是忘记密码无法登录。
这种情况下可以通过其他登录方式配置Console口登录或者通过BootROM菜单清除Console口登录密码,尝试重新登录。
1.通过其他登入方式配置console口登入
前提:用户拥有STelnet/Telnet账号并且具有管理员的权限。以下涉及的命令行及回显信息以STelnet登录设备修改Console口密码为例。用户通过STelnet账号登录设备
以登录用户界面的认证方式为Password认证,密码为Huawei@123为例,配置如下
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode password
[Huawei-ui-console0] set authentication password cipher
Warning: The "password" authentication mode is not secure, and it is strongly re
commended to use "aaa" authentication mode.
Enter Password(<8-128>): (输入密码)
Confirm password: (确认密码)
[Huawei-ui-console0] return
<Huawei> save
以登录用户界面的认证方式为AAA认证,用户名为admin123,密码为Huawei@123为例,配置如下
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode aaa (以aaa方式认证登入)
[Huawei-ui-console0] quit
[Huawei] aaa (配置aaa)
[Huawei-aaa] local-user admin123 password irreversible-cipher Huawei@123
[Huawei-aaa] local-user admin123 privilege level 15 (权限)
[Huawei-aaa] local-user admin123 service-type terminal
[Huawei-aaa] return
<Huawei> save
2.通过BootROM清除Console口登录密码
设备的BootROM提供了清除Console口登录密码的功能,用户可以在设备启动后修改Console口登录密码,然后保存配置
#通过Console口连接设备,并重启设备。当界面出现以下打印信息时,及时按下快捷键“Ctrl+B”并输入BootROM密码,进入 BootROM主菜单。
Press Ctrl+B to break auto startup ... 1
Enter Password: //输入BootROM密码
BootROM密码:
- V200R003C01以及更低版本的缺省密码是huawei
- V200R005C00以及更高版本的缺省密码是Admin@huawei。
#在BootROM主菜单下依次选择“Password Manager > Clear the console login password”,清除Console口登录密码。
1.Default Startup
2.Serial Menu
3.Network Menu
4.Startup Select
5.ile Manager
6.reboot
7.Password Manager
1.Modify the menu password
2.Clear the console login password
0.Return
#依次选择“Return > Default Startup”,重新启动设备。
1.Modify the menu password
2.Clear the console login password
0.Return
1.Default Startup
2.Serial Menu
3.Network Menu
4.Startup Select
5.ile Manager
6.reboot
7.Password Manager
#完成系统启动后,通过Console口登录时不需要认证。登录设备后,用户可以根据需要配置Console用户界面的认证方式及密 码。
3. 方法:在BootROM下引导菜单中清除密码
全过程演示:
Login authentication
Password:
Password:
Password:
Please retry after 5 seconds.
Password:
Please retry after 10 seconds.
Password:
Configuration console exit, please retry to log on
Login authentication
Password:
Please retry after 5 seconds.
Password:
Password timeout expired
Password:
Configuration console exit, please retry to log on
Login authentication
Password:
Password:
Please retry after 5 seconds.
Password:
Please retry after 10 seconds.
Password:
Password timeout expired
Configuration console exit, please retry to log on
Login authentication
Password:
Password timeout expired
Password:
Password timeout expired
Password:
Password timeout expired
Configuration console exit, please retry to log on
Login authentication
Password:
Please retry after 5 seconds.
Password:
************************************************************
*** HUAWEI AR. ***
***BOOT version:107 (Build time: Dec 26 2014 - 16:56:44) ***
************************************************************
Press ctrl+T for memory test .... skip
Flash : 16 MiB
USB : 3 USB Device(s) found
: 1 Storage Device(s) found
Net : octeth0, octeth1, octeth2, octeth3
Press Ctrl+A for Bootrom menu ... 0
Now boot from flash:/AR1220F-V200R005C20SPC700.cc, please wait...
Check file :Boot .OK
Check file :CPLD .OK
Check file :cn6xxx_rootfs ....OK
Check file :cn6xxx_kernel ..OK
Check file :bootloaderfs .OK
Starting system ... OK
Press Ctrl+B to break auto startup ... 1
Init menu password
V200R003C01以及更低版本的缺省密码是huawei
V200R005C00以及更高版本的缺省密码是Admin@huawei。
Enter Password:******
Enter Password:******
Enter Password:************
Default Password,Please Set New Password.
BootLoader Menu
1. Startup Select
2. Network Menu
3. File Manager
4. Password Manager
5. Reboot
Enter your choice(1-5):4 #密码管理
PassWord Menu
1. Modify the menu password
2. Clear the console login password
0. Return
Enter your choice(0-2):2 #清除console密码
Clear the console login password Succeed!
PassWord Menu
1. Modify the menu password
2. Clear the console login password
0. Return
Enter your choice(0-2):0 #返回
BootLoader Menu
1. Startup Select
2. Network Menu
3. File Manager
4. Password Manager
5. Reboot
:5 重启
Requesting system reboot
Restarting system.
************************************************************
*** HUAWEI AR. ***
***BOOT version:107 (Build time: Dec 26 2014 - 16:56:44) ***
************************************************************
Press ctrl+T for memory test .... skip
Flash : 16 MiB
USB : 3 USB Device(s) found
: 1 Storage Device(s) found
................, octeth1, octeth2, octeth3
Press Ctrl+A for Bootrom menu ... 0
Now boot from flash:/AR1220F-V200R005C20SPC700.cc, please wait...
Check file :Boot .OK
Check file :CPLD .OK
Check file :cn6xxx_rootfs ....OK
Check file :cn6xxx_kernel ..OK
Check file :bootloaderfs .OK
Starting system ... OK
Press Ctrl+B to break auto startup ... 0
Create monitor process
Create cap process
Create vrp process
Initializing SMI Bus:OK
Initializing I2C Bus:OK
Backup Bootrom : done
DOPRA initialize..................OK
IAS initialize....................OK
VRP_SockTm_Init create............OK
VRP initialize
Create tasks......................OK
Initialize tasks..................OK
Recovering configuration..........OK
Press any key to get started
<Huawei>
推荐文章: