© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.

Slides:



Advertisements
Similar presentations
Quality of Service CCDA Quick Reference.
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring LAN Congestion Management.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Tiziana Ferrari Differentiated Services Test: Report1 Differentiated Service Test REPORT TF-TANT Tiziana Ferrari Frankfurt, 1 Oct.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.7: Introducing Traffic Policing and Shaping.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations.
© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring FIFO and WFQ.
Managing Network Performance Queuing & Compression.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.10: Deploying End-to-End QoS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Configuring LAN Classification and Marking
Internet QoS Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE CS/ECE 438: Communication Networks.
Tiziana FerrariQuality of Service for Remote Control in the High Energy Physics Experiments CHEP, 07 Feb Quality of Service for Remote Control in.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.1: Introducing Classification and Marking.
Optimizing Converged Cisco Networks (ONT)
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.5: Configuring CBWFQ and LLQ.
© 2001, Cisco Systems, Inc. Traffic Shaping and Policing.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Implement the DiffServ QoS Model
© 2001, Cisco Systems, Inc. IP over ATM. © 2001, Cisco Systems, Inc. QOS v1.0—10-2 Objectives Upon completing this module, you will be able to: List the.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 4 - Introducing QOS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Optimizing Converged Cisco Networks (ONT)
3.4: Using MQC for Implementing QoS
© 2001, Cisco Systems, Inc. Classification and Marking.
1 © 2001, Cisco Systems. MPLS-QoS Jay Kumarasamy
CHAPTER 8 Quality of Service. Integrated services (IntServ) Ensure that a specific flow of traffic is going to receive the appropriate level of bandwidth.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
Quality of Service (QoS)
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Oppenheimer.
© 2001, Cisco Systems, Inc. Signaling Mechanism. © 2001, Cisco Systems, Inc. QOS v1.0—7-2 Objectives Upon completing this module, you will be able to:
Example Applications needing Advanced Services Campus Focused Workshop on Advanced Networks Atlanta, GA.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 10 – Implementing Auto-QOS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.2: Using NBAR for Classification.
© 2001, Cisco Systems, Inc. IP over MPLS. © 2001, Cisco Systems, Inc. QOS v1.0—11-2 Objectives Upon completing this module, you will be able to: Describe.
© 2001, Cisco Systems, Inc. Modular QoS CLI Classification.
ACL & QoS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
Voip Over PPP Links With Qos Mohammad ali kordmostafapour.
Topic 4: Quality of Service. Need for QoS If we don’t use QoS, the following problems may arise: Jitter Insufficient Bandwidth Delay Information Loss.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
© 2006 Cisco Systems, Inc. All rights reserved. 3.5: Implementing QoS with Cisco AutoQoS.
Modular Policy Framework (MPF)
Queuing Mechanisms.
Analysis of QoS Arjuna Mithra Sreenivasan. Objectives Explain the different queuing techniques. Describe factors affecting network voice quality. Analyse.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNP 1 v3.0 Module 1 Overview of Scalable Internetworks.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 9 - WAN Link Efficiency Mechanisms.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 5: Implement Cisco AutoQoS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 7 - Queuing Implementations.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.3: Introducing Queuing Implementations.
Queue Scheduling Disciplines
Chapter 6. Configuring Queuing to Manage Traffic.
© 2001, Cisco Systems, Inc. Modular QoS CLI Service Policy.
© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.6: Congestion Avoidance.
© 2006 Cisco Systems, Inc. All rights reserved. 3.2: Implementing QoS.
Lecture 8 -Traffic Management
© 2003, Cisco Systems, Inc. All rights reserved..
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Instructor Materials Chapter 6: Quality of Service
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Copyright 2010 Cisco Press & Priscilla Oppenheimer.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Quality of Service What is QoS? When is it needed?
Module 4: Implement the DiffServ QoS Model
Presentation transcript:

© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model

© 2006 Cisco Systems, Inc. All rights reserved. Module 4: Implement the DiffServ QoS Model Lesson 4.5: Configuring CBWFQ and LLQ

© 2006 Cisco Systems, Inc. All rights reserved. Objectives  Describe Class-Based Weighted Fair Queuing (CBWFQ), including traffic classification and scheduling methods.  Describe the benefits and drawbacks of CBWFQ.  Explain the method of configuring and monitoring CBWFQ.  Describe Low Latency Queuing (LLQ).  Identify the problems solved when using LLQ.  Explain the method of configuring and monitoring LLQ.

© 2006 Cisco Systems, Inc. All rights reserved. Combining Queuing Methods  Basic methods are combined to create more versatile queuing mechanisms.

© 2006 Cisco Systems, Inc. All rights reserved. Class-Based Weighted Fair Queuing  CBWFQ is a mechanism that is used to guarantee bandwidth to classes.  CBWFQ extends the standard WFQ functionality to provide support for user-defined traffic classes: Classes are based on user-defined match criteria. Packets satisfying the match criteria for a class constitute the traffic for that class.  A queue is reserved for each class, and traffic belonging to a class is directed to that class queue.

© 2006 Cisco Systems, Inc. All rights reserved. CBWFQ Architecture

© 2006 Cisco Systems, Inc. All rights reserved. CBWFQ Classification  Classification uses class maps.  Availability of certain classification options depends on the Cisco IOS version.  Some classification options depend on type of interface and encapsulation where service policy is used.  For example: Matching on Frame Relay discard-eligible bits can be used only on interfaces with Frame Relay encapsulation. Matching on MPLS experimental bits has no effect if MPLS is not enabled. Matching on ISL priority bits has no effect if ISL is not used.

© 2006 Cisco Systems, Inc. All rights reserved. CBWFQ Scheduling Mechanisms  CBWFQ guarantees bandwidth according to weights assigned to traffic classes.  Weights are internally calculated from bandwidth or its percentage.  Bandwidth availability can be defined by specifying: Bandwidth (in kbps) Percentage of bandwidth (percentage of available interface bandwidth) Percentage of remaining available bandwidth  One service policy cannot have mixed types of weights.  The show interface command can be used to display the available bandwidth.

© 2006 Cisco Systems, Inc. All rights reserved. Available Bandwidth  Available bandwidth is calculated according to the following formula: By default, 75 percent of the interface bandwidth can be used by CBWFQ and LLQ. To specify a specific amount of bandwidth to be allocated, the MaxReservable variable can be changed using the max-reserved- bandwidth command.

© 2006 Cisco Systems, Inc. All rights reserved. CBWFQ Benefits and Drawbacks Benefits–Custom-defined classifications –Minimum bandwidth allocation –Finer granularity and scalability Drawback–Voice traffic can still suffer unacceptable delay

© 2006 Cisco Systems, Inc. All rights reserved. Configuring CBWFQ bandwidth router(config-pmap-c)# Allocates a fixed amount of bandwidth to a class Sets the value in kilobits per second bandwidth percent percent router(config-pmap-c)# Allocates a percentage of bandwidth to a class The configured (or default) interface bandwidth is used to calculate the guaranteed bandwidth bandwidth remaining percent percent router(config-pmap-c)# Allocates a percentage of available bandwidth to a class

© 2006 Cisco Systems, Inc. All rights reserved. Configuring CBWFQ (Cont.) queue-limit router(config-pmap-c)# Sets the maximum number of packets that this queue can hold. The default maximum is 64. fair-queue [number-of-dynamic-queues] router(config-pmap-c)# The class-default class can be configured to use WFQ. The number of dynamic queues is a power of 2 in the range from 16 to 4096, specifying the number of dynamic queues.

© 2006 Cisco Systems, Inc. All rights reserved. Example CBWFQ Configuration Router(config)#access-list 101 permit udp host host range Router(config-if)#access-list 102 permit udp host host range Router(config)#class-map class1 Router(config-cmap)#match access-group 101 Router(config-cmap)#exit Router(config)#class-map class2 Router(config-cmap)#match access-group 102 Router(config-cmap)#exit Router(config)#policy-map policy1 Router(config-pmap)#class class1 Router(config-pmap-c)#bandwidth 3000 Router(config-pmap-c)#queue-limit 30 Router(config-pmap-c)#exit Router(config-pmap)#class class2 Router(config-pmap-c)#bandwidth 2000 Router(config-pmap-c)#exit Router(config-pmap)#class class-default Router(config-pmap-c)#fair-queue Router(config-pmap-c)#exit

© 2006 Cisco Systems, Inc. All rights reserved. Monitoring CBWFQ show policy-map interface [interface] router> Displays parameters and statistics of CBWFQ Router#show policy-map interface FastEthernet0/0 Service-policy output: policy1 Class-map: class1 (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: access-group 101 Queueing Output Queue: Conversation 265 Bandwidth 3000 (kbps) Max Threshold 30 (packets) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Queueing Flow Based Fair Queueing

© 2006 Cisco Systems, Inc. All rights reserved. Low Latency Queuing (LLQ)  A priority queue is added to CBWFQ for real-time traffic.  High-priority classes are guaranteed: Low-latency propagation of packets Bandwidth  High-priority classes are also policed when congestion occurs—they then cannot exceed their guaranteed bandwidth.  Lower-priority classes use CBWFQ.

© 2006 Cisco Systems, Inc. All rights reserved. LLQ Architecture

© 2006 Cisco Systems, Inc. All rights reserved. LLQ Benefits  High-priority classes are guaranteed: Low-latency propagation of packets Bandwidth  Configuration and operation are consistent across all media types.  Entrance criteria to a class can be defined by an ACL: Not limited to UDP ports as with IP RTP priority Defines trust boundary to ensure simple classification and entry to a queue

© 2006 Cisco Systems, Inc. All rights reserved. Metering  Traffic is metered when congestion occurs  Priority traffic metering: Only during conditions of congestion Performed on a per-packet basis Restrains priority traffic to allocated bandwidth  Classes are policed and rate-limited individually.

© 2006 Cisco Systems, Inc. All rights reserved. Configuring LLQ priority bandwidth [burst] router(config-pmap-c)# Allocates a fixed amount of bandwidth (in kilobits per second) to a class and ensures expedited forwarding. Traffic exceeding the specified bandwidth is dropped if congestion exists; otherwise, policing is not used. priority percent percentage [burst] router(config-pmap-c)# Allocates a percentage of configured or default interface bandwidth to a class and ensures expedited forwarding. Traffic exceeding the specified bandwidth is dropped if congestion exists.

© 2006 Cisco Systems, Inc. All rights reserved. Configuring LLQ (Cont.) class-map voip match ip precedence 5 ! class-map mission-critical match ip precedence 3 4 ! class-map transactional match ip precedence 1 2 ! policy-map Policy1 class voip priority percent 10 class mission-critical bandwidth percent 30 class transactional bandwidth percent 20 class class-default fair-queue

© 2006 Cisco Systems, Inc. All rights reserved. Monitoring LLQ show policy-map interface interface router> Displays the packet statistics of all classes that are configured for all service policies on the specified interface or subinterface router>show policy-map interface fastethernet 0/0 FastEthernet0/0 Service-policy output: LLQ Class-map: LLQ (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Weighted Fair Queueing Strict Priority Output Queue: Conversation 264 Bandwidth 1000 (kbps) Burst (Bytes) (pkts matched/bytes matched) 0/0 (total drops/bytes drops) 0/0 Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any

© 2006 Cisco Systems, Inc. All rights reserved. Self Check 1.How does CBWFQ extend the functionality of WFQ? 2.What is the major drawback of using CBWFQ alone? 3.How can you override the 75 percent maximum sum allocated to all classes or flows for an interface? 4.How does strict-priority queuing handle delay- sensitive data, such as voice?

© 2006 Cisco Systems, Inc. All rights reserved. Summary  Class-Based Weighted Fair Queuing (CBWFQ) extends the standard WFQ functionality to provide support for user-defined traffic classes.  The CBWFQ mechanism calculates weights based on the available bandwidth. These weights are then used by the CBWFQ scheduling mechanism to dispatch the packets.  Low latency queuing (LLQ) is a combination of class- based weighted fair queuing (CBWFQ), which assigns weights according to bandwidth, and a priority system based on class that gives voice the priority it requires while ensuring that data is serviced efficiently.  LLQ extends CBWFQ by adding strict-priority queuing.

© 2006 Cisco Systems, Inc. All rights reserved. Q and A

© 2006 Cisco Systems, Inc. All rights reserved. Resources  QoS Congestion Management (queueing) ology_support_protocol_home.html  LLQ Command Reference 30/products_feature_guide09186a b13.html

© 2006 Cisco Systems, Inc. All rights reserved.