【网络】华为网络设备认证登录设置
配置前提:路由器、交换机vlan管理ip已配置
Console Password认证登录设置
<Huawei>system
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode password
[Huawei-ui-console0]set authentication password cipher 123
"set authentication password cipher 123" 该命令为设置加密密钥
"set authentication password simple123" 该命令为设置明文密钥
加密密钥与明文密钥的区别
明文密钥设置后,用户可通过用户试图查看交换机配置中查看到设置的密钥文本
加密密钥设置后,用户也可通过交换机配置查看到密码文本,但此时的密钥文本经过特殊加密且不可逆
Console AAA认证登录设置
<Huawei>system
Enter system view, return user view with Ctrl+Z.
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode aaa
[Huawei-ui-console0]quit
[Huawei]aaa
// local-user 用户名 password cipher 密码
[Huawei-aaa]local-user admin password cipher 123