适用产品和版本
CE12800/CE6800/CE5800系列产品V100R001C00或更高版本。
CE7800系列产品V100R003C00或更高版本。
CE8800系列产品V100R006C00或更高版本。
CE12800E系列产品V200R002C50或更高版本。
组网需求
用户的Console口登录密码遗忘导致登录不了设备时,可以通过BIOS菜单清除Console口用户登录密码。
如图2-3所示,设备与用户侧主机PC相连。
图2-3 通过BIOS清除Console口密码举例
注意事项
通过BIOS清除Console口密码,有以下注意事项:
配置思路
通过BIOS清除Console口密码的配置思路如下:
操作步骤
Starting ...
Press CTRL+B to enter BIOS menu or CTRL+E to boot DFX: 1 //在3秒内按Ctrl+B系统会进入BIOS菜单,超出3秒系统会继续启动。
Password: //输入BIOS菜单的密码。
BIOS Menu (Version: 126)
1. Continue to boot
2. Update from serial interface
3. Update from ethernet interface
4. Modify startup parameters
5. File system
6. Modify BIOS password
7. Modify console password
8. Reboot
Enter your choice(1-8):
说明:
按下Ctrl+B后,用户需要输入密码才可以进入BIOS菜单。初始密码为Admin@huawei.com。
在BIOS主菜单中,选择第7项,修改Console口用户登录密码。
BIOS Menu (Version: 126)
1. Continue to boot
2. Update from serial interface
3. Update from ethernet interface
4. Modify startup parameters
5. File system
6. Modify BIOS password
7. Modify console password
8. Reboot
Enter your choice(1-8): 7
Caution: A new console password must be set after the restart.
Continue now? Yes(y) or No(n):
在修改Console口用户登录密码中,选择y后,设备将会继续启动。
Caution: A new console password must be set after the restart.
Continue now? Yes(y) or No(n): y
设备完成启动后,通过Console口登录时不需要认证,并且登录后及时修改Console口密码。
不同版本修改Console口密码的方式不同:
V100R001C00版本
[~HUAWEI] user-interface console 0 [~HUAWEI-ui-console0] authentication-mode password Please configure the login password (6-16) Enter Password: Confirm Password: [~HUAWEI-ui-console0] commit [~HUAWEI-ui-console0] return V100R002C00或更高版本 [~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] commit [~HUAWEI-ui-console0] return 为了防止重启后配置丢失,保存配置。 不同版本保存配置文件的提示信息不同: V100R001C00版本 Warning: The current configuration will be written to the device. Are you sure to continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully. V100R002C00或更高版本 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. 验证 完成上述配置。后续登录设备,用户可以使用新密码通过Console登录。
联系客服