华为交换机telnet登录

 1.无用户名密码

user-interface vty 0 4         #进入虚拟用户视图
 authentication-mode none      #配置授权无须认证
 user privilege level 3        #配置登录等级为特权模式
 
2.要密码防问的配置
user-interface vty 0 4
 user privilege level 3
 authentication-mode password  #配置授权模式为密码认证
 set authentication password simple aaa  #配置密码
 
3.进行本地用户和密码的配置
user-interface vty 0 4
 authentication-mode aaa
aaa
 local-user admin password simple admin
 local-user admin privilege level 3
 local-user admin service-type telnet
 
 

你可能感兴趣的:(华为,交换机,telnet登录)