Step
7.
Return to system view.
8.
Create a QoS policy and
enter QoS policy view.
9.
Associate the traffic class with
the traffic behavior defined
earlier.
10.
Return to system view.
11.
Enter Layer 2 Ethernet
interface view.
12.
Enable basic QinQ.
13.
Apply the QoS policy to the
incoming traffic.
NOTE:
Selective QinQ has higher priority than basic QinQ. A received frame is tagged with an outer VLAN ID
based on basic QinQ only after it fails to match the match criteria defined in the traffic class.
Configuring an inner-outer VLAN 802.1p priority mapping
Through QoS policies, the Switch Series achieves the following inner-outer VLAN 802.1p priority
mapping modes:
Marking the 802.1p priorities in outer VLAN tags according to the inner VLAN IDs or the 802.1p
•
priorities in the inner VLAN tags.
Copying the 802.1p priority in the inner VLAN tags to the outer VLAN tags.
•
To mark the 802.1p priorities in outer VLAN tags according to the inner VLAN IDs or the 802.1p priorities
in the inner VLAN tags:
Step
1.
Enter system view.
2.
Create a class and enter class
view.
3.
Configure a match criterion.
4.
Return to system view.
5.
Create a traffic behavior and
enter traffic behavior view.
Command
quit
qos policy policy-name
classifier classifier-name behavior
behavior-name
quit
interface interface-type interface-number
qinq enable
qos apply policy policy-name inbound
Command
system-view
traffic classifier classifier-name [ operator
{ and | or } ]
•
Match the specified inner VLAN IDs:
if-match customer-vlan-id vlan-id-list
•
Match the specified inner VLAN tag
priorities:
if-match customer-dot1p 8021p-list
quit
traffic behavior behavior-name
160
Remarks
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Remarks
N/A
By default, the operator of a
class is AND.
Use either command.
N/A
N/A