3-4 
Task  Remarks 
Configuring a Priority Mapping Table  Optional 
Configuring the Priority Trust Mode on a Port  Optional 
Configuring the Port Priority of a Port  Optional 
 
Configuring Priority Mapping 
Configuring a Priority Mapping Table 
Follow these steps to configure an uncolored priority mapping table: 
To do…  Use the command…  Remarks 
Enter system view  system-view — 
Enter priority mapping table 
view
 
qos map-table { dot1p-dp | 
dot1p-lp | dscp-dot1p | 
dscp-dp | dscp-dscp } 
Required
 
Configure the priority mapping 
table
 
import import-value-list export 
export-value 
Required 
Newly configured mappings 
overwrite the old ones. 
 
Display the configuration of the 
priority mapping table
 
display qos map-table 
[ dot1p-dp | dot1p-lp | 
dscp-dot1p | dscp-dp | 
dscp-dscp ] 
Optional 
Available in any view 
 
 
You cannot configure mapping any DSCP value to drop precedence 1.   
 
Configuring the Priority Trust Mode on a Port 
Follow these steps to configure the trusted packet priority type on an interface/port group: 
To do…  Use the command…  Remarks 
Enter system view  system-view — 
Enter 
interface 
view 
interface interface-type 
interface-number 
Enter 
interface 
view or port 
group view 
Enter port 
group view
 
port-group manual 
port-group-name 
Use either command 
Settings in interface view take 
effect on the current interface; 
settings in port group view take 
effect on all ports in the port 
group.
 
Configure 
the priority 
trust mode 
 
Trust the 
802.1p or 
DSCP 
priority in 
packets 
qos trust { dot1p | dscp } 
Use either command 
By default, the device trusts the 
port priority.