aaa
local-user admin password cipher admin
local-user admin privilege level 15
local-user admin service-type ssh terminal
提供ssh和console登陆的权限
user-interface con 0 //进入console也要aaa账号和密码
authentication-mode aaa
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
stelnet server enable