1-13 
View 
Ethernet port view 
Parameters 
priority-level: Port priority, ranging from 0 to 7.  
Description 
Use the priority command to configure trusting port priority and set the priority of the port.  
Use the undo priority command to restore the default.  
By default, port priority is trusted and the priority of an Ethernet port is 0.  
After you execute the priority command on a port, the port priority rather than the 802.1p priority of 
each inbound 802.1q-tagged packet is used to identify the matching local precedence for the packet (in 
the 802.1p-precedence-to-local precedence mapping table). Then, the packet is assigned to the output 
queue corresponding to the local precedence.  
If the priority command, the priority trust command, and the undo priority command are configured 
on the same port, the command configured the last applies.  
Related commands: priority trust. 
Examples 
# Configure Ethernet 1/0/1 to trust its port priority and set the priority of Ethernet 1/0/1 to 6. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] interface Ethernet1/0/1 
[Sysname-Ethernet1/0/1] priority 6 
priority trust 
Syntax 
priority trust 
undo priority 
View 
Ethernet port view 
Parameters 
None 
Description 
Use the priority trust command to configure the switch to trust the 802.1p priority of an inbound 
packet. 
Use the undo priority command to restore the default settings.