R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

148
Use undo qinq enable to disable basic QinQ on the Ethernet ports.
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.
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.
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
Use qinq ethernet-type in system view to set the global TPID value in CVLAN tags, or in Layer 2 Ethernet
interface view, Layer 2 aggregate interface view, or port group view to set the TPID value used by
Ethernet ports in SVLAN tags.
Use undo qinq ethernet-type in system view to restore the default TPID value in CVLAN tags, or in Layer
2 Ethernet interface view, Layer 2 aggregate interface view, or port group view to restore the TPID value
in SVLAN tags to the global setting (if the device supports global TPID configuration) or the default (if the
device does not support global TPID configuration).
Syntax
qinq ethernet-type [ customer-tag | service-tag ] hex-value
undo qinq ethernet-type [ customer-tag | service-tag ]