telnet(密码登陆):
[Huawei]telnet server enable//默认是开启的可不手动开启
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode password
Please configure the login password (maximum length 16):123456
[Huawei-ui-vty0-4]set authentication password cipher huawei //更改密码
[Huawei-ui-vty0-4]user privilege level 3 //设置权限等级3
aaa认证登陆:
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode aaa
[Huawei-ui-vty0-4]q
[Huawei]aaa
[Huawei-aaa]local-user user1 password cipher 123456
[Huawei-aaa]local-user user1 service-type telnet
[Huawei-aaa]local-user user1 privilege level 3
ssh: