Enterprise QoS Solution Reference Network Design Guide
Enterprise QoS Solution Reference Network Design Guide
Enterprise QoS Solution Reference Network Design Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 2 Campus <strong>QoS</strong> <strong>Design</strong><br />
Version 3.3<br />
Catalyst 3550—<strong>QoS</strong> Considerations and <strong>Design</strong><br />
Note The default queue limits are such that each queue is assigned 25% of the available buffer space. It should<br />
be noted that when the queue limits are modified, the queue is temporarily shutdown during the hardware<br />
reconfiguration and the switch may drop newly-arrived packets destined to the queue. Thus, it may be<br />
advisable not to tune the queue limits on Catalyst 3550 switches already in production networks.<br />
Additionally, WRED is enabled on each (non-priority) queue. This allows for the preferential treatment<br />
of Bulk Data (DSCP AF11) over Scavenger (CS1) within Q1, as well as the preferential treatment of<br />
Internetworking/<strong>Network</strong>ing protocols (DSCP CS6 and CS7, respectively) over all other applications<br />
assigned to Q3. Even though Q2 has only Best Effort traffic assigned to it, enabling WRED on this queue<br />
increases the efficiency of TCP applications within this queue during periods of congestion.<br />
A low WRED threshold, such as 40%, can be set for Q1 to aggressively drop Scavenger traffic in order<br />
to preferentially service Bulk Data. The WRED thresholds for Q2 and Q3 can be set to higher levels,<br />
such as 80%.<br />
By default all DSCP values are mapped to the first WRED threshold of the queue to which their CoS<br />
values are assigned. Therefore, only DSCP values that are to be mapped to the second WRED thresholds<br />
(of their respective queues) need to be manually configured. In this case, Bulk Data (DSCP AF11/10),<br />
Internetwork Control (DSCP CS6/48), and <strong>Network</strong> Control (DSCP CS7/56) all need to be explicitly<br />
mapped to the second WRED threshold via the wrr-queue dscp-map interface configuration command.<br />
Note <strong>Network</strong> control traffic in the campus primarily refers to Spanning Tree Protocol (STP) traffic, such as<br />
Bridge Protocol Data Units (BPDUs). While these Layer 2 Ethernet frames are marked CoS 7, they<br />
(obviously) do not have any capability to carry Layer 3 DSCP markings. Thus, it may seem moot to map<br />
DSCP CS7 (56) to a higher WRED threshold. However, it should be kept in mind that Catalyst switches<br />
generate Internal DSCP values for all frames (regardless of whether they are carrying IP or not). These<br />
Internal DSCP values are used for <strong>QoS</strong> decisions, such as WRED in this case. Therefore, since STP<br />
BPDU frames (marked CoS 7) generate an Internal DSCP value of 56, mapping DSCP 56 to the second<br />
threshold of Q3 provides preferential treatment for these important Layer 2 frames.<br />
The configuration for these tuning options, which are available only on GigabitEthernet interfaces on the<br />
Catalyst 3550, is shown below.<br />
Example 2-23 Catalyst 3550 GigabitEthernet Interface Queuing and Dropping Configuration—1P3Q2T<br />
CAT3550(config)#interface range GigabitEthernet 0/1 – 2<br />
CAT3550(config-if-range)# wrr-queue bandwidth 5 25 70 1<br />
! Q1 gets 5% BW, Q2 gets 25% BW, Q3 gets 70% BW, Q4 is the PQ<br />
CAT3550(config-if-range)# wrr-queue queue-limit 5 25 40 30<br />
! Tunes buffers to 5% for Q1, 25% for Q2, 40% for Q3 and 30% for Q4<br />
CAT3550(config-if-range)# wrr-queue random-detect max-threshold 1 40 100<br />
! Sets Q1 WRED threshold 1 to 40% and threshold 2 to 100%<br />
CAT3550(config-if-range)# wrr-queue random-detect max-threshold 2 80 100<br />
! Sets Q2 WRED threshold 1 to 80% and threshold 2 to 100%<br />
CAT3550(config-if-range)# wrr-queue random-detect max-threshold 3 80 100<br />
! Sets Q3 WRED threshold 1 to 80% and threshold 2 to 100%<br />
CAT3550(config-if)# wrr-queue cos-map 1 1 ! Assigns Scavenger to Q1<br />
CAT3550(config-if)# wrr-queue cos-map 2 0 ! Assigns Best Effort to Q2<br />
CAT3550(config-if)# wrr-queue cos-map 3 2 3 4 6 7 ! Assigns CoS 2,3,4,6,7 to Q3<br />
CAT3550(config-if)# wrr-queue cos-map 4 5 ! Assigns VoIP to Q4 (PQ)<br />
CAT3550(config-if-range)# wrr-queue dscp-map 2 10 48 56<br />
! Maps Bulk Data (10), Routing (48) and Spanning Tree (Internal DSCP 56)<br />
! to WRED threshold 2 of their respective queues – all other DSCP values<br />
! are mapped (by default) to WRED threshold 1 of their respective queues<br />
CAT3550(config-if)# priority-queue out ! Enables Q4 as PQ<br />
<strong>Enterprise</strong> <strong>QoS</strong> <strong>Solution</strong> <strong>Reference</strong> <strong>Network</strong> <strong>Design</strong> <strong>Guide</strong><br />
2-43