一、华为
通过Password方式登录:
- 首先在设备上开启Telnet服务(默认开启)
开启VTY线路,并设置Password认证方式
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode password
Please configure the login password (maximum length 16):abc@123
[Huawei-ui-vty0-4]user privilege level 15
登录测试
通过AAA方式登录:
- 开启Telnet服务
在AAA中创建用户
[Huawei]aaa
[Huawei-aaa]local-user admin password cipher abc@123
[Huawei-aaa]local-user admin privilege level 15
[Huawei-aaa]local-user admin service-type telnet
开启VTY线路,并设置认证方式为AAA
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode aaa
登录测试