3-5
To do… Use the command… Remarks
Trust the
port priority
undo qos trust
Display the priority trust
mode configuration on
the port
display qos trust interface
[ interface-type interface-number ]
Optional
Available in any view
Configuring the Port Priority of a Port
You can change the port priority of a port used for priority mapping. For the priority mapping procedure,
see
Figure 3-1.
Follow these steps to configure the port priority of a port for priority mapping:
To do… Use the command… Remarks
Enter system view system-view —
Enter
interface
view
interface interface-type
interface-number
Enter
interface
view or port
group view
Enter port
group view
port-group manual
port-group-name
Use either command
Settings in interface view take effect
on the current interface; settings in
port group view take effect on all
ports in the port group.
Configure the port priority
qos priority priority-value
Required
The default port priority is 0.
Displaying and Maintaining Priority Mapping
To do… Use the command… Remarks
Display priority mapping table
configuration
display qos map-table
[ dot1p-dp | dot1p-lp |
dscp-dot1p | dscp-dp |
dscp-dscp ]
Available in any view
Display the trusted packet
priority type on a port
display qos trust interface
[ interface-type
interface-number ]
Available in any view
Priority Mapping Configuration Examples
Priority Mapping Table and Priority Marking Configuration Example
For information about priority marking, refer to Priority Marking Configuration.