CCVP QOS Quick Reference Sheets

Similar documents
Basics (cont.) Characteristics of data communication technologies OSI-Model

"Charting the Course... Implementing Cisco Quality of Service (QOS) Course Summary

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Modular Quality of Service Overview on Cisco IOS XR Software

Implementing Cisco Quality of Service 2.5 (QOS)

Real-Time Protocol (RTP)

Advanced Computer Networks

QoS Technology White Paper

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Lecture 14: Performance Architecture

QOS Section 6. Weighted Random Early Detection (WRED)

Queuing Mechanisms. Overview. Objectives

Exam: Title : Quality of Service (QOS) Ver :

Congestion Management Overview

Multicast and Quality of Service. Internet Technologies and Applications

Sharing Bandwidth Fairly During Congestion

fair-queue aggregate-limit

CCNP 4 Version 5 Module 3

Congestion Management Overview

Congestion Management Overview

The Quickest Way To Get Certified. Cisco (QOS) Quality of Service. Version 2.0

Mohammad Hossein Manshaei 1393

IP QOS Theory and Practice. eng. Nikolay Milovanov CCIE SP# 20094

QoS in IPv6. Madrid Global IPv6 Summit 2002 March Alberto López Toledo.

Part1: Lecture 4 QoS

Improving QOS in IP Networks. Principles for QOS Guarantees

Cisco Optimizing Converged Cisco Networks. Practice Test. Version

H3C S9500 QoS Technology White Paper

Marking Traffic CHAPTER

Lecture Outline. Bag of Tricks

DiffServ Architecture: Impact of scheduling on QoS

This chapter covers the following subjects:

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

NETLOGIC TRAINING CENTER

EE 122: Differentiated Services

Quality of Service (QoS) Computer network and QoS ATM. QoS parameters. QoS ATM QoS implementations Integrated Services Differentiated Services

ip rsvp reservation-host

Internet Services & Protocols. Quality of Service Architecture

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

RSVP Scalability Enhancements

Configuring QoS CHAPTER

Maintaining Cisco Service Provider Quality of Service

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

CSE 123b Communications Software

Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

Master Course Computer Networks IN2097

Presentation Outline. Evolution of QoS Architectures. Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Quality of Service. Ib Hansen TECRST-2500_c Cisco Systems, Inc. All rights reserved. Cisco Public 1

Quality of Service (QoS)

Understanding How Routing Updates and Layer 2 Control Packets Are Queued on an Interface with a QoS Service Policy

QoS Technology White Paper

Master Course Computer Networks IN2097

Quality of Service (QoS)

Internet Quality of Service: an Overview

Chapter 6: Congestion Control and Resource Allocation

Introducing IP Quality of Service

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Telecommunication Services Engineering Lab. Roch H. Glitho

Network Support for Multimedia

Quality of Service (QoS)

Table of Contents. Cisco Quality of Service Options on GRE Tunnel Interfaces

Tutorial 9 : TCP and congestion control part I

Before configuring standard QoS, you must have a thorough understanding of these items: Standard QoS concepts.

Quality of Service in the Internet

Quality of Service in the Internet

Order of Packet Transmission and Dropping

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Leaky Bucket Algorithm

Configuring QoS. Understanding QoS CHAPTER

Cisco. Implementing Cisco Service Provider Next-Generation Core Network Services Version: Demo. Web:

Configuring QoS CHAPTER

QoS in a SOHO Virtual Private Network for IP Telephony

Configuring QoS CHAPTER

QoS v6.0. QoS v6.0 VGN

Register Bit Name Description Default Global Ctrl Reg 2 SGCR2. Table 1. Registers are used for Common and Egress Port Setting

Overview of DiffServ for Quality of Service

Differentiated Services

Towards Service Differentiation on the Internet

Problems with IntServ. EECS 122: Introduction to Computer Networks Differentiated Services (DiffServ) DiffServ (cont d)

Setting Up Quality of Service

Configuring priority marking 63 Priority marking overview 63 Configuring priority marking 63 Priority marking configuration example 64

A Differentiated Services API for Adaptive QoS Management in IP Networks

Internetwork Expert s CCNP Bootcamp. Layer 2 Voice & Video Support. Power Over Ethernet. Required to centrally power small devices

Sections Describing Standard Software Features

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Contents. QoS overview 1

Marking Network Traffic

ENSC 427 Communication Networks Final Project Presentation Spring Comparison and analysis of FIFO, PQ, and WFQ Disciplines in OPNET

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

of-service Support on the Internet

Multimedia Networking

WRED Explicit Congestion Notification

Exam : Title : Quality of Service Exam (QoS) Ver :

Quality of Service Commands policy-map. This command has no default behavior or values.

Order of Packet Transmission and Dropping

Before configuring standard QoS, you must have a thorough understanding of these items:

Real-Time Control Protocol (RTCP)

Lecture 13. Quality of Service II CM0256

GUARANTEED END-TO-END LATENCY THROUGH ETHERNET

Transcription:

Why You Need Quality of Service (QoS)...3 QoS Basics...5 QoS Deployment...6 QoS Components...6 CCVP QOS Quick Reference Sheets Basic QoS Configuration...11 Traffic Classification and Marking...15 Queuing...26 Weighted Random Early Detection (WRED)...34 Kevin Wallace Traffic Conditioners...39 QoS on Slow-Speed Links...46 QoS Design Guidelines...51 ciscopress.com

[ 3 ] WHY YOU NEED QUALITY OF SERVICE (QoS) Why You Need Quality of Service (QoS) The networks of yesteryear physically separated voice, video, and data traffic. Literally, these traffic types flowed over separate media (for example, leased lines or fiber-optic cable plants). Today, however, network designers are leveraging the power of the data network to transmit voice and video, thus achieving significant cost savings by reducing equipment, maintenance, and even staffing costs. The challenge, however, with today s converged networks is that multiple applications are contending for bandwidth, and some applications such as, voice can be more intolerant of delay (that is, latency) than other applications such as, an FTP file transfer. A lack of bandwidth is the overshadowing issue for most quality problems. When a lack of bandwidth exists, packets can suffer from one or more of the following symptoms: n Delay Delay is the time that is required for a packet to travel from its source to its destination. You might witness delay on the evening news, when the news anchor is talking through satellite to a foreign news correspondent. Because of the satellite delay, the conversation begins to feel unnatural. n Jitter Jitter is the uneven arrival of packets. For example, consider that in a Voice over IP (VoIP) conversation, packet 1 arrives. Then, 20 ms later, packet 2 arrives. After another 70 ms, packet 3 arrives, and then packet 4 arrives 20 ms behind packet 3. This variation in arrival times (that is, variable delay) is not dropping packets, but this jitter can be interpreted by the listener as dropped packets. n Drops Packet drops occur when a link is congested and a buffer overflows. Some types of traffic, such as User Datagram Protocol (UDP) traffic (for example, voice), are not retransmitted if packets are dropped. Fortunately, quality of service (QoS) features that are available on Cisco routers and switches can recognize your important traffic and then treat that traffic in a special way. For example, you might want to allocate 128 kbps of bandwidth for your VoIP traffic and also give that traffic priority treatment. Consider water that is flowing through a series of pipes with varying diameters. The water s flow rate through those pipes is limited to the water s flow rate through the pipe with the smallest diameter. Similarly, as a packet travels from its source to its destination, its effective bandwidth is the bandwidth of the slowest link along that path.

[ 4 ] WHY YOU NEED QUALITY OF SERVICE (QoS) Effective Bandwidth carpool lane. These cars have a higher priority on the highway. Similarly, you can use QoS features to give your mission-critical applications higher-priority treatment in times of network congestion. 256 Kbps 1.544 Mbps 1.544 Mbps 512 Kbps Some of the QoS features that can address issues of delay, jitter, and packet loss include the following: 10 Mbps 100 Mbps The weakest link between the two stations is the effective bandwidth between those stations. Because your primary challenge is a lack of bandwidth, the logical question is, How do you increase available bandwidth? A knee-jerk response to that question is often, Add more bandwidth. Although adding more bandwidth is the best solution, it comes at a relatively high cost. Compare your network to a highway system in a large city. During rush hour, the lanes of the highway are congested, but the lanes can be underutilized during other periods of the day. Instead of just building more lanes to accommodate peak traffic rates, the highway engineers add carpool lanes. Cars with two or more riders can use the reserved n Queuing Queuing can send higher-priority traffic ahead of lower-priority traffic and make specific amounts of bandwidth available for those traffic types. Examples of queuing strategies that you consider later in these Quick Reference Sheets include the following: n Priority Queuing (PQ) n Custom Queuing (CQ) n Modified Deficit Round Robin (MDRR) queuing n Weighted Fair Queuing (WFQ) n Class-Based WFQ (CB-WFQ) n Low Latency Queuing (LLQ) n Compression By compressing a packet s header or payload, fewer bits are sent across the link. This effectively gives you more bandwidth.

[ 5 ] QoS BASICS QoS Basics The mission statement of QoS could read something like to categorize traffic and apply a policy to those traffic categories, in accordance with a QoS policy. Specifically, QoS configuration involves the following three basic steps: 1. Determine network performance requirements for various traffic types. For example, consider the following design rules of thumb for voice, video, and data traffic: Voice: n No more than 150 ms of one-way delay n No more than 30 ms of jitter n No more than 1 percent packet loss Video: n No more than 150 ms of one-way delay for interactive voice applications (for example, videoconferencing) n No more than 30 ms of jitter n No more than 1 percent packet loss Data: Applications have varying delay and loss characteristics. Therefore, data applications should be categorized into predefined classes of traffic, where each class is configured with specific delay and loss characteristics. 2. Categorize traffic into specific categories. For example, you can have a category named Low Delay, and you decide to place voice and video packets in that category. You can also have a Low Priority class, where you place traffic such as music downloads from the Internet. As a rule of thumb, Cisco recommends that you create no more that ten classes of traffic. 3. Document your QoS policy and make it available to your users. Then, for example, if a user complains that his network gaming applications are running slowly, you can point him to your corporate QoS policy, which describes how applications such as network gaming have best-effort treatment.

[ 6 ] QoS COMPONENTS QoS Deployment Cisco offers the following four basic approaches for QoS deployment in your network: n Command-Line Interface (CLI) The CLI is the standard IOS (or Cat OS) interface that configures routers or switches. CLI QoS features such as Priority Queuing (PQ) or Custom Queuing (CQ), which are configured through the CLI, have been available for many years. n Modular QoS CLI (MQC) Instead of using the CLI to configure QoS parameters for one interface at a time, the three-step MQC process allows you to (1) place packets into different classes, (2) assign a policy for those classes, and (3) apply the policy to an interface. Because the approach is modular, you can apply a single policy to multiple interfaces. n AutoQoS AutoQoS is a script that is executed on routers or switches that automates the process of QoS configuration. Specifically, this automatic configuration helps optimize QoS performance for VoIP traffic. n QoS Policy Manager (QPM) QPM, in conjunction with CiscoWorks, centralizes QoS configuration. Policies that are created with QPM can be pushed out to routers throughout an enterprise, thus reducing the potential for misconfiguration. QoS Components Cisco offers a wealth of QoS resources on its switch and router platforms. These resources are classified into one of three categories, which are discussed in this section. The category of QoS resources used most often in production, however, is the Differentiated Services category, which offers greater scalability and flexibility than the resources found in the Best-Effort or Integrated Services categories. QoS Categories All of the Cisco QoS features are categorized into one of the following three categories: n Best-Effort Best-Effort does not truly provide QoS, because there is no reordering of packets. Best-Effort uses the first-in firstout (FIFO) queuing strategy, where packets are emptied from a queue in the same order in which they entered it. n Integrated Services (IntServ) IntServ is often referred to as Hard QoS because it can make strict bandwidth reservations. IntServ uses signaling among network devices to provide bandwidth reservations. Resource Reservation Protocol (RSVP) is an example of an IntServ approach to QoS. Because IntServ must be configured on every router along a packet s path, the main drawback of IntServ is its lack of scalability.

[ 7 ] QoS COMPONENTS n Differentiated Services (DiffServ) DiffServ, as the name suggests, differentiates between multiple traffic flows. Specifically, packets are marked, and routers and switches can then make decisions (for example, dropping or forwarding decisions) based on those markings. Because DiffServ does not make an explicit reservation, it is often called Soft QoS. The focus of these Quick Reference Sheets is DiffServ, as opposed to IntServ or Best-Effort. QoS Categories ToS Byte IP Precedence Type of Service (ToS) Byte IPv4 Packet 1 2 3 4 5 6 7 8 DSCP Inside an IPv4 header is a Type of Service (ToS) byte. The three left bits in that byte can be used to mark the packet with an IP Precedence value (0 7). Alternatively, the six left bits in the ToS byte can be used to mark the packet with a DSCP value (0 63). Best- Effort DiffServ IntServ Not Strict Less Strict Strict Best-Effort does not perform reordering of packets. DiffServ differentiates between flows and assigns policies to those flows. IntServ makes a strict bandwidth reservation for an application. DiffServ Now that you understand the importance that marking plays in a DiffServ QoS solution, you can learn how packets can be marked. Inside an IPv4 header is a byte called the type of service (ToS) byte. You can mark packets, using bits within the ToS byte, with either IP Precedence or Differentiated Service Code Point (DSCP) markings. IP Precedence uses the 3 leftmost bits in the ToS byte. With 3 bits at its disposal, IP Precedence markings can range from 0 to 7. However, values 6 and 7 should not be used, because those values are reserved for network use. For more granularity, you can choose DSCP, which uses the 6 leftmost bits in the ToS byte. Six bits yield 64 possible values (0 to 63). The challenge with so many values at your disposal is that the value you choose to represent a certain level of priority can be treated differently by a router or switch under someone else s administration. To maintain relative levels of priority among devices, the Internet Engineering Task Force (IETF) selected a subset of those 64 values for use. These values are called per-hop behaviors (PHBs) because they indicate how packets should be treated by each router hop along the path from the source to the destination.