Switch 7700 Command reference Guide, v2.0

Table Of Contents
286 CHAPTER 7: USING QOS/ACL COMMANDS
You can set a priority for a port and replace the 802.1p priority carried in the
packet with it. After transmitting a packet, the switch will replace the packet
802.1p priority with the priority of the received port.
Example
Set the priority of Ethernet1/0/1 port to 7.
[SW7700-Ethernet1/0/1]priority 7
priority trust Syntax
priority trust
undo priority
View
Ethernet port view
Parameter
None
Description
Use the priority trust command to configure system trusting the packet
802.1p priority and not replacing the 802.1p priorities carried by the packets
with the port priority.
Use the undo priority command to configure the system not trust packet
802.1p priority.
Related command: priority.
Example
Configure system trusting the packet 802.1p priority and not replacing the 802.1p
priorities carried by the packets with the port priority.
[SW7700-Ethernet1/0/1]priority trust
priority-trust Syntax
priority-trust { dscp | ip-precedence | cos | local-precedence }
View
System view
Parameter
dscp: Sets the queue scheduling based on dscp priority.
ip-precedence: Sets the queue scheduling based on ip-precedence.
cos: Sets the queue scheduling based on cos priority.
local-precedence: Sets the queue scheduling based on local-precedence.