Specifying the Packet Priority Trusted on an Interface
Context
802.1p priority
For VLAN-tagged packets, the device searches the priority mapping table based on the 802.1p priorities of the packets to determine the queues for the packets and re-mark packet priorities.
For untagged packets, the device searches the priority mapping table based on the interface priority to determine the queues for the packets and re-mark packet priorities.
DSCP priority
The device searches the DSCP priority mapping table based on DSCP priorities of packets to determine the queues for the packets and re-mark packet priorities.
MPLS EXP priority
The device searches the MPLS EXP priority mapping table based on MPLS EXP priorities of MPLS packets to determine the queues for the packets and re-mark packet priorities.
WAN interfaces and layer 2 VE interfaces can be configured to trust EXP priorities in MPLS packets.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run trust { 8021p [ override ] | dscp [ override ] | exp }
The packet priority trusted on the interface is specified.
By default, no packet priority is trusted on an interface, and the interface priority is used for priority mapping.
If override is not specified, the 8021.p priority of packets is changed to the mapped value and the DSCP priority remains unchanged after priority mapping. If override is specified, both the 802.1p and DSCP priorities of packets are changed to the mapped value after priority mapping.