1、通过consle口连接交换机,在用户视图下输入命令system。敲回车键。
2、进入系统视图后,输入命名user-interface con 0,进入接口视图。
3、在接口视图下输入authentication-mode password,设置认证模式为密码。
4、设置完成,输入set authentication password选择加密方式,cipher为密文加密,simple为明文方式。
5、以密文方式问例输入set authentication password c坡纠课柩ipher huawei@123此时consle口的密码就设置为huawei@123
6、查看配置是否正确,在接口视图下输入display this,显示当前接口配置。