205
Configured in port group view, the command takes effect on all ports in the port group.
Syntax
qinq transparent-vlan vlan-list
undo qinq transparent-vlan { all | vlan-list }
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameter
vlan-list: Specifies a list of existing VLANs in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>,
where vlan-id represents the VLAN ID ranging from 1 to 4094 and &<1-10> indicates that you can
specify up to 10 VLAN IDs or VLAN ID ranges.
all: Indicates all VLANs.
Example
# Enable basic QinQ on GigabitEthernet 1/0/1, and configure GigabitEthernet 1/0/1 to transparently
transmit frames from VLAN 2, VLAN 3, and VLAN 50 through VLAN 100.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk
[Sysname-GigabitEthernet1/0/1] port trunk permit vlan 2 3 50 to 100
[Sysname-GigabitEthernet1/0/1] qinq enable
[Sysname-GigabitEthernet1/0/1] qinq transparent-vlan 2 3 50 to 100