To do...
Apply the QoS policy to the outgoing
traffic
Configuring the TPID value in VLAN tags
Follow these steps to configure the TPID value of a VLAN tag:
To do...
Enter system view
Configure the TPID in the
customer network VLAN tags
Enter interface view or port
group view of the service
provider network-side port
Configure the TPID in the
service provider network
VLAN tags
NOTE:
You cannot configure the SVLAN TPID and QinQ on a port at the same time.
QinQ configuration examples
Basic QinQ configuration example
Network requirements
As shown in
•
The two branches of Company A, Site 1 and Site 2, are connected through the service provider
network and use CVLANs 10 through 70. The two branches of Company B, Site 3 and Site 4, are
connected through the service provider network and use CVLANs 30 through 90.
PE 1 and PE 2 are edge devices on the service provider network and are connected through
•
third-party devices with a TPID value of 0x8200.
Configure the edge and third-party devices to enable communication between the branches of
•
Company A through SVLAN 100, and communication between the branches of Company B
through SVLAN 200.
Use the command...
system-view
qinq ethernet-type customer-tag hex-value
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 ethernet-type service-tag hex-value
Figure
60:
Use the command...
qos apply policy policy-name outbound
183
Remarks
Required
Remarks
—
Optional
0x8100 by default.
Required
Use either command.
Optional
0x8100 by default.