886
C
69: P
HAPTER
RIORITY
Configuration
Prerequisites
Configuration Procedure
Configuration Examples
Configuring Port
Priority Trust Mode
Configuration
Prerequisites
Configuration Procedure
M
APPING
The port priority of the port is determined.
Follow these steps to configure port priority:
To do...
Enter system view
Enter port
Enter port
view or port
view
group view
Enter port
group
view
Configure port priority
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
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.
It is determined to trust the DSCP precedence of received packets.
Follow these steps to configure the port priority trust mode:
To do...
Enter system view
Enter port
Enter port
view or
view
port group
Enter port
view
group view
Use the command...
system-view
interface interface-type
interface-number
port-group { manual
port-group-name |
aggregation agg-id }
qos priority priority-value
Use the command...
system-view
interface interface-type
interface-number
port-group { manual
port-group-name |
aggregation agg-id }
Remarks
-
Perform either of the two
operations.
The configuration performed in
Ethernet port 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.
Remarks
-
Perform either of the two
operations.
The configuration performed in
Ethernet port view applies to the
current port only. The
configuration performed in port
group view applies to all the
ports in the port group.