Configuration Procedure
Follow these steps to configure the port priority trust mode:
To do...
Enter system view
Enter port
view
Enter port
view or
port group
Enter port
view
group view
Configure to trust the
DSCP precedence or the
802.1p precedence of
the received packets
Configure to trust the port
priority
Configuration Example
Network requirements
Configure to trust the DSCP precedence of the received packets.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter port view.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1]
# Configure to trust the DSCP precedence of the received packets.
[Sysname-GigabitEthernet1/0/1] qos trust dscp
Displaying and Maintaining Priority Mapping
To do...
Display the information about a
specified priority mapping table
Display the priority trust mode
configured for a port
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos trust { dscp | dot1p }
undo qod trust
Use the command...
display qos map-table [ dot1p-dp |
dot1p-lp | dscp-dot1p | dscp-dp |
dscp-dscp ]
display qos trust interface [ interface-type
interface-number ]
3-9
Remarks
—
Perform either of the two operations.
The configuration performed in Ethernet
interface view applies to the current port
only. The configuration performed in port
group view applies to all the ports in the
port group.
Perform either of the two operations.
By default, the port priority is trusted.
Remarks
Available in any
view