1、通过Console口连接华为交换机,手动重启交换机。
2、界面出现BIOS LADING...,按下快捷键“Ctrl+B”并输入BootROM/BootLoad密码,进入BootROM/BootLoad主菜单。
3、初始密码:Admin@huawei.com A必须大写。
4、选择7 Clearpassword for console user 清除console用户密码模式。“ Y ”,确认清除原密码。
5、选择1 Boot withdefault mode 键入1 启动默认模式,进入后修改Console密码。
6、登录交换机后,进行密码修改操作。
密码认证
<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher YsHsjx_202206
[HUAWEI-ui-console0] return
<HUAWEI> save
aaa认证
<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode aaa
[HUAWEI-ui-console0] quit
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher YsHsjx_202206
[HUAWEI-aaa] local-user admin123 service-type terminal
[HUAWEI-aaa] return
<HUAWEI> save
2、界面出现BIOS LADING...,按下快捷键“Ctrl+B”并输入BootROM/BootLoad密码,进入BootROM/BootLoad主菜单。
3、初始密码:Admin@huawei.com A必须大写。
4、选择7 Clearpassword for console user 清除console用户密码模式。“ Y ”,确认清除原密码。
5、选择1 Boot withdefault mode 键入1 启动默认模式,进入后修改Console密码。
6、登录交换机后,进行密码修改操作。
密码认证
<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher YsHsjx_202206
[HUAWEI-ui-console0] return
<HUAWEI> save
aaa认证
<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode aaa
[HUAWEI-ui-console0] quit
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher YsHsjx_202206
[HUAWEI-aaa] local-user admin123 service-type terminal
[HUAWEI-aaa] return
<HUAWEI> save