© 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 CS 457 Presentation Xue Gu Nov 15, 2001.
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.
24.1 Chapter 24 Congestion Control and Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 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
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Networks: Congestion Control1 Congestion Control.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
1 Quality of Service Outline Realtime Applications Integrated Services Differentiated Services.
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.
© 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
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
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.
Tiziana Ferrari Quality of Service Support in Packet Networks1 Quality of Service Support in Packet Networks Tiziana Ferrari Italian.
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)
Tiziana Ferrari Diffserv deployment in the wide area: network design and testing1 Diffserv deployment in the wide area: network design and testing Tiziana.
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:
Congestion Avoidance. Inner Mongolia University Objectives  Upon completing this module, you will be able to:  Describe random early detection (RED)
Building Differentiated Services Using the Assured Forwarding PHB Group Juha Heinänen Telia Finland Inc.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 4: Implement the DiffServ QoS Model.
Tiziana Ferrari Discussion on Less-Than Best-Effort services (LBE), TF-NFN Southampton Apr 02 1 Discussion on Less-than Best-Effort Services T.Ferrari.
© 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.
Link Scheduling & Queuing COS 461: Computer Networks
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
ACL & QoS.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
Scavenger performance Cern External Network Division - Caltech Datagrid WP January, 2002.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
A Practical Approach for Providing QoS: MPLS and DiffServ
Analysis of QoS Arjuna Mithra Sreenivasan. Objectives Explain the different queuing techniques. Describe factors affecting network voice quality. Analyse.
CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.
© 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.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
© 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.
© 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
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
© 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.
Implementing Quality of Service (QoS)
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
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.6: Congestion Avoidance

© 2006 Cisco Systems, Inc. All rights reserved. Objectives  Describe the limitations of using tail drop to manage interface congestion.  Explain Random Early Detection (RED) and how it is useful in managing interface congestion.  Compare Random Early Detection (RED) with Weighted Random Early Detection (WRED) and Class Based Random Early Detection (CBWRED).  Describe the process of configuring and monitoring CBWRED.

© 2006 Cisco Systems, Inc. All rights reserved. Managing Interface Congestion with Tail Drop  Router interfaces experience congestion when the output queue is full: Additional incoming packets are dropped. Dropped packets may cause significant application performance degradation. Tail drop has significant drawbacks.

© 2006 Cisco Systems, Inc. All rights reserved. Tail Drop Limitations  In some situations, simple tail drop should be avoided because it contains significant flaws: Dropping can affect TCP synchronization. Dropping can cause TCP starvation. There is no differentiated drop—high-priority traffic is dropped as easily as low-priority traffic.

© 2006 Cisco Systems, Inc. All rights reserved. TCP Synchronization  Multiple TCP sessions start at different times.  TCP window sizes are increased.  Tail drops cause many packets of many sessions to be dropped at the same time.  TCP sessions restart at the same time (synchronized).

© 2006 Cisco Systems, Inc. All rights reserved. TCP Delay, Jitter, and Starvation  Constant high buffer usage (long queue) causes delay.  Variable buffer usage causes jitter.  More aggressive flows can cause other flows to starve.  No differentiated dropping occurs.

© 2006 Cisco Systems, Inc. All rights reserved. Random Early Detection (RED)  Tail drop can be avoided if congestion is prevented.  RED is a mechanism that randomly drops packets before a queue is full.  RED increases drop rate as the average queue size increases.  RED result: TCP sessions slow to the approximate rate of output-link bandwidth. Average queue size is small (much less than the maximum queue size). TCP sessions are desynchronized by random drops.

© 2006 Cisco Systems, Inc. All rights reserved. RED Drop Profiles

© 2006 Cisco Systems, Inc. All rights reserved. RED Modes  RED has three modes: No drop: When the average queue size is between 0 and the minimum threshold Random drop: When the average queue size is between the minimum and the maximum threshold Full drop (tail drop): When the average queue size is above the maximum threshold  Random drop should prevent congestion (prevent tail drops).

© 2006 Cisco Systems, Inc. All rights reserved. TCP Traffic Before and After RED

© 2006 Cisco Systems, Inc. All rights reserved. Weighted Random Early Detection (WRED)  WRED can use multiple RED profiles.  Each profile is identified by: Minimum threshold Maximum threshold Mark probability denominator  WRED profile selection is based on: IP precedence (8 profiles) DSCP (64 profiles)  WRED drops less important packets more aggressively than more important packets.  WRED can be applied at the interface, VC, or class level.

© 2006 Cisco Systems, Inc. All rights reserved. WRED Building Blocks

© 2006 Cisco Systems, Inc. All rights reserved. Class-Based WRED (CBWRED)  Class-based WRED is available when configured in combination with CBWFQ.  Using CBWFQ with WRED allows the implementation of DiffServ Assured Forwarding PHB.  Class-based configuration of WRED is identical to stand-alone WRED.

© 2006 Cisco Systems, Inc. All rights reserved. DSCP-Based WRED (Expedited Forwarding)

© 2006 Cisco Systems, Inc. All rights reserved. Configuring CBWRED random-detect router(config-pmap-c)# Enables IP precedence-based WRED in the selected class within the service policy configuration mode. Default service profile is used. Command can be used at the interface, perVC (with random-detect-group), or at the class level (service policy). Precedence-based WRED is the default mode. WRED treats non-IP traffic as precedence 0. policy-map Policy1 class mission-critical bandwidth percent 30 random-detect class transactional bandwidth percent 20 random-detect class class-default fair-queue random-detect

© 2006 Cisco Systems, Inc. All rights reserved. Changing the WRED Traffic Profile  Changes WRED profile for specified IP precedence value.  Packet drop probability at maximum threshold is: 1 / mark-prob-denominator  Nonweighted RED is achieved by using the same WRED profile for all precedence values. random-detect precedence precedence min-threshold max-threshold mark-prob-denominator router(config-pmap-c)#

© 2006 Cisco Systems, Inc. All rights reserved. CBWFQ Using IP Precedence with CBWRED  Enable CBWFQ to prioritize traffic according to the following requirements: Class mission-critical is marked with IP precedence values 3 and 4 (3 is high drop, 4 is low drop) and should get 30% of interface bandwidth. Class bulk is marked with IP precedence values 1 and 2 (1 is high drop, 2 is low drop) and should get 20% of interface bandwidth. All other traffic should be per-flow fair-queued.  Use differentiated WRED to prevent congestion in all three classes.

© 2006 Cisco Systems, Inc. All rights reserved. Sample WRED Traffic Profile with CBWRED

© 2006 Cisco Systems, Inc. All rights reserved. WRED Profiles: DSCP-Based WRED (Assured Forwarding)

© 2006 Cisco Systems, Inc. All rights reserved. Configuring DSCP-Based CBWRED  Enables DSCP-based WRED.  Command can be used at the interface, perVC (with random detect group), or at the class level (service policy).  Default service profile is used.  The WRED random-detect command and the WFQ queue-limit command are mutually exclusive for class policy. random-detect dscp-based router(config-pmap-c)#

© 2006 Cisco Systems, Inc. All rights reserved. Changing the WRED Traffic Profile random-detect dscp dscpvalue min-threshold max-threshold mark- prob-denominator router(config-pmap-c)# Changes WRED profile for specified DSCP value Packet drop probability at maximum threshold is: 1 / mark-prob-denominator

© 2006 Cisco Systems, Inc. All rights reserved. CBWRED Using DSCP: Example  Enable CBWFQ to prioritize traffic according to the following requirements: Class mission-critical is marked using DSCP AF2 and should get 30% of interface bandwidth. Class bulk is marked using DSCP AF1 and should get 20% of interface bandwidth. All other traffic should be per-flow fair-queued.  Use differentiated WRED to prevent congestion in all three classes.  Make sure that the new configurations still conform to the design and implementation from the previous example.

© 2006 Cisco Systems, Inc. All rights reserved. CBWRED Using DSCP: Example (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved. Monitoring CBWRED show policy-map interface interface-name router# Displays the configuration of all classes configured for all service policies on the specified interface router#show policy-map interface Ethernet 0/0 Ethernet0/0 Service-policy output: Policy1 Class-map: Mission-critical (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: ip precedence 2 Match: ip dscp Weighted Fair Queueing Output Queue: Conversation 265 Bandwidth 30 (%) Bandwidth 3000 (kbps) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 exponential weight: 9 mean queue depth: 0 Dscp Transmitted Random drop Tail drop Minimum Maximum Mark (Prec) pkts/bytes pkts/bytes pkts/bytes threshold threshold probability 0(0) 0/00/00/ /10 1 0/00/0 0/ /10 2 0/00/0 0/ /10

© 2006 Cisco Systems, Inc. All rights reserved. Self Check 1.What is TCP global synchronization? 2.Why is global synchronization a problem? 3.What are the 3 drop modes of RED? 4.What IP precedence value does WRED assume for non-IP traffic? 5.What is the mark probability denominator?

© 2006 Cisco Systems, Inc. All rights reserved. Summary  Tail drop is the default queuing response to congestion. Tail drop treats all traffic equally and does not differentiate among classes of service. Tail drop can cause issues such as global synchronization or starvation.  Random Early Detection (RED) and Weighted Random Early Detection (WRED) are more sophisticated methods of avoiding congestion and the issues associated with tail drop.  Random early detection (RED) is a dropping mechanism that randomly drops packets before a queue is full, thus helping to avoid tail drop.  Weighted random early detection (WRED) combines RED with IP precedence or DSCP and performs packet dropping based on IP precedence or DSCP markings.

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

© 2006 Cisco Systems, Inc. All rights reserved. Resources  QoS Congestion Avoidance ology_support_protocol_home.html  DiffServ Compliant Weighted Random Early Detection 34/products_feature_guide09186a f.html  Congestion Avoidance Overview 31/products_configuration_guide_chapter09186a00800c60d9.ht ml

© 2006 Cisco Systems, Inc. All rights reserved.