Command Manual – QoS/ACL 
Quidway S8500 Series Routing Switches  Chapter 2  QoS Commands
 
Huawei Technologies Proprietary 
2-28 
cos3-map-local-prec: Mapping value from CoS 3 to local precedence, in the range of 0 
to 7. 
cos4-map-local-prec: Mapping value from CoS 4 to local precedence, in the range of 0 
to 7. 
cos5-map-local-prec: Mapping value from CoS 5 to local precedence, in the range of 0 
to 7. 
cos6-map-local-prec: Mapping value from CoS 6 to local precedence, in the range of 0 
to 7. 
cos7-map-local-prec: Mapping value from CoS 7 to local precedence, in the range of 0 
to 7. 
Description 
Use the qos  cos-local-precedence-map command to configure the “CoS — > 
Local-precedence” mapping table. 
Use the undo qos cos-local-precedence-map command to restore the default values 
of the “CoS —> Local-precedence” mapping table. 
The system provides “CoS —> Local-precedence” mapping table as the default value. 
Table 2-5 Default “CoS —> Local-precedence” mapping connection 
CoS Value  Local Precedence 
0 2 
1 0 
2 1 
3 3 
4 4 
5 5 
6 6 
7 7 
 
After receiving a packet, the switch allocates a set of service parameters to it according 
to a specific rule. The service parameters, including CoS value, local precedence and 
drop level, are determined according to the packet 802.1p priority value. CoS value is 
the packet 802.1p priority value, while local and drop precedence values are obtained 
according to the “CoS — > Local-precedence” mapping table and the “CoS — > 
Drop-precedence” mapping table. You can modify the “CoS —> Local-precedence” 
mapping table using this command.