Configuration procedure
Follow these steps to configure to trust port priority:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
f
interfa
inter ace
interface-type
ce-number
—
Configure to trust port priority
iority
priority
priority-level
Optional
By default, the switch trusts
port priority and the priority of a
port is 0.
and configure the port pr
Follow these steps to configure to trust packet priority:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Configure to trust packet
priority
priority trust
By default, the switch trusts
Required
port priority.
C
priority on Ethernet 1/0/1 and set the priority of Ethernet 1/0/1 to 7.
<Sysname> system-view
[Sysname] interface Ethernet1/0/1
[
/0/1] pri
z
Configure to trust packet pr
C
<Sysname> system-view
[Sysname] interface Ethernet1/0/2
Sysname-Ethernet1/0/2] priority trust
Configuring the Mapping between 802.1p Priority and Local Precedence
Whe
1p priority and local precedence cannot satisfy your
u
he mapping at the CLI, thus modifying the mapping between 802.1p
priority and the output queues and assigning packets with different priorities to the corresponding output
etting, not a per port setting. This is only recommended for advanced network
C
onfiguration example
z
Configure to trust port
Configuration procedure:
Sysname-Ethernet1
ority 7
iority on Ethernet 1/0/2.
onfiguration procedure:
[
n the default mapping between 802.
req irements, you can modify t
queues.
Note that, this is a global s
environments.
onfiguration prerequisites
The mapping between 802.1p priority and local precedence has been determined.
45-14