H3C LS-3100-52P-OVS-H3 Operation Manual - page 1271
3-5
Figure 3-4 Priority mapping process in the case of supporting trusting port priority
Y
N
Search for the set of precedence
values corresponding to the trusted
type of priority of the packet in the
corresponding priority mapping
tables and assigns the set of
matching precedence values to the
packet
Search for the local precedence
corresponding to the port priority
of the receiving port in the
802.1p-to-local precedence
mapping table, and assign the
local precedence to the packet
Trust port
priority
Packet
Trust packet
priority
Receiving
port
When trusting packet priority, S5500-EI series Ethernet switches provide the following two priority trust
modes:can trust one of the following two priority types:
z
Trusting the DSCP precedence of received packets. In this mode, the switch searches the
dscp-dot1p/dp/dscp mapping table based on the DSCP precedence of the received packet for
the 802.1p precedence/drop precedence/DSCP precedence to be used to mark the packet. Then
the switch searches the dot1p-lp mapping table based on the marked 802.1p precedence for the
corresponding local precedence and marks the received packet with the local precedence.
z
Trusting the 802.1p precedence of received packets. In this mode, if a packet is received without
an 802.1q tag, the switch takes the priority of the receiving port as the 802.1p precedence of the
packet and then based on the priority searches the dot1p-dp/lp mapping table for the local/drop
precedence for the packet. If packet is received with an 802.1q tag, the switch searches the
dot1p-dp/lp mapping table based on the 802.1p precedence in the tag for local/drop precedence
for the packet.
The default dot1p-lp/dp mapping and dscp-dot1p/dp/dscp mapping provided by S5500-EI series
Ethernet switches are shown in the following two tables.
z
dot1p-dp: 802.1p-priority-to-drop-precedence mapping table
z
dot1p-lp: 802.1p-priority-to-local-precedence mapping table
z
dscp-dot1p: DSCP-precedence-to-802.1p-priority mapping table
z
dscp-dp: DSCP-precedence-to-drop-precedence mapping table, applicable to only IP packets
z
dscp-dscp: DSCP-precedence-to-DSCP-precedence mapping table, applicable to only IP packets
Table 3-4 The default values of dot1p-lp mapping and dot1p-dp mapping
Imported priority value
dot1p-lp mapping
dot1p-dp mapping
802.1p precedence (dot1p)
Local precedence (lp)
Drop precedence (dp)
0 2 0
1 0 0
2 1 0
3 3 0
4 4 0
5 5 0
6 6 0
7 7 0