3Com 4500 Switch User Manual


 
1-14
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
interface interface-type
interface-number
Configure to trust port priority
and configure the port priority
priority priority-level
Optional
By default, the switch trusts
port priority and the priority of a
port is 0.
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
Required
By default, the switch trusts
port priority.
Configuration example
z Configure to trust port priority on Ethernet 1/0/1 and set the priority of Ethernet 1/0/1 to 7.
Configuration procedure:
<Sysname> system-view
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] priority 7
z Configure to trust packet priority on Ethernet 1/0/2.
Configuration procedure:
<Sysname> system-view
[Sysname] interface Ethernet1/0/2
[Sysname-Ethernet1/0/2] priority trust
Configuring the Mapping between 802.1p Priority and Local Precedence
When the default mapping between 802.1p priority and local precedence cannot satisfy your
requirements, you can modify the 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
queues.
Note that, this is a global setting, not a per port setting. This is only recommended for advanced network
environments.
Configuration prerequisites
The mapping between 802.1p priority and local precedence has been determined.