1-15 
Configuration procedures 
1)  Configuring the CoS-precedence-to-other-precedence mapping table 
Follow these steps to configure the CoS-precedence-to-other-precedence mapping table: 
To do…  Use the command…  Remarks 
Enter system view 
system-view 
— 
Configure the 
CoS-precedence-to-local-p
recedence mapping table 
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 
Configure the 
CoS-precedence-to-drop-p
recedence mapping table 
qos cos-drop-precedence-map 
cos0-map-drop-prec cos1-map-drop-prec 
cos2-map-drop-prec cos3-map-drop-prec 
cos4-map-drop-prec cos5-map-drop-prec 
cos6-map-drop-prec cos7-map-drop-prec 
Required 
 
2)  Configuring the DSCP-precedence-to-other-precedence mapping table 
Follow these steps to configure the DSCP-precedence-to-other-precedence mapping table: 
To do…  Use the command…  Remarks 
Enter system view 
system-view 
— 
Configure 
DSCP-precedence-to-local
-precedence mapping table 
qos dscp-local-precedence-map dscp-list : 
local-precedence 
Required 
Configure 
DSCP-precedence-to-drop
-precedence mapping table 
qos dscp-drop-precedence-map dscp-list : 
drop-precedence 
Required 
 
Configuration examples 
# Configure the CoS-precedence-to-local-precedence mapping table for a Switch 4200G as follows: 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. Then display the 
CoS-precedence-to-local-precedence mapping table.  
<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 
# Configure the DSCP-precedence-to-local-precedence mapping table for a Switch 4200G as follows: 0 
through 7 to 2, 8 through 15 to 3, 16 through 23 to 4, 24 through 31 to 1, 32 through 39 to 7, 40 through 
47 to 0, 48 through 55 to 5, and 56 through 63 to 6. Then display the 
DSCP-precedence-to-local-precedence mapping table.  
<Sysname> system-view 
[Sysname] qos dscp-local-precedence-map 0 1 2 3 4 5 6 7 : 2