This topic lists the key mechanisms use to implement QoS in an IP network.



Similar documents
Optimizing Converged Cisco Networks (ONT)

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

Configuring QoS. Understanding QoS CHAPTER

Description: To participate in the hands-on labs in this class, you need to bring a laptop computer with the following:

The Basics. Configuring Campus Switches to Support Voice

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

CCNP: Optimizing Converged Networks

Quality of Service (QoS)) in IP networks

Requirements of Voice in an IP Internetwork

Improving Quality of Service

Encapsulating Voice in IP Packets

Quality of Service (QoS) on Netgear switches

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Implementing Quality of Service

Distributed Systems 3. Network Quality of Service (QoS)

VoIP Quality of Service - Basic Theory

Quality of Service (QoS) Networking

- QoS and Queuing - Queuing Overview

Configuring QoS in a Wireless Environment

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

End-to-End QoS Network Design

Analysis of IP Network for different Quality of Service

IP videoconferencing solution with ProCurve switches and Tandberg terminals

How Cisco IT Uses QoS for Critical Applications

Configuring Quality of Service

Configuring QoS and Per Port Per VLAN QoS

Cisco - Catalyst 2950 Series Switches Quality of Service (QoS) FAQ

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

Network Considerations for IP Video

5. DEPLOYMENT ISSUES Having described the fundamentals of VoIP and underlying IP infrastructure, let s address deployment issues.

Indepth Voice over IP and SIP Networking Course

Application Note. Configuring WAN Quality of Service for ShoreTel. Quality of Service Overview. Quality of Service Mechanisms. WAN QoS for ShoreTel 5

QOS - Implementing Cisco Quality of Service

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

Chapter 5 Configuring QoS

MS Series: VolP Deployment Guide

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

Application Note How To Determine Bandwidth Requirements

How To Configure Voip Qos For A Network Connection

WhitePaper: XipLink Real-Time Optimizations

Optimizing Converged Cisco Networks (ONT)

Introduction to Differentiated Services (DiffServ) and HP-UX IPQoS

Implementing Cisco Voice Communications and QoS

Nortel Technology Standards and Protocol for IP Telephony Solutions

PC-over-IP Protocol Virtual Desktop Network Design Checklist. TER Issue 2

This topic describes the basic purpose and function of AutoQoS. One command per interface to enable and configure QoS

Configuring an efficient QoS Map

Configuring QoS in a Wireless Environment

Planning Networks for VOIP. An Introduction

Policing and Shaping Overview

Clearing the Way for VoIP

Bandwidth Security and QoS Considerations

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

QoS:What Is It? Why Do We Need It?

VoIP Bandwidth Considerations - design decisions

Implementing Cisco IP Telephony & Video, Part 1 CIPTV1 v1.0; 5 Days; Instructor-led

VoIP QoS on low speed links

02-QOS-ADVANCED-DIFFSRV

The need for bandwidth management and QoS control when using public or shared networks for disaster relief work

Network Simulation Traffic, Paths and Impairment

- QoS Classification and Marking -

Can PowerConnect Switches Be Used in VoIP Deployments?

Performance Evaluation of the Impact of QoS Mechanisms in an IPv6 Network for IPv6-Capable Real-Time Applications

Curso de Telefonía IP para el MTC. Sesión 2 Requerimientos principales. Mg. Antonio Ocampo Zúñiga

TDM services over IP networks

Voice Over IP Performance Assurance

VoIP Performance Over different service Classes Under Various Scheduling Techniques

Cisco IOS Flexible NetFlow Technology

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

VoIP QoS. Version 1.0. September 4, AdvancedVoIP.com. Phone:

Voice Over IP Per Call Bandwidth Consumption

technology standards and protocol for ip telephony solutions

How To Improve Quality Of Service (Qos) On A Network

Quality of Service for IP Videoconferencing Engineering White Paper

DS3 Performance Scaling on ISRs

Figure 1: Network Topology

Per-Flow Queuing Allot's Approach to Bandwidth Management

Challenges and Solutions in VoIP

convergence: preparing the enterprise network

VOICE OVER IP AND NETWORK CONVERGENCE

Case in Point. Voice Quality Parameter Tuning

Modeling and Simulation of Queuing Scheduling Disciplines on Packet Delivery for Next Generation Internet Streaming Applications

Cisco Quality of Service and DDOS

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

Configuring QoS. Finding Feature Information. Prerequisites for QoS

Quality of Service (QoS): Managing Bandwidth More Effectively on the Series 2600/2600-PWR and Series 2800 Switches

A Comparative analysis on traditional Queuing and Hybrid Queuing Mechanism of VoIP s QoS Properties

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

Implementing Cisco IP Telephony & Video, Part 1

Optimizing Performance for Voice over IP and UDP Traffic

12 Quality of Service (QoS)

Best Practice Recommendations for Implementing VLANs in a ShoreTel VoIP Environment with IP Phones

Overcoming Barriers to High-Quality Voice over IP Deployments. White Paper

Transcription:

IP QoS Mechanisms QoS Mechanisms This topic lists the key mechanisms use to implement QoS in an IP network. QoS Mechanisms Classification: Each class-oriented QoS mechanism has to support some type of classification Marking: Used to mark packets based on classification and/or metering Congestion Management: Each interface must have a queuing mechanism to prioritize transmission of packets Traffic Shaping: Used to enforce a rate limit based on the metering by delaying excess traffic Compression: Reduces serialization delay and bandwidth required to transmit data by reducing the size of packet headers or payloads Link Efficiency: Used to improve bandwidth efficiency through compression and link fragmentation and interleaving 3 This slide shows the main categories of QoS tools used in IPTX implementations and describes in layman s terms how they contribute to QoS. Classification and Marking is the identifying and splitting of traffic into different classes and the marking of traffic according to behavior and business policies. Congestion management is the prioritizing, protection, and isolation of traffic based on markings. Traffic conditioning mechanisms shape traffic to control bursts by queuing traffic. One type of link efficiency technology is packet header compression that improves the bandwidth efficiency of a link. Another technology is Link Fragmentation and Interleaving (LFI) that can decrease the jitter of voice transmission by reducing voice packet delay. 7-4 Cisco Networking Academy Program: v1.0 Copyright 2005, Cisco Systems, Inc.

Classification This topic defines classification and identify where classification is commonly implemented in a network. Classification Classification is the identifying and splitting of traffic into different classes Traffic can be classed by various means including the DSCP Modular QoS CLI allows classification to be implemented separately from policy 4 Classification is the identifying and splitting of traffic into different classes. In a QoS-enabled network, all traffic is classified at the input interface of every QoS-aware device. Packet classification can be recognized based on many factors including: DSCP IP precedence Source address Destination address The concept of trust is key for deploying QoS. Once an end device (such as a workstation or an IP phone) marks a packet with CoS or DSCP, a switch or router has the option of accepting or not accepting values from the end device. If the switch or router chooses to accept the values, the switch or router trusts the end device. If the switch or router trusts the end device, it does not need to do any reclassification of packets coming from that interface. If the switch or router does not trust the interface, then it must perform a reclassification to determine the appropriate QoS value for packet coming from that interface. Switches and routers are generally set to not trust end devices and must specifically be configured to trust packets coming from an interface. Copyright 2005, Cisco Systems, Inc. Improving and Maintaining Voice Quality > IP QoS Mechanisms 7-5

Marking This topic defines marking and identify where marking is commonly implemented in a network. Marking Marking, which is also known as coloring, marks each packet as a member of a network class so that the packet s class can be quickly recognized throughout the rest of the network 5 Marking, which is also known as coloring, involves marking each packet as a member of a network class so that devices throughout the rest of the network can quickly recognize the packet s class. Marking is performed as close to the network edge as possible, and is typically done using the MQC. QoS mechanisms set bits in the DSCP or IP precedence fields of each IP packet according to the class which the packet is in. The settings for the DSCP field and their relationship to the IP precedence fields were discussed in the previous lesson. Other fields can also be marked to aid in the identification of a packet s class such as CoS or Frame-Relay Discard Eligibility bit. Other QoS mechanisms use these bits to determine how to treat the packets when they arrive. If they are marked as high-priority voice packets, the packets will generally never be dropped by congestion avoidance mechanisms and be given immediate preference by congestion management queuing mechanisms. On the other hand, if the packets are marked as low-priority file transfer packets, they will be dropped when congestion is occurring and generally move to the end of the congestion management queues. 7-6 Cisco Networking Academy Program: v1.0 Copyright 2005, Cisco Systems, Inc.

Trust Boundaries This topic describes concept of trust boundaries and how they are used with classification and marking. Trust Boundaries Classify Where? Cisco s QoS model assumes that the CoS carried in a frame may or may not be trusted by the network device For scalability, classification should be done as close to the edge as possible End hosts can mostly not be trusted to tag a packet s priority correctly The outermost trusted devices represent the trust boundary 1 and 2 are optimal, 3 is acceptable (if access switch cannot perform classification) 6 The concept of trust is important and integral to deploying QoS. After the end devices have set CoS or ToS values, the switch has the option of trusting them. If the switch trusts the values, it does not need to reclassify; if it does not trust the values, then it must perform reclassification for the appropriate QoS. The notion of trusting or not trusting forms the basis for the trust boundary. Ideally, classification should be done as close to the source as possible. If the end device is capable of performing this function, the trust boundary for the network is at the end device. If the device is not capable of performing this function, or the wiring closet switch does not trust the classification done by the end device, the trust boundary might shift. How this shift happens depends on the capabilities of the switch in the wiring closet. If the switch can reclassify the packets, the trust boundary is in the wiring closet. If the switch cannot perform this function, the task falls to other devices in the network, going toward the backbone. In this case, one good rule is to perform reclassification at the distribution layer. This means that the trust boundary has shifted to the distribution layer. It is likely that there is a high-end switch in the distribution layer with features to support this function. If possible, try to avoid performing this function in the core of the network. Copyright 2005, Cisco Systems, Inc. Improving and Maintaining Voice Quality > IP QoS Mechanisms 7-7

Trust Boundaries Mark Where? For scalability, marking should be done as close to the source as possible 7 Classification should take place at the network edge, typically in the wiring closet or within endpoints (servers, hosts, video endpoints or IP telephony devices) themselves. For example, consider the campus network containing IP telephony and host endpoints. Frames can be marked as important by using link layer CoS settings or the IP precedence/dscp bits in the ToS/DS field in the IPv4 header. Cisco IP Phones can mark voice packets as high priority using CoS as well as ToS. By default, the IP Phone sends 802.1p tagged packets with the CoS and ToS set to a value of 5 for its voice packets. Because most PCs do not have an 802.1Q capable network interface card (NIC), they send packets untagged. This means that the frames do not have an 802.1p field. Also, unless the applications running on the PC send packets with a specific CoS value, this field is zero. Note A special case exists where the TCP/IP stack in the PC has been modified to send all packets with a ToS value other than zero. Typically this does not happen, and the ToS value is zero. Even if the PC is sending tagged frames with a specific CoS value, Cisco IP Phones can zero out this value before sending the frames to the switch. This is the default behavior. Voice frames coming from the IP Phone have a CoS of 5 and data frames coming from the PC have a CoS of 0. If the end device is not a trusted device, the reclassification function (setting/zeroing the bits in the CoS and ToS fields) can be performed by the access layer switch if that device is capable of doing so. If the device is not capable, then the reclassification task falls to the distribution layer device. If reclassification cannot be performed at one of these two layers, a hardware and/or Cisco IOS software upgrade may be necessary. 7-8 Cisco Networking Academy Program: v1.0 Copyright 2005, Cisco Systems, Inc.

Connecting the IP Phone 802.1Q trunking between the switch and IP phone for multiple VLAN support (separation of voice/data traffic) is preferred For most Cisco IP phone configurations, traffic sent from the IP phone to the switch is trusted to ensure that voice traffic is properly prioritized over other types of traffic in the network The trusted boundary feature uses CDP to detect an IP phone and otherwise disables the trusted setting on the switch port to prevent misuse of a high-priority queue The 802.1Q header contains the VLAN information and the CoS 3-bit field, which determines the priority of the packet 8 In a typical network, you connect a Cisco IP Phone to a switch port as shown in the figure. Traffic sent from the telephone to the switch is typically marked with a tag that uses the 802.1Q header. The header contains the VLAN information and the CoS 3-bit field, which determines the priority of the packet. For most Cisco IP Phone configurations, the traffic sent from the telephone to the switch is trusted to ensure that voice traffic is properly prioritized over other types of traffic in the network. By using the mls qos trust device cisco-phone and the mls qos trust cos interface configuration commands, you can configure the switch port to which the telephone is connected to trust the CoS labels of all traffic received on that port. Copyright 2005, Cisco Systems, Inc. Improving and Maintaining Voice Quality > IP QoS Mechanisms 7-9

Congestion Management This topic defines congestion management and identify where congestion management is commonly implemented in a network. Congestion Management Congestion management uses the marking on each packet to determine which queue to place packets in Congestion management utilizes sophisticated queuing technologies such as Weighted Fair Queuing (WFQ) and Low Latency Queuing (LLQ) to ensure that time-sensitive packets like voice are transmitted first 9 Congestion management mechanisms (queuing algorithms) use the marking on each packet to determine which queue to place packets in. Different queues are given different treatment by the queuing algorithm based on the class of packets in the queue. Generally, queues with higher priority packets receive preferential treatment. All output interfaces in a QoS-enabled network use some kind of congestion management (queuing) mechanism to manage the outflow of traffic. Each queuing algorithm was designed to solve a specific network traffic problem and has a particular effect on network performance. The Cisco IOS software features for congestion management, or queuing, include: FIFO (first-in, first-out) PQ (priority queuing) CQ (custom queuing) WFQ (weighted fair queuing) CB-WFQ (class-based WFQ) LLQ (low latency queuing) LLQ (low latency queuing) is now the preferred method. It is a hybrid (Priority Queuing and Class Based-Weighted Fair Queuing) queuing method developed specifically to meet the requirements of real time traffic such as voice. 7-10 Cisco Networking Academy Program: v1.0 Copyright 2005, Cisco Systems, Inc.

Traffic Shaping This topic defines traffic shaping and identifies where traffic shaping is commonly implemented in a network. Shaping Shaping queues packets when a pre-defined limit is reached 10 Shaping helps smooth out speed mismatches in the network and limits transmission rates. Shaping mechanisms are used on output interfaces. They are typically used to limit the flow from a high-speed link to a lower speed link to ensure that the lower speed link does not become overrun with traffic. Shaping could also be used to manage the flow of traffic at a point in the network where multiple flows are aggregated. Cisco s QoS software solutions include two traffic shaping tools to manage traffic and congestion on the network: generic traffic shaping (GTS) and Frame Relay traffic shaping (FRTS). Copyright 2005, Cisco Systems, Inc. Improving and Maintaining Voice Quality > IP QoS Mechanisms 7-11

Compression This topic explains the functions of compression and identify where compression is commonly implemented in the network. Compression Header compression can dramatically reduce the overhead associated with voice transport 11 Cisco IOS QoS software offers link-efficiency mechanisms that work in conjunction with queuing and traffic shaping to manage existing bandwidth more efficiently and predictably. One of these is Compressed Real-Time Transport Protocol (crtp). Real-Time Transport Protocol (RTP) is a host-to-host protocol used for carrying converged traffic, including packetized audio and video, over an IP network. RTP provides end-to-end network transport functions intended for applications transmitting real-time requirements, such as audio, video, simulation data multicast, or unicast network services. A voice packet carrying a 20-byte voice payload, for example, typically carries a 20-byte IP header, an 8-byte UDP header, and a 12-byte RTP header. By using crtp, as shown in the graphic above, the three headers of a combined 40 bytes are compressed down to 2 or 4 bytes, depending on whether or not the CRC is transmitted. This compression can dramatically improve the performance of a link. Compression would typically be used on WAN links between sites to improve bandwidth efficiency. 7-12 Cisco Networking Academy Program: v1.0 Copyright 2005, Cisco Systems, Inc.

Link Fragmentation and Interleaving This topic explains the functions of link fragmentation and interleaving and identifies where LFI is commonly implemented in the network. Link Fragmentation and Interleaving Without Link Fragmentation and Interleaving, time-sensitive voice traffic can be delayed behind long, non-time-sensitive data packets Link Fragmentation breaks long data packets apart and interleaves time-sensitive packets so that they are not delayed 12 Interactive traffic, such as Telnet and Voice over IP, is susceptible to increased latency and jitter when the network processes large packets, such as LAN-to-LAN FTP Telnet transfers traversing a WAN link. This susceptibility increases as the traffic is queued on slower links. Link Fragmentation and Interleaving (LFI) can reduce delay and jitter on slower-speed links by breaking up large datagrams and interleaving low-delay traffic packets with the resulting smaller packets. LFI would typically be used on WAN links between sites to ensure minimal delay for voice and video traffic. Copyright 2005, Cisco Systems, Inc. Improving and Maintaining Voice Quality > IP QoS Mechanisms 7-13