美文网首页
华为交换机管理IP和Telnet配置

华为交换机管理IP和Telnet配置

作者: 捞小虾 | 来源:发表于2018-07-04 17:43 被阅读28次

Author: Xu FC

管理IP配置


<Quidway>system-view 
Enter system view, return to user view with Ctrl+Z.
[Quidway]vlan 1
[Quidway-vlan1]quit

[Quidway]interface Vlan-interface 1
[Quidway-Vlan-interface1]ip address 192.168.2.2 255.255.255.0
[Quidway-Vlan-interface1]quit

[Quidway]ip route-static 0.0.0.0 0 192.168.2.1 

[Quidway]interface Ethernet 0/25
[Quidway-Ethernet0/25]port link-type trunk
[Quidway-Ethernet0/25]port trunk permit vlan 1
[Quidway-Ethernet0/25]quit

Telnet配置


[Quidway]user-interface vty 0 4
[Quidway-ui-vty0-4]authentication-mode password
[Quidway-ui-vty0-4]set authentication password simple test
[Quidway-ui-vty0-4]user privilege level 3
[Quidway-ui-vty0-4]quit 

[Quidway]local-user test 
[Quidway-luser-test]service-type telnet level 3
[Quidway-luser-test]password simple test
[Quidway-luser-test]quit
[Quidway]

保存配置

[Quidway]quit
<Quidway>save
This will save the configuration in the flash memory.
The switch configurations will be written to flash.
Are you sure?[Y/N]Y
Now saving current configuration to flash memory.
Please wait for a while...

Current configuration saved to flash memory successfully.
<Quidway>

相关文章

网友评论

      本文标题:华为交换机管理IP和Telnet配置

      本文链接:https://www.haomeiwen.com/subject/esqyuftx.html