如果设备配置了super密码,并且包括console口在内的所有登录方式都被默认指定为level 0,那么在忘记super密码时,就无法进入配置视图,对设备进行维护。
本指导参考版本NE40/NE80 VRP3.10-0423。
当忘记super密码时,可以通过重启设备,进入bootrom菜单,然后按[ctrl] + z,进入隐含bootrom菜单,选择“Disable Config Password”后重新启动系统。这样用console用户登录的时候,super命令就不需要输入密码了。当然登录设备后还需要重新设置密码。不然下次登录还需要通过bootrom的操作实现。
下面是一个例子:
*************************************************
* *
* Switching Routing Platform 80 Bootrom, Ver131 *
* *
*************************************************
Copyright(C) 2001-2005 by HUAWEI TECHNOLOGIES CO.,LTD.
Creation date:
CPU type : MPC750
CPU L2 Cache : 1024KB
CPU Clock Speed : 350MHz
BUS Clock Speed : 100MHz
Memory Size : 512MB
Initialize HardDisk will take long time if needed.
Initialize HardDisk...ok!
Press Ctrl+B to enter Boot Menu... 4
password:
MAIN MENU
1. Boot with default mode
2. Boot from Flash
3. Boot from HardDisk
4. Enter serial submenu
5. Enter ethernet submenu
6. Modify Flash description area
7. Modify bootrom password
8. Reboot
Enter your choice(1-8): ------------------------在这里输入[ctrl] + z,可以进入下面的菜单。
HIDDEN MENU
1. Enter to debugging environment
2. Erase Flash
3. Delete file from Flash
4. Disable Config Password
5. Fdisk HardDisk
6. Format HardDisk
7. Chkdsk HardDisk
8. Return to main menu
Enter your choice(1-8): 4
Disable config password? Yes or No(Y/N): y -----------去掉super密码
Writing Flash...done
HIDDEN MENU
1. Enter to debugging environment
2. Erase Flash
3. Delete file from Flash
4. Disable Config Password
5. Fdisk HardDisk
6. Format HardDisk
7. Chkdsk HardDisk
8. Return to main menu
Enter your choice(1-8): 8
MAIN MENU
1. Boot with default mode
2. Boot from Flash
3. Boot from HardDisk
4. Enter serial submenu
5. Enter ethernet submenu
6. Modify Flash description area
7. Modify bootrom password
8. Reboot
Enter your choice(1-8): 8
Rebooting...
ZBB_TEST
Starting...
*************************************************
* *
* Switching Routing Platform 80 Bootrom, Ver131 *
* *
*************************************************
Copyright(C) 2001-2005 by HUAWEI TECHNOLOGIES CO.,LTD.
Creation date:
CPU type : MPC750
CPU L2 Cache : 1024KB
CPU Clock Speed : 350MHz
BUS Clock Speed : 100MHz
Memory Size : 512MB
Initialize HardDisk will take long time if needed.
Initialize HardDisk...ok!
Press Ctrl+B to enter Boot Menu... 0
Auto-booting...
Booting from HardDisk...
Loading from HardDisk...done
Decompress Image................................................................
...................................................OK!
Starting at 0x400000...
usrInit() begin
usrInit() end
usrRoot() begin
startup WDT
Initialize HardDriver OK
Install HardDriver OK
usrRoot() end
leave BSP
Start NE40-4 ......
Start Init Flash Device......OK!
……
Start Register Commands......OK!
Notify all tasks begin to run!
User interface Con 0 is available.
Press ENTER to get started.
<Quidway>
<Quidway>su ----------------------这时候不需要输入密码
Now user privilege is 3 level, and only those commands whose level is
equal to or less than this level can be used.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
<Quidway>
若您有关于案例的建议,请反馈:
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作