路由器系列:华为路由器:AR1200真机忘记Console口密码的处理方法全过程演示(亲测有效)




华为路由器:真机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>
推荐文章:

华为HCIE技术(HCIP、HCIE)汇总







亦良Cool

华为路由器:AR1200真机忘记Console口密码的处理方法全过程演示

亦良Cool

华为路由器:真机AR1200路由器密码重置

  • 25
    点赞
  • 30
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

坦笑&&life

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值