提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
华为交换机和路由器AAA和ssh、telnet远程登录~
提华为交换机和路由器AAA和ssh、telnet远程登录~
一、ssh登录
rsa local-key-pair create
aaa
local-user admin password cipher admin@123
local-user admin privilege level 3
local-user root service-type ssh
stelnet server enable
ssh user root authentication-type password
ssh user root service-type stelnet
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
q
二、telnet登录
telnet server enable
user-interface vty 0 4
protocol inbound telnet
user-interface vty 0 4
authentication-mode aaa
user privilege level 3
aaa
local-user root password cipher admin@123
local-user root service telnet terminal
补充
取消交换机登录密码错误次数超限锁定设置:
aaa
local-aaa-user password policy administrator
password history record number 0
|