Marking packet priority, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual

Page 596

Advertising
background image

1-17

local precedence(queue) : 0 0 1 1 2 2 3 3

Marking Packet Priority

Only H3C S3100-EI series switches support this configuration.

Refer to section

Priority Marking

for information about marking packet priority.

Marking packet priority can be implemented in the following two ways:

z

Through traffic policing

When configuring traffic policing, you can define the action of marking the 802.1p priority and DSCP

precedence for packets exceeding the traffic specification. Refer to section

Configuring Traffic Policing

.

z

Through the traffic-priority command

You can use the traffic priority command to mark the 802.1p priority, local precedence and DSCP

precedence of the packets.

Configuration prerequisites

The following items are defined or determined before the configuration:

z

The ACL rules used for traffic classification are specified. Refer to the ACL module of this manual

for related information.

z

The type and value of the precedence to be marked for the packets matching the ACL rules are

determined.

Configuration procedure

You can mark priority for all the packets matching specific ACL rules, or for packets that match specific

ACL rules and are of a VLAN, of a port group, or pass a port.

Table 1-14 Mark the priority for the packets matching specific ACL rules

Operation

Command

Description

Enter system view

system-view

Mark the priorities for
packets matching specific
ACL rules

traffic-priority inbound acl-rule { dscp
dscp-value
| cos cos-value |
local-precedence pre-value }*

Required

Advertising