© Copyright IBM Corp. 2011
Chapter 11. Quality of Service
135
switch to perform specified actions on each packet that passes through it. The
packets are assigned to different Class of Service (COS) queues and scheduled for
transmission.
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 16. Layer 3 IPv4 packet
The switch 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 a Class of Service queue (COSq).
The switch can use the DSCP value to direct traffic prioritization.
With DiffServ, you can establish policies to direct traffic. A policy is a
traffic-controlling mechanism that monitors the characteristics of the traffic, (for
example, its source, destination, and protocol) and performs a controlling action on
the traffic when certain characteristics are matched.
Trusted/Untrusted Ports
By default, all ports on the G8000 are trusted. To configure untrusted ports, re-mark
the DSCP value of the incoming packet to a lower DSCP value using the following
commands:
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 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.
RS G8000(config)
#
interface port 1
RS G8000(config-if)
#
dscp-marking
RS G8000(config-if)
#
exit
RS G8000(config)
#
qos dscp dscp-mapping
<DSCP value (0-63)>
<new value>
RS G8000(config)
#
qos dscp re-marking
7 6 5 4 3 2 1 0
Differentiated Services Code Point (DSCP)
unused
Version
Length
ToS
Length
ID
Offset
TTL
Proto
FCS
DIP
SIP
Data
Summary of Contents for RackSwitch G8000
Page 1: ...RackSwitch G8000 Application Guide...
Page 2: ......
Page 3: ...RackSwitch G8000 Application Guide...
Page 16: ...16 RackSwitch G8000 Application Guide...
Page 22: ...20 RackSwitch G8000 Application Guide...
Page 23: ...Copyright IBM Corp 2011 21 Part 1 Getting Started...
Page 24: ...22 RackSwitch G8000 Application Guide...
Page 54: ...52 RackSwitch G8000 Application Guide...
Page 55: ...Copyright IBM Corp 2011 53 Part 2 Securing the Switch...
Page 56: ...54 RackSwitch G8000 Application Guide...
Page 92: ...90 RackSwitch G8000 Application Guide...
Page 94: ...92 RackSwitch G8000 Application Guide...
Page 144: ...142 RackSwitch G8000 Application Guide...
Page 145: ...Copyright IBM Corp 2011 143 Part 4 Advanced Switch ing Features...
Page 146: ...144 RackSwitch G8000 Application Guide...
Page 148: ...146 RackSwitch G8000 Application Guide...
Page 182: ...180 RackSwitch G8000 Application Guide...
Page 184: ...182 RackSwitch G8000 Application Guide...
Page 212: ...210 RackSwitch G8000 Application Guide...
Page 258: ...256 RackSwitch G8000 Application Guide...
Page 286: ...284 RackSwitch G8000 Application Guide...
Page 294: ...292 RackSwitch G8000 Application Guide...
Page 298: ...296 RackSwitch G8000 Application Guide...
Page 310: ...308 RackSwitch G8000 Application Guide...
Page 311: ...Copyright IBM Corp 2011 309 Part 7 Network Management...
Page 312: ...310 RackSwitch G8000 Application Guide...
Page 320: ...318 RackSwitch G8000 Application Guide...
Page 332: ...330 RackSwitch G8000 Application Guide...
Page 334: ...332 RackSwitch G8000 Application Guide...
Page 345: ...Copyright IBM Corp 2011 343 Part 9 Appendices...
Page 346: ...344 RackSwitch G8000 Application Guide...
Page 357: ...Copyright IBM Corp 2011 Appendix C Notices 355 Taiwan Class A compliance statement...