Changing the port priority of an interface
If an interface does not trust any packet priority, the device uses its port priority to look for priority parameters for the incoming packets. By changing port priority, you can prioritize traffic received on different interfaces.
To change the port priority of an interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Set the port priority of the interface. | qos priority [ dscp ] priority-value | By default, the port priority is 0, and the DSCP value of packets is not modified. When no priority trust mode is configured for an interface, the interface uses the port priority as the 802.1p priority for priority mapping. If the qos priority dscp priority-value command is configured, the interface modifies the DSCP value of Layer 3 packets in addition to performing priority mapping. |