HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Gu - Page 80

Using DSCP values to provide QoS, Differentiated Services concepts, Per Hop Behavior

Page 80 highlights

Using DSCP values to provide QoS The six most significant bits in the TOS byte of the IP header are defined as DiffServ Code Points (DSCP). Packets are marked with a certain value depending on the type of treatment the packet must receive in the network device. DSCP is a measure of the Quality of Service (QoS) level of the packet. Differentiated Services concepts To differentiate between traffic flows, packets can be classified by their DSCP value. The Differentiated Services (DS) field in the IP header is an octet, and the first six bits, called the DS Code Point (DSCP), can provide QoS functions. Each packet carries its own QoS state in the DSCP. There are 64 possible DSCP values (0-63). Figure 12 Layer 3 IPv4 packet The GbE2c can perform the following actions to the DSCP: • Read the DSCP value of ingress packets • Re-mark the DSCP value to a new value • Map the DSCP value to an 802.1p priority Once the DSCP value is marked, the GbE2c can use it to direct traffic prioritization. Per Hop Behavior The DSCP value determines the Per Hop Behavior (PHB) of each packet. The PHB is the forwarding treatment given to packets at each hop. QoS policies are built by applying a set of rules to packets, based on the DSCP value, as they hop through the network. The GbE2c default settings are based on the following standard PHBs, as defined in the IEEE standards: • Expedited Forwarding (EF)-This PHB has the highest egress priority and lowest drop precedence level. EF traffic is forwarded ahead of all other traffic. EF PHB is described in RFC 2598. • Assured Forwarding (AF)-This PHB contains four service levels, each with a different drop precedence, as shown below. Routers use drop precedence to determine which packets to discard last when the network becomes congested. AF PHB is described in RFC 2597. Table 18 Assured forwarding drop-down precedence Drop Precedence Class 1 Class 2 Class 3 Class 4 Low Medium High AF11 (DSCP 10) AF12 (DSCP 12) AF13 (DSCP 14) AF21 (DSCP 18) AF22 (DSCP 20) AF23 (DSCP 22) AF31 (DSCP 26) AF32 (DSCP 28) AF33 (DSCP 30) AF41 (DSCP 34) AF42 (DSCP 36) AF43 (DSCP 38) • Class Selector (CS)-This PHB has eight priority classes, with CS7 representing the highest priority, and CS0 representing the lowest priority, as shown below. CS PHB is described in RFC 2474. Table 19 Class selector priority classes Priority Class Selector DSCP Highest CS7 56 CS6 48 CS5 40 CS4 32 CS3 24 Quality of Service 80

  • 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
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

Quality of Service 80
Using DSCP values to provide QoS
The six most significant bits in the TOS byte of the IP header are defined as DiffServ Code Points (DSCP). Packets are
marked with a certain value depending on the type of treatment the packet must receive in the network device. DSCP
is a measure of the Quality of Service (QoS) level of the packet.
Differentiated Services concepts
To differentiate between traffic flows, packets can be classified by their DSCP value. The Differentiated Services (DS)
field in the IP header is an octet, and the first six bits, called the DS Code Point (DSCP), can provide QoS functions.
Each packet carries its own QoS state in the DSCP. There are 64 possible DSCP values (0-63).
Figure 12
Layer 3 IPv4 packet
The GbE2c can perform the following actions to the DSCP:
Read the DSCP value of ingress packets
Re-mark the DSCP value to a new value
Map the DSCP value to an 802.1p priority
Once the DSCP value is marked, the GbE2c can use it to direct traffic prioritization.
Per Hop Behavior
The DSCP value determines the Per Hop Behavior (PHB) of each packet. The PHB is the forwarding treatment given to
packets at each hop. QoS policies are built by applying a set of rules to packets, based on the DSCP value, as they
hop through the network.
The GbE2c default settings are based on the following standard PHBs, as defined in the IEEE standards:
Expedited Forwarding (EF)—This PHB has the highest egress priority and lowest drop precedence level. EF
traffic is forwarded ahead of all other traffic. EF PHB is described in RFC 2598.
Assured Forwarding (AF)—This PHB contains four service levels, each with a different drop precedence, as
shown below. Routers use drop precedence to determine which packets to discard last when the network
becomes congested. AF PHB is described in RFC 2597.
Table 18
Assured forwarding drop-down precedence
Drop Precedence
Class 1
Class 2
Class 3
Class 4
Low
AF11 (DSCP 10)
AF21 (DSCP 18)
AF31 (DSCP 26)
AF41 (DSCP 34)
Medium
AF12 (DSCP 12)
AF22 (DSCP 20)
AF32 (DSCP 28)
AF42 (DSCP 36)
High
AF13 (DSCP 14)
AF23 (DSCP 22)
AF33 (DSCP 30)
AF43 (DSCP 38)
Class Selector (CS)—This PHB has eight priority classes, with CS7 representing the highest priority, and CS0
representing the lowest priority, as shown below. CS PHB is described in RFC 2474.
Table 19
Class selector priority classes
Priority
Class Selector
DSCP
Highest
CS7
56
CS6
48
CS5
40
CS4
32
CS3
24