![](/user_photo/1438_p9ksI.png)
- •QoS Overview
- •“Do I Know This Already?” Quiz
- •QoS: Tuning Bandwidth, Delay, Jitter, and Loss Questions
- •Foundation Topics
- •QoS: Tuning Bandwidth, Delay, Jitter, and Loss
- •Bandwidth
- •The clock rate Command Versus the bandwidth Command
- •QoS Tools That Affect Bandwidth
- •Delay
- •Serialization Delay
- •Propagation Delay
- •Queuing Delay
- •Forwarding Delay
- •Shaping Delay
- •Network Delay
- •Delay Summary
- •QoS Tools That Affect Delay
- •Jitter
- •QoS Tools That Affect Jitter
- •Loss
- •QoS Tools That Affect Loss
- •Summary: QoS Characteristics: Bandwidth, Delay, Jitter, and Loss
- •Voice Basics
- •Voice Bandwidth Considerations
- •Voice Delay Considerations
- •Voice Jitter Considerations
- •Voice Loss Considerations
- •Video Basics
- •Video Bandwidth Considerations
- •Video Delay Considerations
- •Video Jitter Considerations
- •Video Loss Considerations
- •Comparing Voice and Video: Summary
- •IP Data Basics
- •Data Bandwidth Considerations
- •Data Delay Considerations
- •Data Jitter Considerations
- •Data Loss Considerations
- •Comparing Voice, Video, and Data: Summary
- •Foundation Summary
- •QoS Tools and Architectures
- •“Do I Know This Already?” Quiz
- •QoS Tools Questions
- •Differentiated Services Questions
- •Integrated Services Questions
- •Foundation Topics
- •Introduction to IOS QoS Tools
- •Queuing
- •Queuing Tools
- •Shaping and Policing
- •Shaping and Policing Tools
- •Congestion Avoidance
- •Congestion-Avoidance Tools
- •Call Admission Control and RSVP
- •CAC Tools
- •Management Tools
- •Summary
- •The Good-Old Common Sense QoS Model
- •GOCS Flow-Based QoS
- •GOCS Class-Based QoS
- •The Differentiated Services QoS Model
- •DiffServ Per-Hop Behaviors
- •The Class Selector PHB and DSCP Values
- •The Assured Forwarding PHB and DSCP Values
- •The Expedited Forwarding PHB and DSCP Values
- •The Integrated Services QoS Model
- •Foundation Summary
- •“Do I Know This Already?” Quiz Questions
- •CAR, PBR, and CB Marking Questions
- •Foundation Topics
- •Marking
- •IP Header QoS Fields: Precedence and DSCP
- •LAN Class of Service (CoS)
- •Other Marking Fields
- •Summary of Marking Fields
- •Class-Based Marking (CB Marking)
- •Network-Based Application Recognition (NBAR)
- •CB Marking show Commands
- •CB Marking Summary
- •Committed Access Rate (CAR)
- •CAR Marking Summary
- •Policy-Based Routing (PBR)
- •PBR Marking Summary
- •VoIP Dial Peer
- •VoIP Dial-Peer Summary
- •Foundation Summary
- •Congestion Management
- •“Do I Know This Already?” Quiz
- •Queuing Concepts Questions
- •WFQ and IP RTP Priority Questions
- •CBWFQ and LLQ Questions
- •Comparing Queuing Options Questions
- •Foundation Topics
- •Queuing Concepts
- •Output Queues, TX Rings, and TX Queues
- •Queuing on Interfaces Versus Subinterfaces and Virtual Circuits (VCs)
- •Summary of Queuing Concepts
- •Queuing Tools
- •FIFO Queuing
- •Priority Queuing
- •Custom Queuing
- •Weighted Fair Queuing (WFQ)
- •WFQ Scheduler: The Net Effect
- •WFQ Scheduling: The Process
- •WFQ Drop Policy, Number of Queues, and Queue Lengths
- •WFQ Summary
- •Class-Based WFQ (CBWFQ)
- •CBWFQ Summary
- •Low Latency Queuing (LLQ)
- •LLQ with More Than One Priority Queue
- •IP RTP Priority
- •Summary of Queuing Tool Features
- •Foundation Summary
- •Conceptual Questions
- •Priority Queuing and Custom Queuing
- •CBWFQ, LLQ, IP RTP Priority
- •Comparing Queuing Tool Options
- •“Do I Know This Already?” Quiz
- •Shaping and Policing Concepts Questions
- •Policing with CAR and CB Policer Questions
- •Shaping with FRTS, GTS, DTS, and CB Shaping
- •Foundation Topics
- •When and Where to Use Shaping and Policing
- •How Shaping Works
- •Where to Shape: Interfaces, Subinterfaces, and VCs
- •How Policing Works
- •CAR Internals
- •CB Policing Internals
- •Policing, but Not Discarding
- •Foundation Summary
- •Shaping and Policing Concepts
- •“Do I Know This Already?” Quiz
- •Congestion-Avoidance Concepts and RED Questions
- •WRED Questions
- •FRED Questions
- •Foundation Topics
- •TCP and UDP Reactions to Packet Loss
- •Tail Drop, Global Synchronization, and TCP Starvation
- •Random Early Detection (RED)
- •Weighted RED (WRED)
- •How WRED Weights Packets
- •WRED and Queuing
- •WRED Summary
- •Flow-Based WRED (FRED)
- •Foundation Summary
- •Congestion-Avoidance Concepts and Random Early Detection (RED)
- •Weighted RED (WRED)
- •Flow-Based WRED (FRED)
- •“Do I Know This Already?” Quiz
- •Compression Questions
- •Link Fragmentation and Interleave Questions
- •Foundation Topics
- •Payload and Header Compression
- •Payload Compression
- •Header Compression
- •Link Fragmentation and Interleaving
- •Multilink PPP LFI
- •Maximum Serialization Delay and Optimum Fragment Sizes
- •Frame Relay LFI Using FRF.12
- •Choosing Fragment Sizes for Frame Relay
- •Fragmentation with More Than One VC on a Single Access Link
- •FRF.11-C and FRF.12 Comparison
- •Foundation Summary
- •Compression Tools
- •LFI Tools
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Call Admission Control Overview
- •Call Rerouting Alternatives
- •Bandwidth Engineering
- •CAC Mechanisms
- •CAC Mechanism Evaluation Criteria
- •Local Voice CAC
- •Physical DS0 Limitation
- •Max-Connections
- •Voice over Frame Relay—Voice Bandwidth
- •Trunk Conditioning
- •Local Voice Busyout
- •Measurement-Based Voice CAC
- •Service Assurance Agents
- •SAA Probes Versus Pings
- •SAA Service
- •Calculated Planning Impairment Factor
- •Advanced Voice Busyout
- •PSTN Fallback
- •SAA Probes Used for PSTN Fallback
- •IP Destination Caching
- •SAA Probe Format
- •PSTN Fallback Scalability
- •PSTN Fallback Summary
- •Resource-Based CAC
- •Resource Availability Indication
- •Gateway Calculation of Resources
- •RAI in Service Provider Networks
- •RAI in Enterprise Networks
- •RAI Operation
- •RAI Platform Support
- •Cisco CallManager Resource-Based CAC
- •Location-Based CAC Operation
- •Locations and Regions
- •Calculation of Resources
- •Automatic Alternate Routing
- •Location-Based CAC Summary
- •Gatekeeper Zone Bandwidth
- •Gatekeeper Zone Bandwidth Operation
- •Single-Zone Topology
- •Multizone Topology
- •Zone-per-Gateway Design
- •Gatekeeper in CallManager Networks
- •Zone Bandwidth Calculation
- •Gatekeeper Zone Bandwidth Summary
- •Integrated Services / Resource Reservation Protocol
- •RSVP Levels of Service
- •RSVP Operation
- •RSVP/H.323 Synchronization
- •Bandwidth per Codec
- •Subnet Bandwidth Management
- •Monitoring and Troubleshooting RSVP
- •RSVP CAC Summary
- •Foundation Summary
- •Call Admission Control Concepts
- •Local-Based CAC
- •Measurement-Based CAC
- •Resources-Based CAC
- •“Do I Know This Already?” Quiz
- •QoS Management Tools Questions
- •QoS Design Questions
- •Foundation Topics
- •QoS Management Tools
- •QoS Device Manager
- •QoS Policy Manager
- •Service Assurance Agent
- •Internetwork Performance Monitor
- •Service Management Solution
- •QoS Management Tool Summary
- •QoS Design for the Cisco QoS Exams
- •Four-Step QoS Design Process
- •Step 1: Determine Customer Priorities/QoS Policy
- •Step 2: Characterize the Network
- •Step 3: Implement the Policy
- •Step 4: Monitor the Network
- •QoS Design Guidelines for Voice and Video
- •Voice and Video: Bandwidth, Delay, Jitter, and Loss Requirements
- •Voice and Video QoS Design Recommendations
- •Foundation Summary
- •QoS Management
- •QoS Design
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •The Need for QoS on the LAN
- •Layer 2 Queues
- •Drop Thresholds
- •Trust Boundries
- •Cisco Catalyst Switch QoS Features
- •Catalyst 6500 QoS Features
- •Supervisor and Switching Engine
- •Policy Feature Card
- •Ethernet Interfaces
- •QoS Flow on the Catalyst 6500
- •Ingress Queue Scheduling
- •Layer 2 Switching Engine QoS Frame Flow
- •Layer 3 Switching Engine QoS Packet Flow
- •Egress Queue Scheduling
- •Catalyst 6500 QoS Summary
- •Cisco Catalyst 4500/4000 QoS Features
- •Supervisor Engine I and II
- •Supervisor Engine III and IV
- •Cisco Catalyst 3550 QoS Features
- •Cisco Catalyst 3524 QoS Features
- •CoS-to-Egress Queue Mapping for the Catalyst OS Switch
- •Layer-2-to-Layer 3 Mapping
- •Connecting a Catalyst OS Switch to WAN Segments
- •Displaying QoS Settings for the Catalyst OS Switch
- •Enabling QoS for the Catalyst IOS Switch
- •Enabling Priority Queuing for the Catalyst IOS Switch
- •CoS-to-Egress Queue Mapping for the Catalyst IOS Switch
- •Layer 2-to-Layer 3 Mapping
- •Connecting a Catalyst IOS Switch to Distribution Switches or WAN Segments
- •Displaying QoS Settings for the Catalyst IOS Switch
- •Foundation Summary
- •LAN QoS Concepts
- •Catalyst 6500 Series of Switches
- •Catalyst 4500/4000 Series of Switches
- •Catalyst 3550/3524 Series of Switches
- •QoS: Tuning Bandwidth, Delay, Jitter, and Loss
- •QoS Tools
- •Differentiated Services
- •Integrated Services
- •CAR, PBR, and CB Marking
- •Queuing Concepts
- •WFQ and IP RTP Priority
- •CBWFQ and LLQ
- •Comparing Queuing Options
- •Conceptual Questions
- •Priority Queuing and Custom Queuing
- •CBWFQ, LLQ, IP RTP Priority
- •Comparing Queuing Tool Options
- •Shaping and Policing Concepts
- •Policing with CAR and CB Policer
- •Shaping with FRTS, GTS, DTS, and CB Shaping
- •Shaping and Policing Concepts
- •Congestion-Avoidance Concepts and RED
- •WRED
- •FRED
- •Congestion-Avoidance Concepts and Random Early Detection (RED)
- •Weighted RED (WRED)
- •Flow-Based WRED (FRED)
- •Compression
- •Link Fragmentation and Interleave
- •Compression Tools
- •LFI Tools
- •Call Admission Control Concepts
- •Local-Based CAC
- •Measurement-Based CAC
- •Resources-Based CAC
- •QoS Management Tools
- •QoS Design
- •QoS Management
- •QoS Design
- •LAN QoS Concepts
- •Catalyst 6500 Series of Switches
- •Catalyst 4500/4000 Series of Switches
- •Catalyst 3550/3524 Series of Switches
- •Foundation Topics
- •QPPB Route Marking: Step 1
- •QPPB Per-Packet Marking: Step 2
- •QPPB: The Hidden Details
- •QPPB Summary
- •Flow-Based dWFQ
- •ToS-Based dWFQ
- •Distributed QoS Group–Based WFQ
- •Summary: dWFQ Options
![](/html/1438/356/html_8qEWQlgVYy.fRAV/htmlconvd-rT6A6m706x1.jpg)
QoS Design for the Cisco QoS Exams 669
questions in the exam question database is somewhat proportional to the number of objectives. Therefore, the specific treatment of design in this chapter focuses on the issues relating to what could be on the exam.
You might see two main variations on QoS design on the exam. One variation is a four-step QoS design process that is recommended by the Cisco DQOS course. Recommendations for how to apply QoS tools with voice and video are also covered.
Four-Step QoS Design Process
Figure 9-3 outlines the four-step design process that is recommended in the Cisco DQOS course.
Figure 9-3 Four Steps for QoS Design
Step 1
Determine Customer
Priorities/QoS Policy
Step 4 |
Monitor the |
|
Characterize |
Step 2 |
Network |
|
the Network |
||
|
|
|
||
|
|
|
|
|
Implement
the Policy
Step 3
Figure 9-3 shows four tasks, each leading to the next in a continual circle. The process begins with determining priorities—what traffic should get more bandwidth? Less loss, jitter, and delay? The policies, however, typically define classes of traffic in general terms; you need to know the specifics of the traffic patterns so that you can configure the QoS tools to classify the traffic correctly. At Step 2, you characterize the traffic, which enables you to know how to configure the various classification features of the QoS tools. Then you can proceed with Step 3, where you actually configure the QoS tools. Finally, you need to monitor the network (Step 4) to determine whether you met the stated policy goals you determined in Step 1. The process continues over time, with the quality of the QoS implementation improving with each cycle. (Or at least you hope so!)
The following four sections provide more information about each step in the process.
![](/html/1438/356/html_8qEWQlgVYy.fRAV/htmlconvd-rT6A6m707x1.jpg)
670 Chapter 9: Management Tools and QoS Design
Step 1: Determine Customer Priorities/QoS Policy
One of the hardest parts of the four-step process is to reach agreement about which traffic is important, and which is not. The “problem statement” in Step 1 presumes that you work for a vendor, or a reseller, or a consulting company, and you are helping a customer. Even if you are making QoS design choices for your own company, you need to involve the people who know the applications and the business priorities in the network, and not just the guys who operate and engineer the network.
You may need to hold planning sessions with representatives from many departments and divisions from the same company, or you may just get the most capable people together in one room and come up with a plan. Regardless of how formally or informally you attack the problem, you should finish the process with a set of general statements like the following:
•The traffic needs to be classified into five different categories.
•Category 1 should get 30 percent of the bandwidth, and have low delay and low jitter. It consists of voice traffic only. The delay budget is 150 ms maximum one-way delay.
•Category 2 should get 15 percent of the bandwidth, with moderate delay, and high jitter allowed. Loss can also be as high as needed. Web traffic to the customer server farm is placed in this category.
•And so on . . .
Statements with this level of detail provide you with a good idea of what needs to be implemented. However, you may not know exactly how to configure the parameters for each QoS tool based on this level of depth. For instance, you probably memorized the range of UDP port numbers used for VoIP traffic after reading this book, but most people simply do not memorize such trivia—so on to Step 2!
Step 2: Characterize the Network
Now you can send most of your fellow QoS policy planners back to their normal jobs, and start analyzing the network. In short, at this step, you should perform a network audit. The results of the audit should be that you have an understanding of how much traffic is occurring regularly in the network, and what QoS behavior they are experiencing in regards to bandwidth, delay, jitter, and loss. The audit should answer several questions, such as the following:
•How can I uniquely identify the packets that belong to each category defined in the QoS policies?
•How much bandwidth is currently being used by each application? By each QoS policy class?
•How have the bandwidth requirements been growing per application, and per class?
•What are the voice call traffic patterns? What are the busy hour statistics?
![](/html/1438/356/html_8qEWQlgVYy.fRAV/htmlconvd-rT6A6m708x1.jpg)
QoS Design for the Cisco QoS Exams 671
•
•
What are the overall packet drop rates per link?
What is the current link utilization on each link?
Although this list of questions is a short sample, the questions illustrate some of the general issues you must know before deploying QoS policies. If the policy calls for 15 percent of the link for Category 2, as stated earlier, but those packets currently consume 60 percent of an almost fully utilized link today, you need to reconsider the policy, consider increasing bandwidth, enable compression, and so on.
You have several tools at your disposal for performing the network audit. First, you can enable network-based application recognition (NBAR) to start gathering statistics and packet/ byte/bit rates, and information about the types of traffic running through the network. You can also enable NetFlow statistic gathering in Cisco routers, which is another IOS tool, similar
to NBAR, which gathers statistics for types of packets. With NetFlow, the statistics can be gathered to a server for historical reporting, which can be very helpful in this repetitive fourstep process. Finally, you can always plug in your favorite network analyzer, many of which provide statistics of types of packet flows as well as the typical packet capture and analysis used when troubleshooting.
At the end of this step, you should have the same list of categories from Step 1, but now with enough information about how to go configure the QoS tools. This includes a classification and marking strategy, with each class specified, and the corresponding DSCP or precedence value identified. You should now be ready to implement specific QoS tools at Step 3.
Step 3: Implement the Policy
During this step of the design process, you have two main subtasks:
1To implement the trust boundary by using classification and marking
2To choose and implement the tools that affect bandwidth, delay, jitter, and loss
Recall from Chapter 3, “Classification and Marking,” that you should attempt to mark the packet closest to the source of the packet. By doing so, all other QoS tools can more efficiently classify the packet based on its specific marking, such as the IP Precedence or IP DSCP fields. Of course, you must also choose a trust boundary—the boundary between the devices from which you can trust the precedence or DSCP values, and the devices that you cannot. Figure 9-4 may remind you of some of the typical choices for trust boundaries.
![](/html/1438/356/html_8qEWQlgVYy.fRAV/htmlconvd-rT6A6m709x1.jpg)
672 Chapter 9: Management Tools and QoS Design
Figure 9-4 QoS Trust Boundaries
For packet sent by phone:
- Mark CoS/Precedence/DSCP to 5/5/EF
For PC’s packets:
- Re-mark CoS/Precedence/DSCP to 0/0/BE
Hannah
Depending on whether Precedence/DSCP was marked at SW1:
- Mark IP Prec or DSCP on ingress LAN
If ISL/802.1Q to SW1:
- Map incoming CoS to Prec. Or DSCP
IP |
SW1 |
R1 |
Jessie |
Can Mark Precedence and DSCP and CoS if trunking but will be
reset by phone (Hannah) or R1/SW1 (Jessie)
Depending on switch:
Trust -C&M based on Layer 3 details Boundary -C&M CoS field if layer 2 QoS only
Typically, at remote sites with no Layer 3 switching capabilities, you end up performing the classification and marking function on ingress to a WAN edge router. In larger campuses, classification and marking typically occur in a switch capable of performing Layer 3 marking. Marking can also occur in Cisco IP Phones.
Before implementing the rest of the QoS features, you need to decide which tools meet the requirements. For instance, you may have decided to shape traffic on WAN links, so you could use generic traffic shaping (GTS), class-based (CB) shaping, or Frame Relay traffic shaping (FRTS). If you use a Frame Relay WAN, and you want to perform FR fragmentation, however, you may have to use FRTS, because GTS and CB shaping do not allow FR fragmentation at the same time on all platforms. Therefore, you must next pick the tools that enable you to configure the defined policies.
Finally, you just need to configure the tools at the various points in the network. When completed, you need to know whether the configurations work, which brings you to Step 4.
Step 4: Monitor the Network
The monitoring step requires tools as well as effort. The tools have already been covered in this chapter—namely QDM, QPM, IPM, and SMS. With these tools, you can configure and monitor the network performance in real time and historically. However, creating reports is not enough— you must read them, interpret them, and begin the whole four-step process over again—at least if you want to do what is suggested by the DQOS course!