How do I configure an Eth-Trunk on an S series switch and allow packets of certain VLANs to pass through

16

For S series switches (except the S1700), to allow an Eth-Trunk to transparently transmit packets from multiple VLANs, you can configure the link type of the interface as Trunk or Hybrid.
The following example configures an Eth-Trunk in LACP mode and sets the link type of the interface to Trunk so that the interface can transparently transmit packets from multiple VLANs:
1. Create Eth-Trunk 1 on the switch and configure Eth-Trunk 1 to work in LACP mode.
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] mode lacp
2. Configure Eth-Trunk 1 to allow packets from VLANs 10 to 100 to pass through.
[HUAWEI-Eth-Trunk1] port link-type trunk
[HUAWEI-Eth-Trunk1] port trunk allow-pass vlan 10 to 100

Other related questions:
Traffic is not passing through ETH trunk in LAG configuration?
STP is enabled by default, check the ports status to see if they are blocked.

How to configure an Eth-Trunk to transparently transmit packets from a VLAN on CE switches
Run the port link-type { access | hybrid | trunk } command in the Eth-Trunk interface view to configure the link type of the interface and add the interface to a VLAN. The Eth-Trunk can then transparently transmit packets from the VLAN. # Configure Eth-Trunk 2 as a trunk interface and configure it to transparently transmit packets from VLAN 2. system-view [~HUAWEI] vlan batch 2 //Create VLAN 2. [*HUAWEI] interface eth-trunk 2 //Create an Eth-Trunk. [*HUAWEI-Eth-Trunk2] trunkport 10ge 1/0/1 [*HUAWEI-Eth-Trunk2] port link-type trunk [*HUAWEI-Eth-Trunk2] port trunk allow-pass vlan 2 //Add Eth-Trunk 2 to VLAN 2. [*HUAWEI-Eth-Trunk2] commit

How do I configure link aggregation in LACP mode on S series switches
Configure link aggregation in LACP mode on S series switches (except the S1700) as follows: # Create Eth-Trunk 1 on a switch and configure Eth-Trunk 1 to work in LACP mode. [HUAWEI] interface eth-trunk 1 [HUAWEI-Eth-Trunk1] mode lacp [HUAWEI-Eth-Trunk1] quit

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top