1-15
[Sysname] qos cos-local-precedence-map 0 0 1 1 2 2 3 3
[Sysname] display qos cos-local-precedence-map
cos-local-precedence-map:
cos(802.1p) : 0 1 2 3 4 5 6 7
local precedence(queue) : 0 0 1 1 2 2 3 3
Marking Packet Priority
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, or pass a port.
Table 1-12
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