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

148
Ste
p
Command
Remarks
6. Configure the behavior to
add an outer VLAN tag to
packets.
nest top-most vlan-id vlan-id N/A
7. Configure the behavior to
count QinQ packets.
accounting
Optional.
This action counts the number of
double-tagged QinQ packets, and
helps you understand the traffic
volume changes of the specific
packets and adjust the network
transmission policy accordingly.
8. Return to system view.
quit
-
9. Create a QoS policy and
enter QoS policy view.
qos policy policy-name N/A
10. Associate the class with the
behavior in the QoS policy.
classifier classifier-name behavior
behavior-name
N/A
11. Return to system view.
quit N/A
12. 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.
13. Enable basic QinQ on the
interface.
qinq enable N/A
14. Apply the QoS policy to the
incoming packets of the
interface.
qos apply policy policy-name
inbound
N/A
Configuring an inner-outer VLAN 802.1p priority mapping
The 6600 and HSR6600 series routers can set the 802.1p priority in the outer VLAN tag according to the
inner 802.1p priority or the inner VLAN tag.
To configure an inner-outer VLAN 802.1p priority mapping:
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 match criteria.
Configure the class to math inner VLAN
tags:
if-match customer-vlan-id vlan-id-list
Configure the class to math inner 802.1p
priority values:
if-match customer-dot1p 8021p-list
Use one of the
commands.