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

Author: Xu FC

管理IP配置


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
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.

你可能感兴趣的:(华为交换机管理IP和Telnet配置)