1-15
Configuration procedure
Follow these steps to configure the mapping between 802.1p priority and local precedence:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the mapping
between 802.1p priority and
local precedence
qos
cos-local-precedence-map
cos0-map-local-prec cos1-map-local-prec
cos2-map-local-prec cos3-map-local-prec
cos4-map-local-prec cos5-map-local-prec
cos6-map-local-prec
cos7-map-local-prec
Required
Configuration example
z
Configure the following mapping between 802.1p priority and local precedence: 0 to 2, 1 to 3, 2 to 4,
3 to 1, 4 to 7, 5 to 0, 6 to 5, and 7 to 6.
z
Display the configuration.
Configuration procedure:
<Sysname> system-view
[Sysname] qos cos-local-precedence-map 2 3 4 1 7 0 5 6
[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) : 2 3 4 1 7 0 5 6
Setting the Priority of Protocol Packets
Refer to section
Protocol Priority
for information about priority of protocol packets.
Configuration prerequisites
z
The protocol type has been determined.
z
The priority type (IP or DSCP) and priority value have been determined.
Configuration procedure
Follow these steps to set the priority for specific protocol packets:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Set the priority for
specific protocol
packets
protocol-priority protocol-type
protocol-type
{
ip-precedence
ip-precedence
|
dscp
dscp-value
}
Required
You can modify the IP precedence or
DSCP precedence of the
corresponding protocol packets.
On Switch 4500, you can set the priority for protocol packets of Telnet, SNMP, and ICMP.