6-1
6
Quality of Service (QoS): Managing
Bandwidth More Effectively
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
QoS Types for Prioritizing Outbound Packets . . . . . . . . . . . . . . . . . . . 6-9
Packet Types and Evaluation Order . . . . . . . . . . . . . . . . . . . . . . . 6-10
Preparation for Configuring QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
Steps for Configuring QoS on the Switch . . . . . . . . . . . . . . . . . . . 6-13
Planning a QoS Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
Prioritizing and Monitoring QoS Configuration Options . . . . . . 6-15
QoS Resource Usage and Monitoring . . . . . . . . . . . . . . . . . . . . . . 6-15
Planning and Monitoring Rule Usage . . . . . . . . . . . . . . . . . . . . . . 6-16
Managing QoS Resource Consumption . . . . . . . . . . . . . . . . . . . . . 6-16
Troubleshooting a Shortage of Resources . . . . . . . . . . . . . . . . . . 6-17
Using QoS Types To Configure QoS for Outbound Traffic . . . . . . . . . . . . 6-18
Viewing the QoS Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-18
No Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-19
QoS UDP/TCP Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-20
Assigning 802.1p Priority Based on TCP or UDP Port Number . 6-21
Assigning a DSCP Policy Based on TCP or UDP Port Number . 6-22
QoS IP-Device Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-27
Assigning a Priority Based on IP Address . . . . . . . . . . . . . . . . . . . 6-28
Assigning a DSCP Policy Based on IP Address . . . . . . . . . . . . . . 6-29
QoS IP Type-of-Service (ToS) Policy and Priority . . . . . . . . . . . . . . . 6-33
Assigning an 802.1p Priority to IPv4 Packets on the Basis
of the ToS Precedence Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-34
Assigning an 802.1p Priority to IPv4 Packets on the Basis
of Incoming DSCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35
Assigning a DSCP Policy on the Basis of the DSCP in IPv4
Packets Received from Upstream Devices . . . . . . . . . . . . . . . . . . 6-39
Details of QoS IP Type-of-Service . . . . . . . . . . . . . . . . . . . . . . . . . 6-43