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

Scroll to top