你的位置:首页 > 技术知识库 > 华为 > 路由

AR G3路由器快速清除Console登录密码并恢复配置的步骤

2014/10/12 13:31:45点击:
问题描述
console口密码忘记无法登录设备。
告警信息
处理过程
适用产品:AR1200&2200&3200系列路由器
适用版本:V200R003及以后版本
本文已AR1200系列路由器为例:

//设备开始加电启动
BIOS Creation Date : Nov 15 2013, 14:25:32
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 ... 2  //Ctrl+B进入Bootrom菜单

Enter Password:******     //密码admin@huawei.com

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-7):7        //选择7,密码管理
        PassWord Menu

    1. Modify the menu password
    2. Clear the console login password
    0. Return

Enter your choice(0-2):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  //选择0,返回上级菜单
        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-7):6    //选择6,重新启动设备
BIOS Creation Date : Nov 15 2013, 14:25:32
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 ... 1
Enter auto startup

Now boot from flash:/ar1220-v200r005c10.cc, please wait...
Check Bootrom version
Check CPLD Version

Get CPLD0 file CPLD_ar1220.bin in packet
CPLD0 version is 0x11072400
CPLD0 in packet version is 0x11072400
CPLD0 version match

Check rootfs version
Get Kernel File Done
Uncompress Kernel Done

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

    //无需密码登录设备,原来的业务配置也已加载成功
system-view
[huawei]
根因
建议与总结
AR V200R003版本及以上,可通过Bootrom菜单快速清除console登录密码,同时不影响原有配置恢复。