What's new

Share:Huawei switch configuration command interpretation

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

garyzhang001

Occasional Visitor
Huawei switch configuration command interpretation

<Quidway> user view, only to see the configuration
<Quidway>reset save (clear configuration file)
<Quidway>reboot (reboot Huawei switch)
<Quidway>system view (enter configuration mode)
<Quidway>sys (omitted game) [] configuration mode modify switches:
[Quidway]sysname SW1 [sw1] [Quidway]vlan 2
[Quidway-vlan2]port ether 0/10 configuration of the VLAN: to e 0/12
[Quidway-vlan2]quit is equivalent to [Quidway]int e0/13

[Quidway-Ethernet0/13]port access VLAN 2
[Quidway-Ethernet0/13]quit

Configure the trunk port:
[Quidway]int e0/1 [Quidway-Ethernet0/1]port link-type trunk [Quidway-Ethernet0/1]int e0/2
[Quidway-Ethernet0/2]port link-type trunk
[Quidway-Ethernet0/2]quit on both sides of the port should be equipped with trunk, the trunk does not play tag! The default trunk only allows VLAN 1 by

[Quidway]int e0/1
[Quidway-Ethernet0/1]port trunk permit VLAN all
[Quidway-Ethernet0/1]int e0/2
[Quidway-Ethernet0/2]port trunk permit VLAN all two port must be configured allow trunk all VLAN, if it isspecified by the VLAN, the VLAN all into a VLAN number to the corresponding. Cancel any command, add a undo command can be in front of!

How to prevent the switch loop: Huawei switch spanning tree is turned off by default
Switch to form a loop, the port will not stop blinking!

Method: enable switch spanning tree
[Quidway]stp enable (a)
[Quidway]stp disable (off) to configure the two switches:

Method two: to solve the problem of link by link aggregation mode polymerization can improve the bandwidth and load balancing configuration link aggregation, both ends of the port modeneed to configure the same (half duplex, and Engineering), rate also to specify, not selfnegotiation state!

[Quidway]link-aggregation e0/1 to e0/2 both
[Quidway]int e0/1
[Quidway-Ethernet0/1]duplex full
[Quidway-Ethernet0/1]speed 100
[Quidway-Ethernet0/1]int e0/2
[Quidway-Ethernet0/2]duplexfull
[Quidway-Ethernet0/2]speed 100
To view the log log [Quidway]dis switch
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top