886 CHAPTER 69: PRIORITY MAPPING
Configuration
Prerequisites
The port priority of the port is determined.
Configuration Procedure Follow these steps to configure port priority:
Configuration Examples Network requirements
Configure the port priority to 7.
Configuration procedure
# Enter system view.
<Sysname> system-view 
# Configure port priority of GigabitEthernet1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos priority 7 
Configuring Port 
Priority Trust Mode
You can configure the switch to trust the DSCP precedence of the received 
packets. In this case, the switch searches the dscp-dot1p/dp/dscp mapping table 
for the corresponding precedence according to the DSCP precedence of the 
packets and marks the received packets with the precedence.
Configuration
Prerequisites
It is determined to trust the DSCP precedence of received packets.
Configuration Procedure Follow these steps to configure the port priority trust mode:
To do… Use the command…  Remarks 
Enter system view system-view - 
Enter port 
view or port 
group view 
Enter port 
view 
interface interface-type 
interface-number 
Perform either of the two 
operations.
The configuration performed in 
Ethernet port view applies to the 
current port only. The 
configuration performed in port 
group view applies to all the 
ports in the port group. 
Enter port 
group 
view 
port-group { manual 
port-group-name | 
aggregation agg-id }
Configure port priority qos priority priority-value Required
By default, the port priority is 0.
To do… Use the command…  Remarks 
Enter system view system-view - 
Enter port 
view or 
port group 
view 
Enter port 
view 
interface interface-type 
interface-number 
Perform either of the two 
operations.
The configuration performed in 
Ethernet port view applies to the 
current port only. The 
configuration performed in port 
group view applies to all the 
ports in the port group. 
Enter port 
group view 
port-group { manual 
port-group-name | 
aggregation agg-id }