H3C 命令之telnet

wKiom1njKLPguF-rAAA3wVeyb58997.png-wh_50

在虛擬網卡上添加HOST_1相關IP和網關ide


[myrouter]interface GigabitEthernet 0/0oop

[myrouter-GigabitEthernet0/0]undo shutdownrouter

[myrouter-GigabitEthernet0/0]ip add 192.168.1.1 24
server

[myrouter]interface LoopBack 0ip

[myrouter-LoopBack0]ip add 10.10.10.10 24get

[myrouter]local-user testcmd

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

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

[myrouter]telnet server enableclass

[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

相關文章
相關標籤/搜索