H3C Technologies H3C S12500 Series Switches User Manual

Page 156

Advertising
background image

143

Step Command

Remarks

11.

Enter interface view or port
group view.

Enter Ethernet interface view:
interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Use either command.

12.

Apply the QoS policy to the

incoming traffic on the port.

qos apply policy policy-name
inbound

N/A

Configuring an inner-outer VLAN 802.1p priority mapping
policy

To map different inner VLAN 802.1p priorities to different outer VLAN 802.1p priorities, you can perform
the following configuration. For more information about QoS policies, see ACL and QoS Configuration

Guide.
To configure an inner-outer VLAN 802.1p priority mapping policy:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a class and enter class
view.

traffic classifier tcl-name [ operator
{ and | or } ]

By default, the relationship
between the rules in a class is logic

AND, that is, the switch considers
a packet belongs to a class only

when the packet matches all the

rules in the class.

3.

Define an inner VLAN 802.1p
priority match criterion.

if-match customer-dot1p
8021p-list

You can configure more match
criteria as needed.

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.

Configuring the action of
setting the 802.1p priority.

remark dot1p 8021p

Configure more actions for the
traffic behavior as needed.

7.

Return to system view.

quit

N/A

8.

Create a policy and enter
policy view.

qos policy policy-name

N/A

9.

Associate the traffic class with
the traffic behavior.

classifier tcl-name behavior
behavior-name

N/A

10.

Return to system view.

quit

N/A

11.

Enter interface view:

Enter Ethernet interface view:
interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Use either command.

Advertising
This manual is related to the following products: