R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

150
qinq enable
Use qinq enable to enable basic QinQ.
Use undo qinq enable to disable basic QinQ.
Syntax
qinq enable
undo qinq enable
Default
Basic QinQ is disabled on Ethernet ports.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default command level
2: System level
Usage guidelines
A basic QinQ-enabled port tags received frames with its PVID tag.
You can use this command in the following views:
In Layer 2 Ethernet interface view, the command takes effect on the port only.
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.
In port group view, the command takes effect on all ports in the port group.
Examples
# Enable basic QinQ on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/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 4/0/1 to GigabitEthernet
4/0/6
[Sysname-port-group-manual-1] qinq enable
qinq ethernet-type customer-tag
Use qinq ethernet-type customer-tag to configure a TPID value for CVLAN tags.
Use undo qinq ethernet-type customer-tag to restore the default.
Syntax
qinq ethernet-type customer-tag hex-value
undo qinq ethernet-type customer-tag