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 the set of 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 or port group view.

  • Enter interface view:interface interface-type interface-number

  • Enter port group view:port-group manual port-group-name

Use one of the commands.

Settings in interface view (Ethernet or WLAN-ESS) take effect on the current interface. Settings in port group view take effect on all ports in the port group.

3. Set the port priority of the interface.

qos priority priority-value

The default setting is 0.