Quality of Service (QoS): Managing Bandwidth More Effectively
Using QoS Classifiers To Configure QoS for Outbound Traffic
QoS IP
| QoS Classifier Precedence: 3 |
| This feature applies only to IPv4 traffic and performs either of the following: |
| ■ ToS |
| and applications include precedence bits in the ToS byte. Using this mode, |
| the switch uses these bits to compute and assign the corresponding 802.1p |
| priority. |
| ■ ToS Differentiated Services (Diffserv) Mode: This mode requires |
| knowledge of the codepoints set in IP packets by the upstream devices |
| and applications. It uses the ToS codepoint in IP packets coming from |
| upstream devices and applications to assign 802.1p priorities to the pack |
| ets. You can use this option to do both of the following: |
| • Assign a New Prioritization Policy: A “policy” includes both a |
| codepoint and a corresponding 802.1p priority. This option selects an |
| incoming IPv4 packet on the basis of its codepoint and assigns a new |
| codepoint and corresponding 802.1p priority. (Use the qos |
| command to specify a priority for any |
| • Assign an 802.1p Priority: This option reads the DSCP of an |
| incoming IPv4 packet and, without changing this codepoint, assigns |
| the 802.1p priority to the packet, as configured in the DSCP Policy |
| Table (page |
| configured for a DSCP before the switch will attempt to perform a |
| QoS match on the packet’s DSCP bits. |
| Before configuring the ToS Diffserv mode, you must use the |
| command to configure the desired 802.1p priorities for the codepoints you |
| want to use for either option. This command is illustrated in the following |
| examples and is described under “Differentiated Services Codepoint |
| |
| Unless |
| setting), enabling one automatically disables the other. For more on ToS |
| operation, refer to “Details of QoS IP |
|
|
N o t e s | On switches covered in this guide, “mixing” ToS DSCP policies and 802.1p |
| priorities is not recommended. Refer to the Note on page |
| |
| on |
| |
|
|