交换机 telnet 配置


华为交换机配置 telnet 和 console

方法一:配置只通过密码方式验证


telnet server enable

#console 不启用认证
user-interface con 0
 authentication-mode none

user-interface vty 0 4
 protocol inbound all
 set authentication password cipher your_password
 authentication-mode password

方法二:配置用户名+密码认证

stelnet server enable
telnet server enable

aaa
local-user admin password irreversible-cipher your_admin_pass
local-user admin service-type ssh telnet terminal http
local-user admin privilege level 15
quit

user-interface vty 0 4
 authentication-mode aaa
 protocol inbound all
 idle-timeout 35791
 

user-interface console 0
authentication-mode aaa
quit