3Com Switch 8800 Advanced Software V5 Configuration Guide

854 CHAPTER 64: PRIORITY MAPPING
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter 802.1p-precedence-to-local-precedence mapping table view.
[Sysname] qos map-table dot1p-lp
# Modify the 802.1p-precedence-to-local-precedence mapping table parameters.
[Sysname-maptbl-dot1p-lp] import 0 1 export 0
[Sysname-maptbl-dot1p-lp] import 2 3 export 1
[Sysname-maptbl-dot1p-lp] import 4 5 export 2
[Sysname-maptbl-dot1p-lp] import 6 7 export 3
Configuring Port
Priority
Switch 8800s provide the following two priority trust modes:
Trust packet priority: the switch looks up the priority mapping table based on
the priority of a packet to assign priority parameters to the packet.
Trust port priority: the switch assigns local precedence values to all the packets
by looking up the priority mapping table based on the pre-defined port priority
of the receiving port.
You can configure the priority trust mode for a switch as required. By default, port
priority is trusted. The priority mapping process on a Switch 8800 is as shown in
Figure 251:
Figure 251 Priority mapping process on a switch supporting the port priority trust mode
The port priority ranges from 0 to 7. Users can set the port priority as required.
Configuration
Prerequisites
The port priority value of the corresponding port is determined.
Configuration Procedure Follow these steps to configure port priority: