【MVS】HUAWEI CE系列交换机Console口密码遗忘
忘记了Console口密码,需要设置新的Console口密码。
无
无
Console口密码遗忘
请优先使用方法一,如果STelnet/Telnet密码也忘记了再使用方法二/三。
方法二仅V200R019C00之前的版本支持。
使用Telnet协议存在安全风险,建议用户使用STelnet V2登录设备。
使用STelnet/Telnet账号登录设备,并确认当前账号有3级或更高的权限。
使用display users命令查看当前设备所有登录用户。其中带“*”标记的为当前用户的用户界面,对应编号为VTY1。
<HUAWEI> display users NOTE: User-Intf: The absolute number and the relative number of user interface Authen: Whether the authentication passes Author: Command line authorization flag -------------------------------------------------------------------------------- User-Intf Delay Type Network Address Authen Author Username -------------------------------------------------------------------------------- 34 VTY 0 00:06:53 TEL 10.135.18.67 pass yes Unspecified * 35 VTY 1 00:00:00 TEL 10.135.18.91 pass yes Unspecified使用display user-interface命令可以显示所有用户的权限,确定VTY1对应的等级为15,有权限修改Console口密码。
<HUAWEI> display user-interface Idx Type Tx/Rx Modem Privi ActualPrivi Auth Int 0 CON 0 9600 - 15 - P - + 34 VTY 0 - 15 15 P - + 35 VTY 1 - 15 15 P - ......修改Console口密码,以修改为密码认证为例。
<HUAWEI> system-view [~HUAWEI] user-interface console 0 [~HUAWEI-ui-console0] authentication-mode password [*HUAWEI-ui-console0] set authentication password Please configure the login password (8-16) Enter Password: //输入密码 Confirm Password: //再次输入密码进行确认 [*HUAWEI-ui-console0] user privilege level 3 [*HUAWEI-ui-console0] commit [~HUAWEI-ui-console0] return为了防止重启后配置丢失,选择保存配置。
<HUAWEI> save Warning: The current configuration will be written to the device. Continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully.要进入到BIOS菜单需要重启设备(可以通过将设备先下电再上电的方式进行重启),会导致业务中断,请视具体情况做好设备备份,并尽量选择业务量较少的时间操作。设备启动过程中不要对设备进行下电操作。
对于CE12800系列交换机,如果设备是双主控,则需要在执行以下操作前将备用主控板拔下,待执行完以下操作后,再插上备用主控板,执行save命令以保证主用主控板和备用主控板配置一致。
根据以下步骤完成设备启动后,仅本次通过Console口登录时不需要输入密码,原来的Console口登录密码仍然保存在配置文件中。登录后请及时设置新的登录密码,否则下次通过Console口登录时还是需要输入原来的密码。
通过Console口连接设备,并重启设备。当界面出现以下信息时,请3秒内按下快捷键“Ctrl+B”并输入BIOS密码,进入BIOS主菜单。
Press CTRL+B to enter BIOS menu or CTRL+E to boot DFX: 1 Password: //输入BIOS密码。根据设备的提示,在BIOS主菜单下选择“Modify console password”,出现以下界面信息,选择y后,设备将会继续启动。
Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n):y设备完成系统启动后,本次通过Console口登录时不需要认证,登录后需要及时修改Console口密码,以修改为密码认证为例。
<HUAWEI> system-view [~HUAWEI] user-interface console 0 [~HUAWEI-ui-console0] authentication-mode password [*HUAWEI-ui-console0] set authentication password Please configure the login password (8-16) Enter Password: //输入密码 Confirm Password: //再次输入密码进行确认 [*HUAWEI-ui-console0] user privilege level 3 [*HUAWEI-ui-console0] commit [~HUAWEI-ui-console0] return为了防止重启后配置丢失,选择保存配置。
<HUAWEI> save Warning: The current configuration will be written to the device. Continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully.要进入到BootLoader菜单需要重启设备(可以通过将设备先下电再上电的方式进行重启),会导致业务中断,请视具体情况做好设备备份,并尽量选择业务量较少的时间操作。设备启动过程中不要对设备进行下电操作。
对于12800E&16800系列交换机,如果设备是双主控,则需要在执行以下操作前将备用主控板拔下,待执行完以下操作后,再插上备用主控板,执行save命令以保证主用主控板和备用主控板配置一致。
根据以下步骤完成设备启动后,仅本次通过Console口登录时不需要输入密码,原来的Console口登录密码仍然保存在配置文件中。登录后请及时设置新的登录密码,否则下次通过Console口登录时还是需要输入原来的密码。
通过Console口连接设备,并重启设备。当界面出现以下信息时,请3秒内按下快捷键“Ctrl+B”并输入BootLoader密码,进入BootLoader主菜单。
Press CTRL+B to enter BOOT menu or CTRL+E to boot DFX: 1 Password: //输入BootLoader密码。根据设备的提示,在BootLoader主菜单下选择第6项,再选择“Modify console password”,出现以下界面信息,选择y后,设备将会继续启动。
Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n):y设备完成系统启动后,本次通过Console口登录时不需要认证,登录后需要及时修改Console口密码,以修改为密码认证为例。
<HUAWEI> system-view [~HUAWEI] user-interface console 0 [~HUAWEI-ui-console0] authentication-mode password [*HUAWEI-ui-console0] set authentication password Please configure the login password (8-16) Enter Password: //输入密码 Confirm Password: //再次输入密码进行确认 [*HUAWEI-ui-console0] user privilege level 3 [*HUAWEI-ui-console0] commit [~HUAWEI-ui-console0] return为了防止重启后配置丢失,选择保存配置。
<HUAWEI> save Warning: The current configuration will be written to the device. Continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully.
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作