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