< Home

Default Settings for Priority Mapping

Mapping from Priorities to CoS Values (PHBs) and Colors in the Inbound Direction in a DiffServ Domain

By default, the mappings in a DiffServ domain are as follows:
  • Table 1 lists the mappings from 802.1p priorities to PHBs and colors.
  • Table 2 lists the mappings from DSCP priorities to PHBs and colors.
  • Table 3 lists the mappings from EXP priorities in MPLS packets to PHBs and colors.
The mappings from interface priorities to PHBs and colors are similar to the mappings from 802.1p priorities to PHBs and colors. Colors of packets are only used to determine whether to drop packets and do not affect mappings between internal priorities and queues.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the mappings from EXP priorities to PHBs and colors.

Table 1 Mappings from 802.1p priorities to PHBs and colors of incoming VLAN packets in a DiffServ domain

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

Table 2 Mappings from DSCP priorities to PHBs and colors of incoming IP packets in the DiffServ domain

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

Table 3 Mappings from EXP priorities to PHBs and colors of incoming packets in the DiffServ domain

EXP 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

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 4 lists the mappings between internal priorities and queues supported by the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S.

Table 4 Mappings between internal priorities and queues on the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-S, S5731S-H, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I, S6720-EI, S6720S-EI, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S

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

By default, the mappings in a DiffServ domain are as follows:
  • Table 5 lists the mappings from PHBs and colors to 802.1p priorities.
  • Table 6 lists the mappings from PHBs and colors to DSCP priorities.
  • Table 7 lists the mappings from PHBs and colors to EXP priorities in MPLS packets.
The mappings from interface priorities to PHBs and colors are similar to the mappings from 802.1p priorities to PHBs and colors. Colors of packets are only used to determine whether to drop packets and do not affect mappings between internal priorities and queues.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support the mappings from EXP priorities to PHBs and colors.

Table 5 Mappings from PHBs and colors to 802.1p priorities of outgoing VLAN packets in the DiffServ domain

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

Table 6 Mappings from PHBs and colors to DSCP priorities of outgoing IP packets in the DiffServ domain

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

Table 7 Mappings from PHBs and colors to EXP priorities of outgoing packets in the DiffServ domain

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >