一、华为


image.png
通过Password方式登录:

  1. 首先在设备上开启Telnet服务(默认开启)

image.png

  1. 开启VTY线路,并设置Password认证方式

    1. [Huawei]user-interface vty 0 4
    2. [Huawei-ui-vty0-4]authentication-mode password
    3. Please configure the login password (maximum length 16):abc@123
    4. [Huawei-ui-vty0-4]user privilege level 15

    image.png

  2. 登录测试

image.png
通过AAA方式登录:

  1. 开启Telnet服务

image.png

  1. 在AAA中创建用户

    1. [Huawei]aaa
    2. [Huawei-aaa]local-user admin password cipher abc@123
    3. [Huawei-aaa]local-user admin privilege level 15
    4. [Huawei-aaa]local-user admin service-type telnet
  2. 开启VTY线路,并设置认证方式为AAA

    1. [Huawei]user-interface vty 0 4
    2. [Huawei-ui-vty0-4]authentication-mode aaa
  3. 登录测试

image.png

二、华三