华为交换机建管理员
华为交换机建管理员:
admin/Huawei
视图模式:
aaa
local-user admin password cipher goodluck privilege level 15
local-user admin service-type telnet ssh http
quit
进入vty用户界面,将认证模式改成 aaa
user-interface vty 0 4
authentication-mode aaa
idle-timeout 0 0
protocol inbound all
注:
idle-timeout 0 0 永不超时
protocol inbound telnet为默认配置;如配置为protocol inbound ssh时,telnet将无法登录;
如果配置为protocol inbound all,则都可以登录。