H3C LS-3100-52P-OVS-H3 Operation Manual - page 1275
3-9
Configuration Procedure
Follow these steps to configure the port priority trust mode:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter port
view
interface interface-type
interface-number
Enter port
view or
port group
view
Enter port
group view
port-group manual
port-group-name
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.
Configure to trust the
DSCP precedence or the
802.1p precedence of
the received packets
qos trust { dscp | dot1p }
Configure to trust the port
priority
undo qod trust
Perform either of the two operations.
By default, the port priority is trusted.
Configuration Example
Network requirements
Configure to trust the DSCP precedence of the received packets.
Configuration procedure
# Enter 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…
Use the command…
Remarks
Display the information about a
specified priority mapping table
display qos map-table [ dot1p-dp |
dot1p-lp | dscp-dot1p | dscp-dp |
dscp-dscp ]
Display the priority trust mode
configured for a port
display qos trust interface [ interface-type
interface-number ]
Available in any
view