Default Settings for Priority Mapping
Mapping from Priorities to CoS Values (PHBs) and Colors in the Inbound Direction in a DiffServ Domain
- Table 3-1 lists the mappings from 802.1p priorities to PHBs and colors.
- Table 3-2 lists the mappings from DSCP priorities to PHBs and colors.
- Table 3-3 lists the mappings from EXP priorities in MPLS packets to PHBs and colors.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, and S6730-H support the mappings from EXP priorities to PHBs and colors.
802.1p Priority |
PHB |
Color |
---|---|---|
0 |
BE |
Green |
1 |
AF1 |
Green |
2 |
AF2 |
Green |
3 |
AF3 |
Green |
4 |
AF4 |
Green |
5 |
EF |
Green |
6 |
CS6 |
Green |
7 |
CS7 |
Green |
DSCP |
PHB |
Color |
DSCP |
PHB |
Color |
---|---|---|---|---|---|
0 |
BE |
Green |
32 |
AF4 |
Green |
1 |
BE |
Green |
33 |
BE |
Green |
2 |
BE |
Green |
34 |
AF4 |
Green |
3 |
BE |
Green |
35 |
BE |
Green |
4 |
BE |
Green |
36 |
AF4 |
Yellow |
5 |
BE |
Green |
37 |
BE |
Green |
6 |
BE |
Green |
38 |
AF4 |
Red |
7 |
BE |
Green |
39 |
BE |
Green |
8 |
AF1 |
Green |
40 |
EF |
Green |
9 |
BE |
Green |
41 |
BE |
Green |
10 |
AF1 |
Green |
42 |
BE |
Green |
11 |
BE |
Green |
43 |
BE |
Green |
12 |
AF1 |
Yellow |
44 |
BE |
Green |
13 |
BE |
Green |
45 |
BE |
Green |
14 |
AF1 |
Red |
46 |
EF |
Green |
15 |
BE |
Green |
47 |
BE |
Green |
16 |
AF2 |
Green |
48 |
CS6 |
Green |
17 |
BE |
Green |
49 |
BE |
Green |
18 |
AF2 |
Green |
50 |
BE |
Green |
19 |
BE |
Green |
51 |
BE |
green |
20 |
AF2 |
Yellow |
52 |
BE |
Green |
21 |
BE |
Green |
53 |
BE |
Green |
22 |
AF2 |
Red |
54 |
BE |
Green |
23 |
BE |
Green |
55 |
BE |
Green |
24 |
AF3 |
Green |
56 |
CS7 |
Green |
25 |
BE |
Green |
57 |
BE |
Green |
26 |
AF3 |
Green |
58 |
BE |
Green |
27 |
BE |
Green |
59 |
BE |
Green |
28 |
AF3 |
Yellow |
60 |
BE |
Green |
29 |
BE |
Green |
61 |
BE |
Green |
30 |
AF3 |
Red |
62 |
BE |
Green |
31 |
BE |
Green |
63 |
BE |
Green |
Mapping Between CoS Values and Interface Queue Indexes
By default, internal priorities (CoS of packets) and interface queues are mapped on a one-to-one basis. During deployment, you may need to change the mappings between CoS values and queues or map different CoS values to the same queue to avoid overburdening the device buffer. The device sends packets to different interface queues based on the internal priorities, and performs traffic shaping, congestion avoidance, and queue scheduling for the queues.
Table 3-4 lists the mappings between internal priorities and queues supported by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, and S6730-H.
Internal Priority |
Queue Index |
---|---|
BE |
0 |
AF1 |
1 |
AF2 |
2 |
AF3 |
3 |
AF4 |
4 |
EF |
5 |
CS6 |
6 |
CS7 |
7 |
Mapping from CoS Values (PHBs) and Colors to Priorities in the Outbound Direction in the DiffServ Domain
- Table 3-5 lists the mappings from PHBs and colors to 802.1p priorities.
- Table 3-6 lists the mappings from PHBs and colors to DSCP priorities.
- Table 3-7 lists the mappings from PHBs and colors to EXP priorities in MPLS packets.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, and S6730-H support the mappings from EXP priorities to PHBs and colors.
PHB |
Color |
802.1p Priority |
---|---|---|
BE |
Green |
0 |
BE |
Yellow |
0 |
BE |
Red |
0 |
AF1 |
Green |
1 |
AF1 |
Yellow |
1 |
AF1 |
Red |
1 |
AF2 |
Green |
2 |
AF2 |
Yellow |
2 |
AF2 |
Red |
2 |
AF3 |
Green |
3 |
AF3 |
Yellow |
3 |
AF3 |
Red |
3 |
AF4 |
Green |
4 |
AF4 |
Yellow |
4 |
AF4 |
Red |
4 |
EF |
Green |
5 |
EF |
Yellow |
5 |
EF |
Red |
5 |
CS6 |
Green |
6 |
CS6 |
Yellow |
6 |
CS6 |
Red |
6 |
CS7 |
Green |
7 |
CS7 |
Yellow |
7 |
CS7 |
Red |
7 |
PHB |
Color |
DSCP |
---|---|---|
BE |
Green |
0 |
BE |
Yellow |
0 |
BE |
Red |
0 |
AF1 |
Green |
10 |
AF1 |
Yellow |
12 |
AF1 |
Red |
14 |
AF2 |
Green |
18 |
AF2 |
Yellow |
20 |
AF2 |
Red |
22 |
AF3 |
Green |
26 |
AF3 |
Yellow |
28 |
AF3 |
Red |
30 |
AF4 |
Green |
34 |
AF4 |
Yellow |
36 |
AF4 |
Red |
38 |
EF |
Green |
46 |
EF |
Yellow |
46 |
EF |
Red |
46 |
CS6 |
Green |
48 |
CS6 |
Yellow |
48 |
CS6 |
Red |
48 |
CS7 |
Green |
56 |
CS7 |
Yellow |
56 |
CS7 |
Red |
56 |
PHB |
Color |
EXP Priority |
---|---|---|
BE |
Green |
0 |
BE |
Yellow |
0 |
BE |
Red |
0 |
AF1 |
Green |
1 |
AF1 |
Yellow |
1 |
AF1 |
Red |
1 |
AF2 |
Green |
2 |
AF2 |
Yellow |
2 |
AF2 |
Red |
2 |
AF3 |
Green |
3 |
AF3 |
Yellow |
3 |
AF3 |
Red |
3 |
AF4 |
Green |
4 |
AF4 |
Yellow |
4 |
AF4 |
Red |
4 |
EF |
Green |
5 |
EF |
Yellow |
5 |
EF |
Red |
5 |
CS6 |
Green |
6 |
CS6 |
Yellow |
6 |
CS6 |
Red |
6 |
CS7 |
Green |
7 |
CS7 |
Yellow |
7 |
CS7 |
Red |
7 |