To do...
Return to system view
Create a QoS policy and enter
QoS policy view
Associate the traffic class with the
traffic behavior defined earlier
Return to system view
Apply the QoS policy to the
incoming traffic globally
Enter Ethernet
port view of
the customer
network-side
port
Enable selective QinQ
CAUTION:
For more information about QoS policies, see the
Configuring the TPID value in VLAN tags
Follow these steps to configure the TPID value:
To do...
Enter system view
Configure the TPID value
QinQ configuration examples
Basic QinQ configuration example
Network requirements
As shown in
Provider A and Provider B are edge switches on the service provider network and are connected
•
through trunk ports. They belong to SVLAN 10 and 50.
•
Customer A1, Customer A2, Customer B1 and Customer B2 are edge switches on the customer
network.
Third-party switches with a TPID value of 0x8200 are deployed between Provider A and Provider B.
•
Enter Layer 2
Ethernet
interface view
Enter port group
view
Use the command...
system-view
qinq ethernet-type hex-value
Figure
46,
Use the command...
quit
qos policy policy-name
classifier classifier-name behavior
behavior-name
quit
qos apply policy policy-name
global inbound
interface interface-type
interface-number
port-group manual
port-group-name
qinq enable downlink
ACL and QoS Configuration Guide
142
Remarks
—
Required
Required
—
Required
Required
Use either command.
•
Settings made in Layer 2
Ethernet interface view take
effect only on the current port.
•
Settings made in port group
view take effect on all ports in
the port group.
Required
.
Remarks
—
Optional
By default, the TPID value is 0x8100.
The configuration applies to all ports.