****************************
t console密码 *
****************************
ur-interface console 0
authentication-mode password
t authentication password cipher ***
***********************************
删除默认用户 *
***********************************
ur-interface vty 0 4
undo t authentication password
undo ur privilege level
******************
创建SSH用户 *
******************
rsa local-key-pair create
ur-interface vty 0 4
ur privilege level 3
authentication-mode aaa
protocol inbound ssh
ssh ur admin
ssh ur admin authentication-type password
stelnet rver enable
ssh ur admin rvice-type stelnet
aaa
local-ur admin password cipher ***
local-ur admin rvice-type ssh
***************************
添加SSH用户 *
***************************
ssh ur *** authentication-type password
ssh ur *** rvice-type stelnet
aaa
local-ur *** password cipher ***
local-ur *** rvice-type ssh
local-ur guest level 1(创建guest用户时需要此命令)
***************************
删除SSH用户 *
***************************
aaa
undo local-ur ***
****************************
SSH ACL设置 *
****************************
acl number 2001
rule 10 permit source IP地址或网络地址
rule 20 deny
ur-interface vty 0 4
acl 2001 inbound
acl number 2001
undo rule 10
rule 10 permit source 10.3.0.0 0.0.0.255