重置 console 密码
重启路由器,在路由器出现以下提示信息时按Ctrl+B,进入BootROM菜单。
BIOS Creation Date : Nov 10 2011, 14:41:12
DDR DRAM init : OK
Start Memory Test ? ('t' or 'T' is test):skip
Copying Data : Done
Uncompressing : Done
USB2 Host Stack Initialized.
USB Hub Driver Initialized
USBD Wind River Systems, Inc. 562 Initialized
Octeon Host Controller Initialize......Done.
Press Ctrl+B to break auto startup ... 3
BootROM菜单初始化密码为
Admin@huawei
进入BootROM菜单后,选择第7项,进入Password Manager菜单。
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-6):7
选择第2项,清除Console登录密码。然后选择0返回
PassWord Menu
1. Modify the menu password
2. Clear the console login password
0. Return
Enter your choice(0-1):2
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-1):0
选择第1项,继续启动,即可登录设备。
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-6):1
修改密码
如忘记密码建议新建一个用户,因为再生产环境中很难保证原用户没有绑定什么服务
一下为新建(修改)AAA认证的用户,用户名为admin123,密码为Huawei@123
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode aaa
[Huawei-ui-console0] quit
[Huawei] 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
修改web密码
以用户名为admin123,新密码为Huawei@123,用户级别为15为例
<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] local-user admin123 password irreversible-cipher Huawei@123
[Huawei-aaa] local-user admin123 service-type http
[Huawei-aaa] local-user admin123 privilege level 15
[Huawei-aaa] return
<Huawei> save
评论区