Task
Configuring selective
QinQ
Configuring the TPID value in VLAN tags
QinQ requires configurations only on the service provider network.
QinQ configurations made in Ethernet interface view take effect on the current interface only. Those made
in Layer 2 aggregate interface view take effect on the current aggregate interface and all member ports
in the aggregation group. Those made in port group view take effect on all member ports in the current
port group.
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.
Configuring basic QinQ
Enabling basic QinQ
To enable basic QinQ:
To do...
1.
Enter system view
2.
Enter
interface
view or port
group view
3.
Enable 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
default VLAN tag. However, by configuring the VLAN transparent transmission function on a port, you
can specify the port not to add its default VLAN 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.
To configure VLAN transparent transmission:
To do...
1.
Enter system view
Configuring an outer VLAN tagging policy
Configuring an inner-outer VLAN 802.1p priority
mapping
Configuring inner VLAN ID substitution
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view
Enter port group view
Use the command...
system-view
Use the command...
system-view
interface interface-type
interface-number
port-group manual port-group-
name
qinq enable
165
Remarks
Optional
Optional
Optional
Optional
Remarks
—
Required.
Use either command.
Required.
Disabled by default.
Remarks
—