Do not configure QinQ on a reflector port. For more information about reflector ports, see Network
•
Management and Monitoring Configuration Guide.
On a port with basic QinQ enabled, you must configure the port to allow packets from its PVID to
•
pass through. On a port with selective QinQ enabled, you must configure the port to allow packets
from the outer VLANs of QinQ packets to pass through.
Complete the follows tasks to configure QinQ:
Task
Configuring basic QinQ
Configuring selective
QinQ
Configuring the TPID value in VLAN tags
Configuring basic QinQ
Enabling basic QinQ
A basic QinQ-enabled port tags an incoming packet with its PVID tag.
To enable basic QinQ:
Step
1.
Enter system
view.
2.
Enter interface
view or port
group view.
3.
Enable basic
QinQ.
Configuring VLAN transparent transmission
When basic QinQ is enabled on a port, all packets passing through the port are tagged with the port's
PVID tag. However, by configuring the VLAN transparent transmission function on a port, you can specify
the port not to add its PVID tag to packets carrying specific inner VLAN tags when they pass through it,
so that these packets are transmitted in the service provider network with single tags.
Configuration restrictions and guidelines
•
When you are configuring transparent transmission for a VLAN, you must configure all the devices
on the transmission path to permit packets of this VLAN to pass through.
Enabling basic QinQ
Configuring VLAN transparent transmission
Configuring an outer VLAN tagging policy
Configuring an inner-outer VLAN 802.1p priority mapping
Configuring inner VLAN ID substitution
Command
system-view
•
Enter Layer 2 Ethernet interface view or Layer 2
aggregate interface view:
interface interface-type interface-number
•
Enter port group view:
port-group manual port-group-name
qinq enable
185
Remarks
Required
Optional
Required
Perform at least
one task.
Optional
Remarks
N/A
Use either command.
Disabled by default.