Configuration Prerequisites
The port priority of the port is determined.
Configuration Procedure
Follow these steps to configure port priority:
To do...
Enter system view
Enter port
view
Enter port
view or port
Enter port
group view
group
view
Configure port priority
Configuration Example
Network requirements
Configure the port priority to 7.
Configuration procedure
# Enter system view.
<Sysname> 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.
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos priority priority-value
3-8
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.
Required
By default, the port priority is 0.