R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide

149
Ste
p
Command
Remarks
3. Configure a match criterion.
Match a specified inner VLAN ID:
if-match customer-vlan-id vlan-id-list
Match a specified inner VLAN tag
priority:
if-match customer-dot1p 8021p-list
Use one of the
commands.
4. Return to system view.
quit N/A
5. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name N/A
6. Configure a behavior to set the
802.1p priority in the SVLAN
tags.
remark dot1p 8021p N/A
7. Return to system view.
quit N/A
8. Create a QoS policy and
enter QoS policy view.
qos policy policy-name N/A
9. Associate the traffic class with
the traffic behavior defined
earlier.
classifier classifier-name behavior
behavior-name
N/A
10. Return to system view.
quit N/A
11. Enter Ethernet interface view
or port group view of the
customer network-side port.
Enter Layer 2 Ethernet interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual port-group-name
N/A.
12. Enable basic QinQ.
qinq enable N/A
13. Apply the QoS policy to the
incoming traffic.
qos apply policy policy-name inbound N/A
Configuring inner VLAN ID substitution
You cannot modify the inner VLAN ID on the customer-side port. To modify an inner VLAN ID, you must
apply a QoS policy to the outbound direction of the service provider-side port.
To configure inner VLAN ID substitution:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a class and enter class
view.
traffic classifier classifier-name
[ operator { and | or } ]
By default, the operator of a
class is AND.
3. Configure a match criterion to
match the specified inner VLAN
IDs.
if-match customer-vlan-id vlan-id-list N/A
4. Return to system view.
quit N/A
5. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name N/A