发布时间:2019-08-22 08:02:36编辑:auto阅读(2263)
在虚拟网卡上添加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
上一篇: H3C端口安全技术
下一篇: python 对象练习
52054
51920
42147
38994
33493
30444
29080
24110
24018
22369
117°
150°
163°
148°
174°
161°
182°
187°
186°
199°