28
Step Command Remarks
undo qos trust
Changing the port priority of an interface
If an interface does not trust any packet priority, the switch 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.
interface
interface-type interface-number N/A
3. Set the port priority of the
interface.
qos priority
priority-value
The default setting is 0.
Displaying and maintaining priority mapping
Execute display commands in any view.
Task Command
Display priority map
configuration.
display qos map-table
{
dot1p-dp
|
dot1p-exp
|
dot1p-lp
|
dscp-dot1p
|
dscp-dp
|
dscp-dscp
|
exp-dot1p
|
exp-dp
}
Display the trusted packet
priority type on a port.
display qos trust
interface
[ interface-type interface-number ]
Priority mapping configuration examples
Priority trust mode configuration example
Network requirements
As shown in Figure 6, the packets from Switch A and Switch B to Switch C are not VLAN tagged.
Configure Switch C to preferentially process packets from Switch A to the server when
GigabitEthernet 1/0/3 of Switch C is congested.