console登录只用密码不用用户名的配置

sys
user-interface aux 0
authentication-mode password
set authentication password cipher huawei
quit
save
y
roboot

重登录时使用huawei


设置登录时的级别

sys
user-interface aux 0
user privilege level 0 #设置默认用户登录级别为0
quit


super password level 1 simple huawei1 #设置1级用户登录密码
super password level 2 simple huawei2 #设置2级用户登录密码
super password level 3 simple huawei3 #设置3级用户登录密码
quit
save
y
reboot

重登录好使用密码huawei登录,进入最低级0,然后
super 2
huawei2
进入第二级,其它级别一样。


不用用户名的telnet设置
user-interface vty 0 4
authentication-mode {password | scheme}
//如果是password方式,那还使用set authentication password 命令来配置口令后才能成功。
scheme为进行本地或远端用户名和口令认证。


#仅使用密码即可登录,登录后进入级别0的配置
user-interface vty 0 4
authentication-mode password
set authentication password cipher huawei123
user privilege level 0
//登录后进入级别0
ide 10 0
quit
super password level 3 cipher huawei1234


使用用户名和密码的telnet配置

user-interface vty 0 4
undo set authentication pasword
undo set privilege level
authentication-mode scheme
idle 10 0
quit

local-user huawei
service-type telnet //(level 3)如果不配置,默认telnet登录后级别为0
password cipher huawei123
quit

(super password level 3 cipher huawei1234)

quit