H3C LS-3100-52P-OVS-H3 Operation Manual - page 1274
3-8
Configuration Prerequisites
The port priority of the port is determined.
Configuration Procedure
Follow these steps to configure port priority:
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 port priority
qos priority priority-value
Required
By default, the port priority is 0.
Configuration Example
Network requirements
Configure the port priority to 7.
Configuration procedure
# Enter system view.
# Configure port priority of GigabitEthernet1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos priority 7
Configuring Port Priority Trust Mode
You can configure the switch to trust the DSCP precedence of the received packets. In this case, the
switch searches the dscp-dot1p/dp/dscp mapping table for the corresponding precedence according
to the DSCP precedence of the packets and marks the received packets with the precedence.
Configuration Prerequisites
It is determined to trust the DSCP precedence or the 802.1p precedence of received packets.