25 
To configure the trusted packet priority type on an interface: 
 
Step
Command
Remarks 
1.  Enter system view. 
system-view
  N/A 
2.  Enter interface view. 
interface
 interface-type 
interface-number 
N/A
 
3.  Configure the trusted 
packet priority type. 
qos trust
 { 
dot1p
 | 
dscp
 }  By default, the port priority is trusted.
 
 
Changing the port priority of an interface 
If an interface does not trust any packet priority, the device uses its port priority to look for priority 
parameters for the incoming packets. By changing port priority, you can prioritize traffic received on 
different interfaces. 
To change the port priority of an interface: 
 
1.  Enter system view. 
system-view
  N/A 
2.  Enter interface view. 
interface
 interface-type 
interface-number 
N/A
 
3.  Set the port priority of the 
interface. 
qos priority 
priority-value  The default setting is 0.
 
 
Displaying and maintaining priority mapping 
Execute display commands in any view.  
 
Display priority map configuration.
 
display qos map-table
 [ 
dot11e-lp
 | 
dot1p-lp
 | 
dscp-lp
 | 
lp-dot11e
 | 
lp-dot1p
 | 
lp-dscp 
] 
Display the trusted packet priority 
type on a port.
 
display qos trust
 
interface
 [ interface-type interface-number ]  
 
Priority mapping configuration examples 
Network requirements 
As shown in Figure 5:  
•  The IP precedence of traffic from Device A to the AC is 3.  
•  The IP precedence of traffic from Device B to the AC is 1. 
Configure the AC to preferentially process packets from Device A to the server when GigabitEthernet 
1/0/3 of the AC is congested.