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

148
Ste
p
Command
Remarks
3. Specify CVLAN IDs of
matching frames.
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
6. Specify an SVLAN ID.
nest top-most vlan-id vlan-id
You can create multiple
class-behavior associations in a
QoS policy. However, you must
make sure one CVLAN ID is
mapped to only one SVLAN ID.
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 N/A
9. Create a QoS policy and
enter QoS policy view.
qos policy policy-name N/A
10. Associate the class with the
traffic behavior.
classifier classifier-name behavior
behavior-name
N/A
11. Return to system view.
quit N/A
12. Enter Ethernet interface view
or port group view of the
customer-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
13. Enable basic QinQ.
qinq enable N/A
14. Apply the QoS policy to the
incoming traffic.
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 SVLAN tag according to the
inner 802.1p priority or the CVLAN 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.