ssh server enable
telnet server enable
public-key local create rsa
public-key local create dsa
user-interface vty 0 4
authentication-mode scheme
protocol inbound ssh
qu
local-user tony class manage
password simple root#12345
service-type terminal ssh telnet http https
authorization-attribute user-role level-15
authorization-attribute user-role network-admin
qu
=====
[Sw1-line-vty0-4]protocol inbound ?
all All protocols
ssh SSH protocol
telnet Telnet protocol
[Sw1-line-vty0-4]authentication-mode ?
none Login without authentication
password Password authentication(密码)
scheme Authentication use AAA(用户名密码)