组网需求
恢复H3C wx5002 AC控制器的console登陆端口的密码,并且要保留原有的配置
配置步骤
1. 进入BootWare主菜单,选择<6>,即以忽略系统配置方式启动
System starts booting ...
**************************************************************************
* *
* H3C WCM BootWare , Ver 1.13 *
* *
**************************************************************************
...........................省略启动信息...........................
CPLD Version is 1.00
Hardware Version is Ver.A
GE0 ..............................OK!
GE1 ..............................OK!
Press Ctrl+B to enter extend boot menu... 5
Please input BootWare password:
============================<EXTEND-BOOTWARE MENU>========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Modify BootWare Password |
|<6> Ignore System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<0> Reboot |
========================================================================
Enter your choice (0-8):6 #在这里输入 6
System startup with ignore user's configuration, Yes or No (Y/N):Y
Flag Set Successfully!
2. 当再次出现BootWare主菜单时,选择<0>,系统开始重新启动
=============================<EXTEND-BOOTWARE MENU>=======================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Modify BootWare Password |
|<6> Ignore System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<0> Reboot |
=======================================================================
Enter your choice (0-8):0
Exit and reboot, Yes or No (Y/N):Y
System is rebooting now ...
System starts booting ...
Configuration file is skipped.
User interface aux0 is available.
...........................省略启动信息...........................
Press ENTER to get started.
<AC>
%Jan 19 19:07:42:981 2008 H3C SHELL/4/LOGIN: Console login from aux0
<AC>
3. 重启后在系统视图下设置新的口令
<AC>system-view
[AC]user-interface aux 0
[AC-ui-aux0]authentication-mode password
[AC-ui-aux0]set authentication password simple 123456
以上就表示设置Console口验证方式为密码验证,且为Console口设置密码为123456,密码采用明文存储。
说明: 重启后,系统按初始缺省配置运行,但原配置文件仍保存在存储介质中。
4. 恢复配置
为了恢复原配置,可使用以下方法:
(1) 使用display saved-configuration或more命令将原配置显示出来,将user-interface aux 0下与密码相关的配置删除,然后拷贝并执行这些配置。
(2)将配置文件通过ftp/tftp等方式传输到PC上,将user-interface aux 0下与密码相关的配置删除,然后上传到设备上覆盖原有配置文件,重启设备即可。
5. 保存新配置
[AC]save





