wKiom1njKLPguF-rAAA3wVeyb58997.png-wh_50

在虚拟网卡上添加HOST_1相关IP和网关


[myrouter]interface GigabitEthernet 0/0

[myrouter-GigabitEthernet0/0]undo shutdown

[myrouter-GigabitEthernet0/0]ip add 192.168.1.1 24

[myrouter]interface LoopBack 0

[myrouter-LoopBack0]ip add 10.10.10.10 24

[myrouter]local-user test

[myrouter-luser-manage-test]password simple 123

[myrouter-luser-manage-test]service-type telnet

[myrouter]telnet server enable

[myrouter]user-interface vty 0 4

[myrouter-line-vty0-4]authentication-mode ?

  none      Login without authentication

  password  Password authentication

  scheme    Authentication use AAA


[myrouter-line-vty0-4]authentication-mode scheme


验证:

在PC的cmd上

telnet 192.168.1.1