197 
QinQ configuration commands 
 
  NOTE: 
•  Customer network VLANs (CVLANs) or inner VLANs refer to the VLANs that a customer uses on the 
private network.  
•  Service provider network VLANs (SVLANs) or outer VLANs
refer to the VLANs that a service provider
uses to carry VLAN tagged traffic for customers. 
•  For the class, traffic behavior, and QoS policy related commands, see the 
ACL and QoS Command 
Reference
. 
 
QinQ configuration commands 
qinq enable 
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 
Description 
Use the qinq enable command to enable basic QinQ on the current Ethernet port(s).  
Use the undo qinq enable command to disable basic QinQ on the current Ethernet port(s).  
By default, basic QinQ is disabled on Ethernet ports.  
A basic QinQ-enabled port tags received frames with the port’s default VLAN tag.  
Configured in Ethernet interface view, this command takes effect on the current port only.  
Configured in port group view, this command takes effect on all ports in the port group.  
Configured in Layer 2 aggregate interface view, this command takes effect on the Layer 2 aggregate 
interface and the member ports in its aggregation group. You can configure this command on a Layer 2 
aggregate interface and its member ports separately. Configured on an aggregation member port, this 
command takes effect immediately. For more information about link aggregation, see the Layer 2—LAN 
Switching Configuration Guide. 
Examples 
# Enable basic QinQ on GigabitEthernet 1/0/1.