3Com Switch 8800 Advanced Software V5 Configuration Guide

Configuring to Trust Packet Priority 857
Configuration Examples Network requirement
All departments in the enterprise network are interconnected through Switch.
The network creates different VLANs for different departments.
It is required that Switch assign local precedence values to packets through
priority mapping on the incoming port.
The default priority mapping tables of Switch are adopted in priority mapping.
Network diagram
Figure 253 Network diagram for priority trust mode configuration
Configuration procedure
# Enter system view
<Sysname> system-view
# Enter 802.1p-precedence-to-local-precedence mapping table view to modify the
mapping table parameters.
[Sysname] qos map-table dot1p-lp
[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
[Sysname-maptbl-dot1p-lp] quit
# Configure to trust 802.1p precedence on Ethernet 1/1/1.
[Sysname] interface ethernet 1/1/1
[Sysname-Ethernet1/1/1] qos trust dot1p
[Sysname-Ethernet1/1/1] quit
# Configure to trust 802.1p precedence on Ethernet 1/1/2.
[Sysname] interface ethernet 1/1/2
[Sysname-Ethernet1/1/2] qos trust dot1p
[Sysname-Ethernet1/1/2] quit