Configuring An Inner-Outer Vlan 802.1P Priority Mapping - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

Step
2.
Create a class and enter class
view.
3.
Specify the inner VLAN IDs of
matching frames.
4.
Return to system view.
5.
Create a traffic behavior and
enter traffic behavior view.
6.
Specify an outer VLAN ID.
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 Ethernet interface view
or port group view of the
customer network-side port.
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.
On the S3600V2 Switch Series, if you have not used either of the two methods previously mentioned to
mark the 802.1p priority of the outer VLAN tag, a basic QinQ-enabled or selective QinQ-enabled port
which is configured to trust packet priority copies the 802.1p priority in the inner VLAN tag to the outer
VLAN tag when tagging a packet. A basic QinQ-enabled or selective QinQ-enabled port which is
configured to trust port priority uses the priority of the receiving port (0 by default) as the 802.1p priority
in the outer VLAN tag. For more information about priority trust mode, see ACL and QoS Configuration
Guide.
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:
Command
traffic classifier classifier-name [ operator
{ and | or } ]
if-match customer-vlan-id vlan-id-list
quit
traffic behavior behavior-name
nest top-most vlan-id vlan-id
quit
qos policy policy-name
classifier classifier-name behavior
behavior-name
quit
Enter Ethernet interface view:
interface interface-type interface-number
Enter port group view:
port-group manual port-group-name
qinq enable
qos apply policy policy-name inbound
187
Remarks
By default, the operator
of a class is AND.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Use either command.
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents