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

149
Ste
p
Command
Remarks
4. Return to system view.
quit N/A
5. Create a behavior and enter
behavior view.
traffic behavior behavior-name N/A
6. Configure the behavior to set
the 802.1p priority in the outer
VLAN 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 class with the
behavior in the QoS policy.
classifier classifier-name behavior
behavior-name
N/A
10. Return to system view.
quit N/A
11. Enter the view of interfaces
connecting to users.
Enter Layer 2 Ethernet interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual port-group-name
Use one of the
commands.
12. Enable basic QinQ on the
interface.
qinq enable N/A
13. Apply the QoS policy to the
incoming packets of the
interface.
qos apply policy policy-name inbound N/A
Configuring inner VLAN ID substitution
When basic QinQ adds an outer VLAN tag to packets, it does not modify the inner VLAN tags. However,
selective QinQ can be configured to replace the inner VLAN tags when adding outer VLAN tags to
packets.
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 the class to match the
CVLAN tags of packets.
if-match customer-vlan-id vlan-id-list N/A
4. Return to system view.
quit N/A
5. Create a behavior and enter
behavior view.
traffic behavior behavior-name N/A
6. Configure the behavior to
modify the CVLAN tags of
packets.
remark customer-vlan-id vlan-id N/A
7. Return to system view.
quit N/A