华为园区交换机删除Console密码的方法

版本不同,操作方法略有不同:
1、盒式V100R002/V100R003删除Console密码
重启交换机,进入BootRoM菜单后,选择5.Enter filesystem submenu,进入文件系统子菜单。
进入文件系统子菜单后,选择4.Rename file from flash,把默认配置文件vrpcfg.zip改为其他名称,例如:vrptest.zip。
重启后进入交换机,此时交换机恢复为出厂的默认配置。
把改名后的文件vrptest解压缩为vrpcfg.bat。
<Quidway> unzip vrptest vrpcfg.bat
执行execute命令,把原有的配置调用出来,在此基础上可把console的密码去掉。
<Quidway> system-view
[Quidway] execute vrpcfg.bat
[Quidway] user-interface console 0
[Quidway-ui-console0] undo authentication-mode
[Quidway-ui-console0] quit
[Quidway] quit
保存配置为vrpcfg.zip。
<Quidway> save
The current configuration will be written to the device. Continue? [Y/N]:y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:
Jun 25 2010 11:41:59 Quidway %%01CFM/4/SAVE(l): The user chose Y when deciding w
hether to save the configuration to the device. vrpcfg.zip //这里要输入正确的默认配置文件名称 vrpcfg.zip
重启交换机后,Console密码被删除,同时原有的业务配置不丢失。

2、盒式V100R005及之后版本删除Console密码
设备启动过程中,首先加载BootROM程序,然后再加载系统软件。当界面出现如下提示信息时,两秒内按下快捷键Ctrl+B,进入BootROM主菜单。

BIOS LOADING …
Copyright (c) 2008-2010 HUAWEI TECH CO., LTD.
CX22EFFE (Ver124, Jun 9 2010, 17:41:46)

Press Ctrl+B to enter BOOTROM menu … 0
password: //输入BootROM密码
您可以在《S系列交换机缺省帐号与密码》(企业网、运营商)文档中获取各种缺省帐号与密码信息。获取该文档需要权限,如需升级权限,请查看网站帮助。

输入正确的BootROM密码后,显示的BootROM菜单如下:

BOOTROM MENU

1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Clear password for console user
8. Reboot
Enter your choice(1-8): 7
Note: Clear password for console user? Yes or No(Y/N): y

Clear password for console user successfully. Choose “1” to boot, then set a new password
Note: Do not choose “Reboot” or power off the device, otherwise this operation will not take effect
选择7 .Clear password for console user,然后选择1. Boot with default mode,即可以删除Console密码。

清除Console密码后,注意选择BootROM主菜单下的“1. Boot with default mode”进行启动,不能选择“8. Reboot”,也不能掉电,否则配置将会失效。

3、框式V100R001/V100R002/V100R003删除Console密码
重启交换机,进入BootROM菜单后,按CTRL+Z进入隐含菜单。
选择8-Rename file in CFCard,把默认配置文件vrpcfg.zip改为其他名称,例如:vrptest.zip。
重启后进入交换机,此时交换机恢复为出厂的默认配置。
把改名后的文件vrptest解压缩为vrpcfg.bat。
<Quidway> unzip vrptest vrpcfg.bat
执行execute命令,把原有的配置调用出来,在此基础上可把console的密码去掉。
<Quidway> system-view
[Quidway] execute vrpcfg.bat
[Quidway] user-interface console 0
[Quidway-ui-console0] undo authentication-mode
[Quidway-ui-console0] quit
[Quidway] quit
保存配置为vrpcfg.zip 。
<Quidway> save
The current configuration will be written to the device. Continue? [Y/N]:y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:
Jun 25 2010 11:41:59 Quidway %%01CFM/4/SAVE(l): The user chose Y when deciding w
hether to save the configuration to the device. vrpcfg.zip //这里要输入正确的默认配置文件名称 vrpcfg.zip
重启交换机后,Console密码被删除,同时原有的业务配置不丢失。

4、框式V100R006及之后版本删除Console密码
一台新设备上电启动,首次通过Console登录会提示输入Console口登录密码,也可以在Console口用户界面通过set authentication password [ cipher password ]命令设定。如果用户忘记Telnet登录和Console登录密码,此时会导致设备始终无法登录。设备为此设置了保险措施,在BootROM菜单下提供清除Console登录密码功能。操作步骤如下:

启动过程中,用户界面提示按Ctrl+B,输入密码进入BootROM,在BootROM主菜单下,选择8进行Console密码清除。

MAIN MENU

1. Boot with default mode
2. Boot from Flash
3. Boot from CFCard
4. Enter serial submenu
5. Enter ethernet submenu
6. Modify Flash description area
7. Modify BootROM password
8. Clear password for console user
9. Reboot

Enter your choice(1-9):8
Note: Clear password for console user? Yes or No(Y/N): y

Clear password for console user successfully. Choose “1” to boot, then set a new password
Note: Do not choose “Reboot” or power off the device, otherwise this operation will not take effect

清除Console密码后,注意选择BootROM主菜单下的“1. Boot with default mode”进行启动,不能选择“9. Reboot”,也不能掉电,否则配置将会失效。f

ICP备案号:晋ICP备18007549号-1
站长微信:13613567205