华为交换机控制台密码登录

 1.无用户名密码

user-interface console 0         #进入虚拟用户视图
 authentication-mode none      #配置授权无须认证
 user privilege level 3        #配置登录等级为特权模式
 
2.要密码防问的配置
user-interface console 0
 user privilege level 3
 authentication-mode password  #配置授权模式为密码认证
 set authentication password simple aaa  #配置密码
 
3.进行本地用户和密码的配置
user-interface console 0
 authentication-mode aaa
aaa
 local-user admin password simple admin
 local-user admin privilege level 3
 local-user admin service-type terminal 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章