1-15Configuration procedureFollow these steps to configure the mapping between 802.1p priority and local precedence:To do… Use the command… RemarksEnter system view system-view —Configure the mappingbetween 802.1p priority andlocal precedenceqos cos-local-precedence-mapcos0-map-local-prec cos1-map-local-preccos2-map-local-prec cos3-map-local-preccos4-map-local-prec cos5-map-local-preccos6-map-local-prec cos7-map-local-precRequiredConfiguration examplez 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: system-view[Sysname] qos cos-local-precedence-map 2 3 4 1 7 0 5 6[Sysname] display qos cos-local-precedence-mapcos-local-precedence-map:cos(802.1p) : 0 1 2 3 4 5 6 7--------------------------------------------------------------------------local precedence(queue) : 2 3 4 1 7 0 5 6Setting the Priority of Protocol PacketsRefer to section Protocol Priority for information about priority of protocol packets.Configuration prerequisitesz The protocol type has been determined.z The priority type (IP or DSCP) and priority value have been determined.Configuration procedureFollow these steps to set the priority for specific protocol packets:To do… Use the command… RemarksEnter system view system-view —Set the priority forspecific protocolpacketsprotocol-priority protocol-typeprotocol-type { ip-precedenceip-precedence | dscp dscp-value }RequiredYou can modify the IP precedence orDSCP precedence of thecorresponding protocol packets.On Switch 4500, you can set the priority for protocol packets of Telnet, SNMP, and ICMP.