1、拓扑图

wKioL1cvR_HCE5q6AAAynam2MP4140.png

2、路由IP基本配置

<Huawei>system-view 

Enter system view, return user view with Ctrl+Z.

[Huawei]interface GigabitEthernet 0/0/1

[Huawei-GigabitEthernet0/0/1]ip address 192.168.1.10 24


3、网络测通

[Huawei]ping 192.168.1.105

  PING 192.168.1.105: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.105: bytes=56 Sequence=1 ttl=128 time=10 ms

    Reply from 192.168.1.105: bytes=56 Sequence=2 ttl=128 time=10 ms

    Reply from 192.168.1.105: bytes=56 Sequence=3 ttl=128 time=10 ms

    Reply from 192.168.1.105: bytes=56 Sequence=4 ttl=128 time=10 ms

    Reply from 192.168.1.105: bytes=56 Sequence=5 ttl=128 time=10 ms


  --- 192.168.1.105 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 10/10/10 ms


4、进入用户视图配置验证方式

[Huawei]user-interface vty 0 4

[Huawei-ui-vty0-4]authentication-mode aaa

[Huawei-ui-vty0-4]user privilege level 3


5、进入aaa视图设置用户名及密码

[Huawei]aaa

[Huawei-aaa]local-user root password cipher 123456

[Huawei-aaa]local-user root privilege level 3


6、验证telnet是否登录成功

wKioL1cvStXDiRvCAABRQoLYEtk753.png