R2]telnet server enable
[R2]line vty 0
[R2]local-user h3c
[R2-luser-manage-h3c]password simple ccbbaa
[R2-luser-manage-h3c]authorization-attribute user-role level-15
[R2-luser-manage-h3c]service-type telnet
[R2-line-vty0]authentication-mode scheme
R2-line-vty0]set authentication password simple aabbcc//这一条是不需要的,设置验证方式为scheme,登陆时是以本地用户名密码优先
注:如果要设置super命令,用户一定要分配一个等级且不能低于level-3