29
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:
Ste
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 priority-value
The default setting is 0 for devices
supporting only one port priority
type.
Displaying and maintaining priority mapping
Execute display commands in any view.
Task Command
Display priority map
configuration.
display qos map-table [ dot1p-dp | dot1p-lp | dscp-dot1p| dscp-dp |
dscp-dscp ]
Display the trusted packet
priority type on a port.
display qos trust interface [ interface-type interface-number ]
Port priority configuration example
Network requirements
As shown in Figure 6, Device A is connected to Ten-GigabitEthernet 1/0/1 of Device C, Device B is
connected to Ten-GigabitEthernet 1/0/2 of Device C, and the packets from Device A and Device B to
Device C are not VLAN tagged.
Configure Device C to preferentially process packets from Device A to Server when Ten-GigabitEthernet
1/0/3 of Device C is congested.