SlideShare a Scribd company logo
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
Instructor Materials
Chapter 6: Quality of
Service
CCNA Routing and Switching
Connecting Networks
Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 6: Best Practices
Prior to teaching Chapter 6, the instructor should:
 Complete Chapter 6 Assessment.
 Each section has a short video to introduce the material.
 Ask students to describe other types of situations where
priority queueing is used. For example, first class, business
class, and couch on airlines.
 Review the Quality of Service chapter.
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 9
Chapter 6: Quality of
Service
Connecting Networks
Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 6 - Sections & Objectives
 6.1 QoS Overview
• Explain the purpose and characteristics of QoS.
 6.2 QoS Mechanisms
• Explain how networking devices implement QoS.
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 11
6.1 QoS Overview
Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Overview
Network Transmission Quality
 Prioritizing Traffic
• Queuing packets causes delay because new packets cannot be
transmitted until previous packets have been processed.
• If the number of packets to be queued continues to increase, the
memory within the device fills up and packets are dropped.
Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Overview
Network Transmission Quality
 Bandwidth, Congestion, Delay, and Jitter
• Network congestion causes delay.
• Delay is the time it takes for a packet to travel from the source to the
destination.
• Jitter is the variation in the delay of received packets.
 Packet Loss
• When congestion occurs, network devices such as routers and switches
can drop packets.
• Packet loss is a very common cause of voice quality problems on an IP
network.
• In a properly designed network, packet loss should be near zero.
• Network engineers use QoS mechanisms to classify voice packets for
zero packet loss.
Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Network Traffic Trends
• The type of demands voice,
video, and data traffic place on
the network are very different.
 Voice
• Voice is very sensitive to delays
and dropped packets; there is no
reason to re-transmit voice if
packets are lost.
• Voice packets must receive a
higher priority than other types of
traffic.
• Voice can tolerate a certain
amount of latency, jitter, and loss
without any noticeable effects.
QoS Overview
Traffic Characteristics
Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Video
• Compared to voice, video is less
resilient to loss and has a higher
volume of data per packet.
• video can tolerate a certain
amount of latency, jitter, and loss
without any noticeable affects.
 Data
• Data applications that have no
tolerance for data loss, such as
email and web pages, use TCP to
ensure that, if packets are lost in
transit, they will be resent.
• Data traffic is relatively insensitive
to drops and delays compared to
voice and video.
QoS Overview
Traffic Characteristics
Presentation_ID 16© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 First In First Out (FIFO)
• FIFO has no concept of priority or classes of traffic and consequently,
makes no decision about packet priority.
• FIFO, which is the fastest method of queuing, is effective for large links
that have little delay and minimal congestion.
QoS Overview
Queueing Algorithms
Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Weighted Fair Queuing (WFQ)
• An automated scheduling method that provides fair bandwidth allocation
to all network traffic.
• Applies priority, or weights, to identified traffic and classifies it into
conversations or flows.
• WFQ is not supported with tunneling and encryption because these
features modify the packet content information required
QoS Overview
Queueing Algorithms
Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Class-Based Weighted Fair Queuing (CBWFQ)
• Extends the standard WFQ functionality to provide support for user-defined
traffic classes.
• To characterize a class, you assign it bandwidth, weight, and maximum
packet limit.
• You also specify the queue limit for that class, which is the maximum
number of packets allowed to accumulate in the queue for the class.
• Packets belonging to a class are subject to the bandwidth and queue limits
that characterize the class.
QoS Overview
Queueing Algorithms
Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 Low Latency Queuing (LLQ)
• LLQ provides strict priority queuing for CBWFQ, reducing jitter in voice
conversations.
• The bandwidth assigned to the packets of a class determines the order
in which packets are sent.
• Without LLQ, all packets are serviced fairly based on weight; no class of
packets may be granted strict priority.
• LLQ allows delay-sensitive data such as voice to be sent first.
QoS Overview
Queueing Algorithms
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 20
6.2 QoS Mechanisms
Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Mechanisms
QoS Models
• Selecting an Appropriate QoS Policy Model
• Best-Effort
Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Mechanisms
QoS Models
 Integrated Services (IntServ)
• Uses resource reservation and admission-control mechanisms as
building blocks to establish and maintain QoS.
• The edge router performs admission control to ensure that available
resources are sufficient in the network.
• The IntServ standard assumes that routers along a path set and
maintain the state for each individual communication.
• If network devices along the path
can reserve the necessary
bandwidth, the originating
application can begin transmitting.
• If the requested reservation fails
along the path, the originating
application does not send any
data.
Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Mechanisms
QoS Models
 Differentiated Services (DiffServ)
• Specifies a simple and scalable mechanism for classifying and
managing network traffic and providing QoS guarantees on modern IP
networks.
• DiffServ can provide an “almost guaranteed” QoS while still being
cost-effective and scalable.
• DiffServ uses a “soft QoS” approach.
It works on the provisioned-QoS
model, where network elements are
set up to service multiple classes of
traffic each with varying QoS
requirements.
• DiffServ divides network traffic into
classes based on business
requirements.
• Each of the classes can then be
assigned a different level of service.
Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Mechanisms
QoS Implementation Techniques
 Avoiding Packet Loss
• Dropped TCP segments cause TCP sessions to reduce their window
sizes.
• Some applications do not use TCP and cannot handle drops.
 QoS Tools
Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Mechanisms
QoS Implementation Techniques
 Classification and Marking
• Before a packet can have a QoS policy applied to it, the packet has to
be classified.
• Methods of classifying traffic flows at Layer 2 and 3 include using
interfaces, ACLs, and class maps.
Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Mechanisms
QoS Implementation Techniques
 Marking at Layer 2
 Marking at Layer 3
Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
QoS Mechanisms
QoS Implementation Techniques
 Trust Boundaries
• Traffic should be classified and marked as close to its source as
technically and administratively feasible.
 Congestion Avoidance
• When the queue is below the minimum threshold, there are no drops.
• As the queue fills up to the maximum threshold, a small percentage of
packets are dropped.
• When the maximum threshold is passed, all packets are dropped.
 Shaping and Policing
• Traffic shaping retains excess packets in a queue and then schedules
the excess for later transmission over increments of time.
• Policing is applied to inbound traffic on an interface.
• When the traffic rate reaches the configured maximum rate, excess
traffic is dropped (or remarked).
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 28
6.3 Chapter Summary
Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter Summary
Summary
 The quality of network transmission is impacted by the bandwidth of the
links between the source and destination, the sources of delay as packets
are routed to the destination, and jitter or the variation in delay of the
received packets. Without QoS mechanisms in place, packets are
processed in the order in which they are received. When congestion
occurs, time-sensitive packets will be dropped with the same frequency as
packets that are not time-sensitive.
 Voice packets require latency of no more than 150 milliseconds (ms).
Jitter should be no more than 30 ms, and voice packet loss should be no
more than 1%. Voice traffic requires at least 30 Kb/s of bandwidth.
 Video packets require latency no more than 400 milliseconds (ms). Jitter
should be no more than 50 ms, and video packet loss should be no more
than 1%. Video traffic requires at least 384 Kb/s of bandwidth.
 For data packets, two factors impact the Quality of Experience (QoE) for
end users:
• Does the data come from an interactive application?
• Is the data mission critical?
Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter Summary
Summary Continued
 The four queuing algorithms discussed in this chapter are as follows:
• First in First Out (FIFO) - Packets are forwarded in the order in which they are received.
• Weighted Fair Queuing (WFQ) - Packets are classified into different flows based on
header information including the ToS value
• Class-Based Weighted Fair Queuing (CBWFQ) - Packets are assigned to user-defined
classes based on matches to criteria such as protocols, ACLs, and input interfaces. The
network administrator can assign bandwidth, weight, and maximum packet limit to each
class.
• Low Latency Queuing (LLQ) - Delay-sensitive data such as voice is added to a priority
queue so that it can be sent first (before packets in other queues).
 The three queuing models discussed in the chapter are as follows:
• Best-Effort - This is the default queuing model for interfaces. All packets are treated in
the same way. There is no QoS.
• Integrated Services (IntServ) - IntServ provides a way to deliver the end-to-end QoS
that real-time applications require by explicitly managing network resources to provide
QoS to specific user packet streams, sometimes called microflows.
• Differentiated Services (DiffServ) - DiffServ uses a soft QoS approach that depends on
network devices that are set up to service multiple classes of traffic each with varying QoS
requirements. Although there is no QoS guarantee, the DiffServ model is more cost-
effective and scalable than IntServ.
Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
 QoS tools include the following:
• Classification and Marking - Classification determines the class of
traffic to which packets or frames belong. Marking means that we are
adding a value to the packet header. Devices receiving the packet look
at this field to see if it matches a defined policy.
• Congestion Avoidance - Congestion avoidance tools monitor network
traffic loads in an effort to anticipate and avoid congestion. As queues
fill up to the maximum threshold, a small percentage of packets are
dropped. Once the maximum threshold is passed, all packets are
dropped.
• Shaping and Policing - Shaping retains excess packets in a queue
and then schedules the excess for later transmission over increments of
time. Shaping is used on outbound traffic. Policing either drops or
remarks excess traffic. Policing is often applied to inbound traffic.
Chapter Summary
Summary Continued
Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential

More Related Content

PPTX
CCNA3 Verson6 Chapter7
PPTX
CCNA4 Verson6 Chapter4
PPTX
CCNA2 Verson6 Chapter1
PPTX
CCNA4 Verson6 Chapter1
PPTX
CCNA2 Verson6 Chapter10
PPTX
CCNA2 Verson6 Chapter5
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
PPTX
CCNA4 Verson6 Chapter2
CCNA3 Verson6 Chapter7
CCNA4 Verson6 Chapter4
CCNA2 Verson6 Chapter1
CCNA4 Verson6 Chapter1
CCNA2 Verson6 Chapter10
CCNA2 Verson6 Chapter5
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA4 Verson6 Chapter2

What's hot (19)

PPTX
CCNA2 Verson6 Chapter8
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 5
PPTX
CCNA2 Verson6 Chapter9
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
PPTX
CCNA4 Verson6 Chapter5
PPTX
CCNA3 Verson6 Chapter5
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
PPTX
CCNA3 Verson6 Chapter6
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 3
PPTX
Chapter 18 : routing dynamically
PPTX
CCNP ROUTE V7 CH8
PPTX
CCNA2 Verson6 Chapter2
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
PPTX
CCNA3 Verson6 Chapter3
PPTX
CCNP Switching Chapter 7
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 7
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 1
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 7
CCNA2 Verson6 Chapter8
CCNA (R & S) Module 02 - Connecting Networks - Chapter 5
CCNA2 Verson6 Chapter9
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA4 Verson6 Chapter5
CCNA3 Verson6 Chapter5
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
CCNA3 Verson6 Chapter6
CCNA 2 Routing and Switching v5.0 Chapter 3
Chapter 18 : routing dynamically
CCNP ROUTE V7 CH8
CCNA2 Verson6 Chapter2
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
CCNA3 Verson6 Chapter3
CCNP Switching Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 7
Ad

Similar to CCNA4 Verson6 Chapter6 (20)

PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 6
PPTX
CCNA Routing and Switching 06_Quality_of_Service
PPTX
CNv6 Instructor Chapter 6 Quality of Service
PPT
cis187-8-QoS CISCO CCNP PRESENTATIONS.ppt
PPTX
ENSA_Module_9.pptx_Quality_of_service_concepts
PPTX
Quality of service
PPTX
ENSA_Module_9-QoS Concept.pptx
PPT
Quality of service
PPT
PPT
Quality of Service
PDF
enterprise_campus_qos_0 (1234567890).pdf
PDF
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PPT
Quality of Servise
PPTX
Presentacion QoS.pptx
PPTX
Presentacion qos-
PPTX
Presentacion qos-
PPTX
Presentacion qos-
PPT
Chapter13
PPTX
400-101 CCIE Routing and Switching IT Certification
PPT
IP QoS Principles and Quality of Service (QoS) classifies network traffic
CCNA (R & S) Module 02 - Connecting Networks - Chapter 6
CCNA Routing and Switching 06_Quality_of_Service
CNv6 Instructor Chapter 6 Quality of Service
cis187-8-QoS CISCO CCNP PRESENTATIONS.ppt
ENSA_Module_9.pptx_Quality_of_service_concepts
Quality of service
ENSA_Module_9-QoS Concept.pptx
Quality of service
Quality of Service
enterprise_campus_qos_0 (1234567890).pdf
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
Quality of Servise
Presentacion QoS.pptx
Presentacion qos-
Presentacion qos-
Presentacion qos-
Chapter13
400-101 CCIE Routing and Switching IT Certification
IP QoS Principles and Quality of Service (QoS) classifies network traffic
Ad

More from Chaing Ravuth (20)

PPTX
CCNP ROUTE V7 CH7
PPTX
CCNP ROUTE V7 CH6
PPTX
CCNP ROUTE V7 CH5
PPTX
CCNP ROUTE V7 CH4
PPTX
CCNP ROUTE V7 CH3
PPTX
CCNP ROUTE V7 CH2
PPTX
CCNP ROUTE V7 CH1
PPTX
CCNP Switching Chapter 3
PPTX
CCNP Switching Chapter 2
PPTX
CCNP Switching Chapter 1
PPTX
CCNP Switching Chapter 10
PPTX
CCNP Switching Chapter 9
PPTX
CCNP Switching Chapter 8
PPTX
CCNP Switching Chapter 6
PPTX
CCNP Switching Chapter 5
PPTX
CCNP Switching Chapter 4
PPTX
CCNA4 Verson6 Chapter8
PPTX
CCNA4 Verson6 Chapter7
PPTX
CCNA4 Verson6 Chapter3
PPTX
CCNA2 Verson6 Chapter3
CCNP ROUTE V7 CH7
CCNP ROUTE V7 CH6
CCNP ROUTE V7 CH5
CCNP ROUTE V7 CH4
CCNP ROUTE V7 CH3
CCNP ROUTE V7 CH2
CCNP ROUTE V7 CH1
CCNP Switching Chapter 3
CCNP Switching Chapter 2
CCNP Switching Chapter 1
CCNP Switching Chapter 10
CCNP Switching Chapter 9
CCNP Switching Chapter 8
CCNP Switching Chapter 6
CCNP Switching Chapter 5
CCNP Switching Chapter 4
CCNA4 Verson6 Chapter8
CCNA4 Verson6 Chapter7
CCNA4 Verson6 Chapter3
CCNA2 Verson6 Chapter3

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Basic Mud Logging Guide for educational purpose
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
Insiders guide to clinical Medicine.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Business Ethics Teaching Materials for college
01-Introduction-to-Information-Management.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Basic Mud Logging Guide for educational purpose
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
RMMM.pdf make it easy to upload and study
Insiders guide to clinical Medicine.pdf
Microbial disease of the cardiovascular and lymphatic systems
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Complications of Minimal Access Surgery at WLH
Week 4 Term 3 Study Techniques revisited.pptx
TR - Agricultural Crops Production NC III.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Final Presentation General Medicine 03-08-2024.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
2.FourierTransform-ShortQuestionswithAnswers.pdf
Business Ethics Teaching Materials for college

CCNA4 Verson6 Chapter6

  • 1. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1 Instructor Materials Chapter 6: Quality of Service CCNA Routing and Switching Connecting Networks
  • 2. Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 6: Best Practices Prior to teaching Chapter 6, the instructor should:  Complete Chapter 6 Assessment.  Each section has a short video to introduce the material.  Ask students to describe other types of situations where priority queueing is used. For example, first class, business class, and couch on airlines.  Review the Quality of Service chapter.
  • 3. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 9 Chapter 6: Quality of Service Connecting Networks
  • 4. Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 6 - Sections & Objectives  6.1 QoS Overview • Explain the purpose and characteristics of QoS.  6.2 QoS Mechanisms • Explain how networking devices implement QoS.
  • 5. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 11 6.1 QoS Overview
  • 6. Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Overview Network Transmission Quality  Prioritizing Traffic • Queuing packets causes delay because new packets cannot be transmitted until previous packets have been processed. • If the number of packets to be queued continues to increase, the memory within the device fills up and packets are dropped.
  • 7. Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Overview Network Transmission Quality  Bandwidth, Congestion, Delay, and Jitter • Network congestion causes delay. • Delay is the time it takes for a packet to travel from the source to the destination. • Jitter is the variation in the delay of received packets.  Packet Loss • When congestion occurs, network devices such as routers and switches can drop packets. • Packet loss is a very common cause of voice quality problems on an IP network. • In a properly designed network, packet loss should be near zero. • Network engineers use QoS mechanisms to classify voice packets for zero packet loss.
  • 8. Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Network Traffic Trends • The type of demands voice, video, and data traffic place on the network are very different.  Voice • Voice is very sensitive to delays and dropped packets; there is no reason to re-transmit voice if packets are lost. • Voice packets must receive a higher priority than other types of traffic. • Voice can tolerate a certain amount of latency, jitter, and loss without any noticeable effects. QoS Overview Traffic Characteristics
  • 9. Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Video • Compared to voice, video is less resilient to loss and has a higher volume of data per packet. • video can tolerate a certain amount of latency, jitter, and loss without any noticeable affects.  Data • Data applications that have no tolerance for data loss, such as email and web pages, use TCP to ensure that, if packets are lost in transit, they will be resent. • Data traffic is relatively insensitive to drops and delays compared to voice and video. QoS Overview Traffic Characteristics
  • 10. Presentation_ID 16© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  First In First Out (FIFO) • FIFO has no concept of priority or classes of traffic and consequently, makes no decision about packet priority. • FIFO, which is the fastest method of queuing, is effective for large links that have little delay and minimal congestion. QoS Overview Queueing Algorithms
  • 11. Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Weighted Fair Queuing (WFQ) • An automated scheduling method that provides fair bandwidth allocation to all network traffic. • Applies priority, or weights, to identified traffic and classifies it into conversations or flows. • WFQ is not supported with tunneling and encryption because these features modify the packet content information required QoS Overview Queueing Algorithms
  • 12. Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Class-Based Weighted Fair Queuing (CBWFQ) • Extends the standard WFQ functionality to provide support for user-defined traffic classes. • To characterize a class, you assign it bandwidth, weight, and maximum packet limit. • You also specify the queue limit for that class, which is the maximum number of packets allowed to accumulate in the queue for the class. • Packets belonging to a class are subject to the bandwidth and queue limits that characterize the class. QoS Overview Queueing Algorithms
  • 13. Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  Low Latency Queuing (LLQ) • LLQ provides strict priority queuing for CBWFQ, reducing jitter in voice conversations. • The bandwidth assigned to the packets of a class determines the order in which packets are sent. • Without LLQ, all packets are serviced fairly based on weight; no class of packets may be granted strict priority. • LLQ allows delay-sensitive data such as voice to be sent first. QoS Overview Queueing Algorithms
  • 14. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 20 6.2 QoS Mechanisms
  • 15. Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Mechanisms QoS Models • Selecting an Appropriate QoS Policy Model • Best-Effort
  • 16. Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Mechanisms QoS Models  Integrated Services (IntServ) • Uses resource reservation and admission-control mechanisms as building blocks to establish and maintain QoS. • The edge router performs admission control to ensure that available resources are sufficient in the network. • The IntServ standard assumes that routers along a path set and maintain the state for each individual communication. • If network devices along the path can reserve the necessary bandwidth, the originating application can begin transmitting. • If the requested reservation fails along the path, the originating application does not send any data.
  • 17. Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Mechanisms QoS Models  Differentiated Services (DiffServ) • Specifies a simple and scalable mechanism for classifying and managing network traffic and providing QoS guarantees on modern IP networks. • DiffServ can provide an “almost guaranteed” QoS while still being cost-effective and scalable. • DiffServ uses a “soft QoS” approach. It works on the provisioned-QoS model, where network elements are set up to service multiple classes of traffic each with varying QoS requirements. • DiffServ divides network traffic into classes based on business requirements. • Each of the classes can then be assigned a different level of service.
  • 18. Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Mechanisms QoS Implementation Techniques  Avoiding Packet Loss • Dropped TCP segments cause TCP sessions to reduce their window sizes. • Some applications do not use TCP and cannot handle drops.  QoS Tools
  • 19. Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Mechanisms QoS Implementation Techniques  Classification and Marking • Before a packet can have a QoS policy applied to it, the packet has to be classified. • Methods of classifying traffic flows at Layer 2 and 3 include using interfaces, ACLs, and class maps.
  • 20. Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Mechanisms QoS Implementation Techniques  Marking at Layer 2  Marking at Layer 3
  • 21. Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential QoS Mechanisms QoS Implementation Techniques  Trust Boundaries • Traffic should be classified and marked as close to its source as technically and administratively feasible.  Congestion Avoidance • When the queue is below the minimum threshold, there are no drops. • As the queue fills up to the maximum threshold, a small percentage of packets are dropped. • When the maximum threshold is passed, all packets are dropped.  Shaping and Policing • Traffic shaping retains excess packets in a queue and then schedules the excess for later transmission over increments of time. • Policing is applied to inbound traffic on an interface. • When the traffic rate reaches the configured maximum rate, excess traffic is dropped (or remarked).
  • 22. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 28 6.3 Chapter Summary
  • 23. Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter Summary Summary  The quality of network transmission is impacted by the bandwidth of the links between the source and destination, the sources of delay as packets are routed to the destination, and jitter or the variation in delay of the received packets. Without QoS mechanisms in place, packets are processed in the order in which they are received. When congestion occurs, time-sensitive packets will be dropped with the same frequency as packets that are not time-sensitive.  Voice packets require latency of no more than 150 milliseconds (ms). Jitter should be no more than 30 ms, and voice packet loss should be no more than 1%. Voice traffic requires at least 30 Kb/s of bandwidth.  Video packets require latency no more than 400 milliseconds (ms). Jitter should be no more than 50 ms, and video packet loss should be no more than 1%. Video traffic requires at least 384 Kb/s of bandwidth.  For data packets, two factors impact the Quality of Experience (QoE) for end users: • Does the data come from an interactive application? • Is the data mission critical?
  • 24. Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter Summary Summary Continued  The four queuing algorithms discussed in this chapter are as follows: • First in First Out (FIFO) - Packets are forwarded in the order in which they are received. • Weighted Fair Queuing (WFQ) - Packets are classified into different flows based on header information including the ToS value • Class-Based Weighted Fair Queuing (CBWFQ) - Packets are assigned to user-defined classes based on matches to criteria such as protocols, ACLs, and input interfaces. The network administrator can assign bandwidth, weight, and maximum packet limit to each class. • Low Latency Queuing (LLQ) - Delay-sensitive data such as voice is added to a priority queue so that it can be sent first (before packets in other queues).  The three queuing models discussed in the chapter are as follows: • Best-Effort - This is the default queuing model for interfaces. All packets are treated in the same way. There is no QoS. • Integrated Services (IntServ) - IntServ provides a way to deliver the end-to-end QoS that real-time applications require by explicitly managing network resources to provide QoS to specific user packet streams, sometimes called microflows. • Differentiated Services (DiffServ) - DiffServ uses a soft QoS approach that depends on network devices that are set up to service multiple classes of traffic each with varying QoS requirements. Although there is no QoS guarantee, the DiffServ model is more cost- effective and scalable than IntServ.
  • 25. Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential  QoS tools include the following: • Classification and Marking - Classification determines the class of traffic to which packets or frames belong. Marking means that we are adding a value to the packet header. Devices receiving the packet look at this field to see if it matches a defined policy. • Congestion Avoidance - Congestion avoidance tools monitor network traffic loads in an effort to anticipate and avoid congestion. As queues fill up to the maximum threshold, a small percentage of packets are dropped. Once the maximum threshold is passed, all packets are dropped. • Shaping and Policing - Shaping retains excess packets in a queue and then schedules the excess for later transmission over increments of time. Shaping is used on outbound traffic. Policing either drops or remarks excess traffic. Policing is often applied to inbound traffic. Chapter Summary Summary Continued
  • 26. Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 27. Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential