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

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

Scroll to top