Parameters
vlan-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or a
range of VLAN IDs in the start-vlan-id to end-vlan-id form. The value range for VLAN IDs are 1 to 4094.
Make sure the VLANs have been created.
all: Specifies all VLANs that have been created.
Examples
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, and assign the port to VLAN 2, VLAN 3, and
VLANs 50 through 100. Enable QinQ on Ten-GigabitEthernet 1/0/1, and configure the port to
transparently transmit frames from VLAN 2.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port link-type trunk
[Sysname-Ten-GigabitEthernet1/0/1] port trunk permit vlan 2 3 50 to 100
[Sysname-Ten-GigabitEthernet1/0/1] qinq enable
[Sysname-Ten-GigabitEthernet1/0/1] qinq transparent-vlan 2
162