The port priority command configures the priority for an interface.
The undo port priority command restores the default priority of an interface.
By default, the priority of an interface is 0.
Parameter |
Description |
Value |
---|---|---|
priority-value |
Specifies the priority of an interface. |
The value is an integer that ranges from 0 to 7. The default value is 0. A larger value indicates a higher priority of an interface. |
Ethernet interface view, MultiGE interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, port group view
Scenario
The 802.1p priority is determined by the 3-bit priority 802.1p field contained in a VLAN tag. The 802.1p priority is used to ensure QoS in the DiffServ model.
If an interface receives untagged packets, the interface priority is added to packets during the internal forwarding.
If an interface is configured to trust the 802.1p priority using the trust 8021p command, the interface adds the 802.1p priority to the received untagged packets. The device then searches for the internal priority (represented by a PHB and color) mapping the 802.1p priority and marks packets with the internal priority.
Precautions