202
qinq enable
Description
Use the qinq enable command to enable basic QinQ on the Ethernet ports.
Use the undo qinq enable command to disable basic QinQ on the Ethernet ports.
By default, basic QinQ is disabled on Ethernet ports.
A basic QinQ-enabled port tags received frames with its PVID tag.
Configured in Layer 2 Ethernet interface view, the command takes effect on the port only.
Configured in Layer 2 aggregate interface view, the command takes effect on the Layer 2 aggregate
interface and all the member ports in the aggregation group.
Configured in port group view, the command takes effect on all ports in the port group.
Syntax
qinq enable
undo qinq enable
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameters
None
Examples
# Enable basic QinQ on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qinq enable
# Enable basic QinQ on all ports in port group 1.
<Sysname> system-view
[Sysname] port-group manual 1
[Sysname-port-group-manual-1] group-member gigabitethernet 1/0/1 to gigabitethernet 1/0/6
[Sysname-port-group-manual-1] qinq enable
qinq ethernet-type customer-tag
Description
Use the qinq ethernet-type customer-tag command to configure the TPID value in CVLAN tags.
Use the undo qinq ethernet-type customer-tag command to restore the TPID value in CVLAN tags to the
system default.
By default, the TPID value in CVLAN tags is 0x8100.