HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Configuration Guide - Page 94

Appendix B Introduction to packet precedences, IP precedence and DSCP values

Page 94 highlights

Appendix B Introduction to packet precedences IP precedence and DSCP values Figure 26 ToS and DS fields Bits: 0 1 2 3 4 5 6 7 IPv4 ToS byte Preced ence Type of Service M B Z Must RFC 1349 RFC 1122 Be Zero Bits: 0 1 2 3 4 5 6 7 DS-Field (for IPv4,ToS octet,and for IPv6,Traffic Class octet ) DSCP Class Selector codepoints CU Currently Unused IP Type of Service (ToS) RFC 791 Differentiated Services Codepoint (DSCP) RFC 2474 As shown in Figure 26, the ToS field in the IP header contains 8 bits. The first 3 bits (0 to 2) represent IP precedence from 0 to 7. According to RFC 2474, the ToS field is redefined as the differentiated services (DS) field, where a DSCP value is represented by the first 6 bits (0 to 5) and is in the range 0 to 63. The remaining 2 bits (6 and 7) are reserved. Table 10 IP precedence IP precedence (decimal) 0 1 2 3 4 5 6 7 IP precedence (binary) 000 001 010 011 100 101 110 111 Description Routine priority immediate flash flash-override critical internet network Table 11 DSCP values DSCP value (decimal) 46 10 12 14 18 20 22 26 DSCP value (binary) 101110 001010 001100 001110 010010 010100 010110 011010 88 Description ef af11 af12 af13 af21 af22 af23 af31

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

88
Appendix B Introduction to packet precedences
IP precedence and DSCP values
Figure 26
ToS and DS fields
As shown in
Figure 26
, the ToS field in the IP header contains 8 bits. The first 3 bits (0 to 2) represent IP
precedence from 0 to 7. According to RFC 2474, the ToS field is redefined as the differentiated services
(DS) field, where a DSCP value is represented by the first 6 bits (0 to 5) and is in the range 0 to 63. The
remaining 2 bits (6 and 7) are reserved.
Table 10
IP precedence
IP precedence (decimal)
IP precedence (binary)
Description
0
000
Routine
1
001
priority
2
010
immediate
3
011
flash
4
100
flash-override
5
101
critical
6
110
internet
7
111
network
Table 11
DSCP values
DSCP value (decimal)
DSCP value (binary)
Description
46
101110
ef
10
001010
af11
12
001100
af12
14
001110
af13
18
010010
af21
20
010100
af22
22
010110
af23
26
011010
af31
M
B
Z
RFC 1122
IP Type of Service (ToS)
RFC 791
Must
Be
Zero
RFC 1349
IPv4 ToS
byte
0
7
6
1
5
4
3
2
Bits:
Preced
ence
Type of
Service
0
7
6
DSCP
Class Selector
codepoints
Differentiated Services
Codepoint (DSCP)
RFC 2474
Currently
Unused
DS-Field
(for IPv4,ToS
octet,and for
IPv6,Traffic
Class octet )
1
5
4
3
2
Bits:
CU