+ All Categories
Home > Documents > Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify...

Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify...

Date post: 26-May-2020
Category:
Upload: others
View: 8 times
Download: 0 times
Share this document with a friend
41
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS
Transcript
Page 1: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Optimizing Converged Cisco Networks (ONT)

Module 3: Introduction to IP QoS

Page 2: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Introducing QoS

Page 3: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Objectives

Explain why converged networks require QoS.

Identify the major quality issues with converged networks.

Calculate available bandwidth given multiple flows.

Describe mechanisms designed to use bandwidth more efficiently.

Describe types of delay.

Identify ways to reduce the impact of delay on quality.

Describe packet loss and ways to prevent or reduce packet loss in the network.

Page 4: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Traditional Nonconverged Network

Traditional data traffic characteristics:

Bursty data flow

FIFO access

Not overly time-sensitive; delays OK

Brief outages are survivable

Page 5: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Converged Network Realities

Converged network realities:

Constant small-packet voice flow competes with bursty data flow.

Critical traffic must have priority.

Voice and video are time-sensitive.

Brief outages are not acceptable.

Converged networks must provide secure, predictable, measurable, and, sometimes, guaranteed services.

Page 6: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Converged Network Quality Issues

Lack of bandwidth: Multiple flows compete for a limited amount of bandwidth.

End-to-end delay (fixed and variable): Packets have to traverse many network devices and links; this travel adds up to the overall delay. (Fixed: serialization + propagation. Variable: Processing + queuing)

Variation of delay (jitter): Sometimes there is a lot of other traffic, which results in varied and increased delay.

Packet loss: Packets may have to be dropped when a link is congested.

Page 7: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Measuring Available Bandwidth

The maximum available bandwidth is the bandwidth of the slowest link.

Multiple flows are competing for the same bandwidth, resulting in much less bandwidth being available to one single application.

A lack in bandwidth can have performance impacts on network applications.

Page 8: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Increasing Available Bandwidth

Upgrade the link (the best but also the most expensive solution).

Improve QoS with advanced queuing mechanisms to forward the important packets

first.

Compress the payload of Layer 2 frames (end to end, takes time, may increase

delay).

Compress IP packet headers (TCP or RTP, hop by hop).

Page 9: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Using Available Bandwidth Efficiently

Using advanced queuing and header compression mechanisms, the available bandwidth can be used more efficiently:

Voice: LLQ and RTP header compression

Interactive traffic: CBWFQ and TCP (Van Jacobson) header compression

Voice(Highest)

Data(High)

Data(Medium)

Data(Low)

1 1

2 2

3 3 3

4 4 4 4

4 3 2 1 1

Voice• LLQ

• RTP header

compression

Data• CBWFQ

• TCP header

compression

Page 10: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Types of Delay

Processing delay: The time it takes for a router to take the packet from an input interface, examine the packet, and put the packet into the output queue of the output interface.

Queuing delay: The time a packet resides in the output queue of a router.

Serialization delay: The time it takes to place the “bits on the wire.”

Propagation delay: The time it takes for the packet to cross the link from one end to the other.

Page 11: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

The Impact of Delay and Jitter on Quality

End-to-end delay: The sum of all propagation, processing, serialization, and queuing delays in the path

Jitter: The variation in the delay.

In best-effort networks, propagation and serialization delays are fixed, while processing and queuing delays are unpredictable.

For private networks, 200 ms of delay is a reasonable goal and 250 ms a limit.

Page 12: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Ways to Reduce Delay

Upgrade the link (the best solution but also the most expensive).

Forward the important packets first.

Enable reprioritization of important packets.

Compress the payload of Layer 2 frames (takes time).

Compress IP packet headers.

Page 13: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Reducing Delay in a Network

Customer routers perform:

TCP/RTP header compression

LLQ

Prioritization

ISP routers perform:

Reprioritization according to the QoS policy

Page 14: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

The Impacts of Packet Loss

Telephone call: “I cannot understand you. Your voice is breaking up.”

Teleconferencing: “The picture is very jerky. Voice is not synchronized.”

Publishing company: “This file is corrupted.”

Call center: “Please hold while my screen refreshes.”

Page 15: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Types of Packet Drops

Tail drops occur when the output queue is full. Tail drops are common and happen when a link is congested.

Other types of drops, usually resulting from router congestion, include input drop, ignore, overrun, and frame errors. These errors can often be solved with hardware upgrades.

Page 16: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Ways to Prevent Packet Loss

Upgrade the link (the best solution but also the most expensive).

Guarantee enough bandwidth for sensitive packets.

Prevent congestion by randomly dropping less important packets before congestion occurs.

Page 17: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Traffic Policing and Traffic Shaping

Time

Tra

ffic

Traffic Rate

Time

Tra

ffic

Traffic Rate

Time

Tra

ffic

Traffic Rate

Time

Tra

ffic

Traffic Rate

Policing

Shaping

• Only policing can be applied to inbound traffic on an interface.• Shaping requires sufficient memory and a scheduling function for later transmission of any delayed packets i.e. CBWFQ and LLQ.

Page 18: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Reducing Packet Loss in a Network

Problem: Interface congestion causes TCP and voice packet drops, resulting in slowing FTP traffic and jerky speech quality.

Conclusion: Congestion avoidance and queuing can help.

Solution: Use WRED (Weighted Random Early Detection and LLQ (Low Latency Queuing).

Page 19: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Summary

Converged networks carry different types of traffic over a shared infrastructure. This creates the need to differentiate traffic and give priority to time-sensitive traffic.

Various mechanisms exist that help to maximize the use of the available bandwidth, including queuing techniques and compression mechanisms.

All networks experience delay. Delay can effect time sensitive traffic such as voice and video.

Without proper provisioning and management, networks can experience packet loss. Packet loss is especially important with voice and video, as no resending of lost packets can occur.

Page 20: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Resources

Quality of Service Networking

http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/qos.htm

QoS Congestion Avoidance

http://www.cisco.com/en/US/tech/tk543/tk760/tsd_technology_support_protocol_home.html

QoS Congestion Management (queuing)

http://www.cisco.com/en/US/tech/tk543/tk544/tsd_technology_support_protocol_home.html

Page 21: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Implementing Cisco IOS QoS

Page 22: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Objectives

Describe the need for QoS as it relates to various types of network traffic.

Identify QoS mechanisms.

Describe the steps used to implement QoS.

Page 23: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

What Is Quality of Service? Two Perspectives

The user perspective

Users perceive that their applications are performing properly

Voice, video, and data

The network manager perspective

Need to manage bandwidth allocations to deliver the desired application performance

Control delay, jitter, andpacket loss

Page 24: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Different Types of Traffic Have Different Needs

Application Examples

Sensitivity to QoS Metrics

Delay JitterPacket Loss

Interactive Voice and

Video

Y Y Y

Streaming Video

N Y Y

Transactional/ Interactive

Y N N

Bulk Data

EmailFile Transfer

N N N

Need to managebandwidth allocations

Real-time applications especially sensitive to QoS

Interactive voice

Videoconferencing

Causes of degraded performance

Congestion losses

Variable queuing delays

The QoS challenge

Manage bandwidth allocations to deliver the desired application performance

Control delay, jitter, and packet loss

Page 25: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Cisco IOS QoS Tools

Congestion management:

Priority Queuing (PQ)

Custom Queuing (CQ)

Weighted Fair Queuing (WFQ)

Class Based WFQ (CBWFQ)

Queue management

Weighted Random Early Detection (WRED)

Link efficiency

Link fragmentation and interleave

RTP and Compressed RTP (cRTP)

Traffic shaping and traffic policing

QoS Toolbox

Page 26: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Priority Queuing

PQ puts data into four levels of queues: high, medium, normal, and low.

Page 27: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Custom Queuing

CQ handles traffic by assigning a specified amount of queue space to each class of packet and then servicing up to 17 queues in a round-robin fashion.

Page 28: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Weighted Fair Queuing

• WFQ makes the transfer rates and interarrival periods of active high-volume conversations much more predictable.

Page 29: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Weighted Random Early Detection

•WRED provides a method that stochastically (random) discards packets if congestion begins to increase. WRED combines the capabilities of the RED algorithm with IP precedence and is RSVP aware.

Page 30: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Page 31: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Implementing QoS

Step 1: Identify types of traffic and their requirements.

Step 2: Divide traffic into classes.

Step 3: Define QoS policies for each class.

Page 32: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Step 1: Identify Types of Traffic and Their Requirements

Network audit: Identify traffic on the network (CPU use).

Tools: NetFlow Accounting, Network-based Application Recognition (NBAR), and QoS Device Manager (QDM).

Business audit: Determine how important each type of traffic is for business.

Service levels required: Determine required response time.

Page 33: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Understanding the characteristics of applications

Page 34: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Step 2: Define Traffic Classes

Scavenger

Class

Less than Best Effort

Priorities and

QoS policy

5, use LLQ

4, use CBWFQ

3, use CBWFQ

2, use CBWFQ

1, use WRED

Page 35: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Step 3: Define QoS Policy

A QoS policy is a network-wide definition of the specific levels of QoS that are assigned to different classes of network traffic.

Activities:

Setting a minimum bandwidth guarantee

Setting a maximum bandwidth limit

Assigning priorities to each class

Using QoS technologies, such as advanced queuing, to manage congestion

Page 36: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Quality of Service OperationsHow Do QoS Tools Work?

Classification

and Marking

Queuing and

(Selective) Dropping

Post-Queuing

Operations

Page 37: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Self Check

1. What types of applications are particularly sensitive to QoS issues?

2. What is WFQ? How is it different than FIFO?

3. What are the 3 basic steps involved in implementing QoS?

4. What is Scavenger Class?

Page 38: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Summary

QoS is important to both the end user and the network administrator. End users experience lack of QoS as poor voice quality, dropped calls or outages.

Network traffic differs in its ability to handle delay, jitter and packet loss. Traffic sensitive to these issues requires priority treatment. QoS measures can provide priority to sensitive traffic, while still providing services to more resilient traffic.

Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define a QoS policy for each traffic class.

Page 39: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Q and A

Page 40: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.

Resources

QoS Best Practices At-A-Glance

http://www.cisco.com/application/pdf/en/us/guest/tech/tk759/c1482/cdccont_0900aecd80295aa1.pdf

QoS Tools At-A-Glance

http://www.cisco.com/application/pdf/en/us/guest/tech/tk759/c1482/cdccont_0900aecd80295abf.pdf

Page 41: Optimizing Converged Cisco Networks (ONT)€¦ · Implementing QoS involves 3 basic steps: identify the types of traffic on your network, divide the traffic into classes, and define

© 2006 Cisco Systems, Inc. All rights reserved.


Recommended