Default Settings for Priority Mapping
Mapping from Priorities to CoS Values (PHBs) and Colors in the Inbound Direction in the DiffServ Domain
- Table 3-3 lists the mapping from 802.1p priorities to CoS values (PHBs) and colors in the inbound direction in the DiffServ domain.
- Table 3-4 lists the mapping from DSCP priorities in IP packets to CoS values (PHBs) and colors in the inbound direction in the DiffServ domain.
- Table 3-5 lists the mapping from EXP priorities in MPLS packets to CoS values (PHBs) and colors in the inbound direction in the DiffServ domain.
The mapping from interface priorities to CoS values (PHBs) and colors is similar to the mapping from 802.1p priorities to CoS values (PHBs) and colors. Colors are used to determine whether the packets are discarded and are independent of the mapping between internal priorities and queues.
802.1p Priority |
CoS Value |
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 |
CoS Value |
Color |
DSCP |
CoS Value |
Color |
---|---|---|---|---|---|
0 |
BE |
green |
32 |
AF4 |
green |
1 |
BE |
green |
33 |
AF4 |
green |
2 |
BE |
green |
34 |
AF4 |
green |
3 |
BE |
green |
35 |
AF4 |
green |
4 |
BE |
green |
36 |
AF4 |
yellow |
5 |
BE |
green |
37 |
AF4 |
green |
6 |
BE |
green |
38 |
AF4 |
red |
7 |
BE |
green |
39 |
AF4 |
green |
8 |
AF1 |
green |
40 |
EF |
green |
9 |
AF1 |
green |
41 |
EF |
green |
10 |
AF1 |
green |
42 |
EF |
green |
11 |
AF1 |
green |
43 |
EF |
green |
12 |
AF1 |
yellow |
44 |
EF |
green |
13 |
AF1 |
green |
45 |
EF |
green |
14 |
AF1 |
red |
46 |
EF |
green |
15 |
AF1 |
green |
47 |
EF |
green |
16 |
AF2 |
green |
48 |
CS6 |
green |
17 |
AF2 |
green |
49 |
CS6 |
green |
18 |
AF2 |
green |
50 |
CS6 |
green |
19 |
AF2 |
green |
51 |
CS6 |
green |
20 |
AF2 |
yellow |
52 |
CS6 |
green |
21 |
AF2 |
green |
53 |
CS6 |
green |
22 |
AF2 |
red |
54 |
CS6 |
green |
23 |
AF2 |
green |
55 |
CS6 |
green |
24 |
AF3 |
green |
56 |
CS7 |
green |
25 |
AF3 |
green |
57 |
CS7 |
green |
26 |
AF3 |
green |
58 |
CS7 |
green |
27 |
AF3 |
green |
59 |
CS7 |
green |
28 |
AF3 |
yellow |
60 |
CS7 |
green |
29 |
AF3 |
green |
61 |
CS7 |
green |
30 |
AF3 |
red |
62 |
CS7 |
green |
31 |
AF3 |
green |
63 |
CS7 |
green |
Mapping Between CoS Values and Interface Queue Indexes
Table 3-6 lists the mapping between CoS values and queue indexes supported by the device.
Mapping from CoS Values (PHBs) and Colors to Priorities in the Outbound Direction in the DiffServ Domain
- Table 3-7 lists the mapping from CoS values (PHBs) and colors to 802.1p priorities in the outbound direction in the DiffServ domain.
- Table 3-8 lists the mapping from CoS values (PHBs) and colors to DSCP priorities in IP packets in the outbound direction in the DiffServ domain.
- Table 3-9 lists the mapping from DSCP priorities to EXP priorities in the outbound direction in the DiffServ domain.
The mapping from CoS values (PHBs) and colors to interface priorities is similar to the mapping from CoS values (PHBs) and colors to 802.1p priorities. Colors are used to determine whether the packets are discarded and are independent of the mapping between internal priorities and queues.
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 |
DSCP |
EXP |
DSCP |
EXP |
---|---|---|---|
0 |
0 |
32 |
4 |
1 |
0 |
33 |
4 |
2 |
0 |
34 |
4 |
3 |
0 |
35 |
4 |
4 |
0 |
36 |
4 |
5 |
0 |
37 |
4 |
6 |
0 |
38 |
4 |
7 |
0 |
39 |
4 |
8 |
1 |
40 |
5 |
9 |
1 |
41 |
5 |
10 |
1 |
42 |
5 |
11 |
1 |
43 |
5 |
12 |
1 |
44 |
5 |
13 |
1 |
45 |
5 |
14 |
1 |
46 |
5 |
15 |
1 |
47 |
5 |
16 |
2 |
48 |
6 |
17 |
2 |
49 |
6 |
18 |
2 |
50 |
6 |
19 |
2 |
51 |
6 |
20 |
2 |
52 |
6 |
21 |
2 |
53 |
6 |
22 |
2 |
54 |
6 |
23 |
2 |
55 |
6 |
24 |
3 |
56 |
7 |
25 |
3 |
57 |
7 |
26 |
3 |
58 |
7 |
27 |
3 |
59 |
7 |
28 |
3 |
60 |
7 |
29 |
3 |
61 |
7 |
30 |
3 |
62 |
7 |
31 |
3 |
63 |
7 |
Mapping from DSCP Priorities in IP Packets to Internal DSCP Priorities in the Inbound Direction in the DiffServ Domain
One DSCP priority in IP packets maps to one internal DSCP priority with the same value in a DiffServ domain in the inbound direction. That is, if the DSCP priority of IP packets in the inbound direction is 1, the corresponding internal DSCP priority is also 1, and so on. Table 3-10 lists the mapping from DSCP priorities in IP packets to internal DSCP priorities in the inbound direction in the DiffServ domain.
DSCP |
IN-DSCP |
DSCP |
IN-DSCP |
---|---|---|---|
0 |
0 |
32 |
32 |
1 |
1 |
33 |
33 |
2 |
2 |
34 |
34 |
3 |
3 |
35 |
35 |
4 |
4 |
36 |
36 |
5 |
5 |
37 |
37 |
6 |
6 |
38 |
38 |
7 |
7 |
39 |
39 |
8 |
8 |
40 |
40 |
9 |
9 |
41 |
41 |
10 |
10 |
42 |
42 |
11 |
11 |
43 |
43 |
12 |
12 |
44 |
44 |
13 |
13 |
45 |
45 |
14 |
14 |
46 |
46 |
15 |
15 |
47 |
47 |
16 |
16 |
48 |
48 |
17 |
17 |
49 |
49 |
18 |
18 |
50 |
50 |
19 |
19 |
51 |
51 |
20 |
20 |
52 |
52 |
21 |
21 |
53 |
53 |
22 |
22 |
54 |
54 |
23 |
23 |
55 |
55 |
24 |
24 |
56 |
56 |
25 |
25 |
57 |
57 |
26 |
26 |
58 |
58 |
27 |
27 |
59 |
59 |
28 |
28 |
60 |
60 |
29 |
29 |
61 |
61 |
30 |
30 |
62 |
62 |
31 |
31 |
63 |
63 |
Mapping from Internal DSCP Priorities and Colors to DSCP Priorities in Packets in the Outbound Direction in the DiffServ Domain
One internal DSCP priority or color maps to one DSCP priority with the same value in IP packets in the outbound direction in a DiffServ domain. That is, for green, yellow, or red packets, if the internal DSCP priority is 1, the corresponding DSCP priority of IP packets in the outbound direction is also 1, and so on. Table 3-11 lists the mapping from internal DSCP priorities and colors to DSCP priorities in packets in the outbound direction in the DiffServ domain.
IN-DSCP |
Color |
DSCP |
IN-DSCP |
Color |
DSCP |
---|---|---|---|---|---|
0 |
green/yellow/red |
0 |
32 |
green/yellow/red |
32 |
1 |
green/yellow/red |
1 |
33 |
green/yellow/red |
33 |
2 |
green/yellow/red |
2 |
34 |
green/yellow/red |
34 |
3 |
green/yellow/red |
3 |
35 |
green/yellow/red |
35 |
4 |
green/yellow/red |
4 |
36 |
green/yellow/red |
36 |
5 |
green/yellow/red |
5 |
37 |
green/yellow/red |
37 |
6 |
green/yellow/red |
6 |
38 |
green/yellow/red |
38 |
7 |
green/yellow/red |
7 |
39 |
green/yellow/red |
39 |
8 |
green/yellow/red |
8 |
40 |
green/yellow/red |
40 |
9 |
green/yellow/red |
9 |
41 |
green/yellow/red |
41 |
10 |
green/yellow/red |
10 |
42 |
green/yellow/red |
42 |
11 |
green/yellow/red |
11 |
43 |
green/yellow/red |
43 |
12 |
green/yellow/red |
12 |
44 |
green/yellow/red |
44 |
13 |
green/yellow/red |
13 |
45 |
green/yellow/red |
45 |
14 |
green/yellow/red |
14 |
46 |
green/yellow/red |
46 |
15 |
green/yellow/red |
15 |
47 |
green/yellow/red |
47 |
16 |
green/yellow/red |
16 |
48 |
green/yellow/red |
48 |
17 |
green/yellow/red |
17 |
49 |
green/yellow/red |
49 |
18 |
green/yellow/red |
18 |
50 |
green/yellow/red |
50 |
19 |
green/yellow/red |
19 |
51 |
green/yellow/red |
51 |
20 |
green/yellow/red |
20 |
52 |
green/yellow/red |
52 |
21 |
green/yellow/red |
21 |
53 |
green/yellow/red |
53 |
22 |
green/yellow/red |
22 |
54 |
green/yellow/red |
54 |
23 |
green/yellow/red |
23 |
55 |
green/yellow/red |
55 |
24 |
green/yellow/red |
24 |
56 |
green/yellow/red |
56 |
25 |
green/yellow/red |
25 |
57 |
green/yellow/red |
57 |
26 |
green/yellow/red |
26 |
58 |
green/yellow/red |
58 |
27 |
green/yellow/red |
27 |
59 |
green/yellow/red |
59 |
28 |
green/yellow/red |
28 |
60 |
green/yellow/red |
60 |
29 |
green/yellow/red |
29 |
61 |
green/yellow/red |
61 |
30 |
green/yellow/red |
30 |
62 |
green/yellow/red |
62 |
31 |
green/yellow/red |
31 |
63 |
green/yellow/red |
63 |