SlideShare a Scribd company logo
1 of 36
Download to read offline
Lecture 11 – Quality of Service
Li
DCN330 Fall 2017
QoS
 Why Do We Need QoS?
 QoS Architecture Models
 QoS Architecture Components
 Basic Configurations
 Example in Queuing
 IOS Commands Review
2
DCN330 Fall 2017
3
Why Do We Need QoS?
 Video Streaming Services
 Video Conferencing
 VoIP
QoS development inspired by new types of applications
in IP environment:
DCN330 Fall 2017
Why Do We Need QoS?
 Multiple application networks are being
combined into consolidated corporate utility
networks
 Traffic can suffer from the following symptoms:
 Delay (or latency)- is the time that is required for a
packet to travel from its source to its destination.
 Jitter (or delay variation)- is the uneven arrival of
packets.
 Packet drops (or packet loss)-Packet drops occur
when a link is congested and a buffer overflows.
4
DCN330 Fall 2017
Why Do We Need QoS?
 Voice
 No more than 150 ms of one-way delay
 No more than 30 ms of jitter
 No more than 1 percent packet loss
 Video
 No more than 150ms of one-way delay for interactive voice applications (e.g.
video conferending)
 No more than 30 ms of jitter
 No more than 1 percent packet loss
 Data
 Applications have varying delay and loss characteristics
5
DCN330 Fall 2017
QoS
 Why Do We Need QoS?
 QoS Architecture Models
 QoS Architecture Components
 Basic Configurations
 Example in Queuing
 IOS Commands Review
6
DCN330 Fall 2017
7
QoS Architecture Models
 Best Effort Service
 Integrated Service
 Differentiated Service
DCN330 Fall 2017
8
QoS Architecture Models
Best Effort Service:
 All packets treated equally
 Unpredictable bandwidth
 Unpredictable delay and jitter
DCN330 Fall 2017
9
QoS Architecture Models
Integrated Service (IntServ)
 IntServ is often referred to as “Hard QoS,” because it can make strict
bandwidth reservations. IntServ uses signaling among network devices
to provide bandwidth reservations. Resource Reservation Protocol
(RSVP) is an example of an IntServ approach to QoS. Because IntServ
must be configured on every router along a packet’s path, the main
drawback of IntServ is its lack of scalability.
DCN330 Fall 2017
10
QoS Architecture Models
Differentiated Service (DiffServ)
 DiffServ, as the name suggests, differentiates between multiple traffic flows.
Specifically, packets are “marked,” and routers and switches can then make
decisions (for example, dropping or forwarding decisions) based on those
markings.
 Each compliant node can have various behaviors
 DiffServ is far more flexible and scalable
 DiffServ can be pervasively deployed throughout the network
 Focus of today’s lecture
DCN330 Fall 2017
QoS
 Why Do We Need QoS?
 QoS Architecture Models
 QoS Architecture Components
 Basic Configurations
 Example in Queuing
 IOS Commands Review
11
DCN330 Fall 2017
12
QoS Architecture Components
 Classification and Marking
 Traffic Shaping/Policing
 Congestion Management
 Congestion Avoidance
 Link Efficiency
DCN330 Fall 2017
Classification and Marking Options
 QoS Tools (You must have a QoS tool that references those
marking and alters the packets’ treatment based on those
markings, because marking alone does not alter the
behaviour of packets. )
 Classification—Classification is the process of placing traffic into
different categories. Multiple characteristics can be used for
classification. For example, POP3, IMAP, SMTP, and Exchange traffic
could all be placed in an “EMAIL” class. Classification does not,
however, alter bits in the frame or packet.
 Marking—Marking alters bits (for example, bits in the ToS byte) within
a frame, cell, or packet to indicate how the network should treat that
traffic. Marking alone does not change how the network treats a
packet. Other tools (for example, queuing tools) can, however,
reference those markings and make decisions based on them.
13
DCN330 Fall 2017
14
Classification and Marking Options
Classification can be done on:
 Layer 1 criteria: such as ingress physical interface
 Layer 2 criteria: such as IEEE 802.1Q/p CoS (Class of Service)
 Layer 3 criteria: such as IP DSCP
 Layer 4 criteria: such as TCP/UDP port(s)
 Layer 7 criteria: such as Packet Content (NBAR)
i.e. HTTP, HTTPS, FTP etc.
Marking can be done on:
 Layer 2 fields: such as IEEE 802.1Q/p CoS
 Layer “2.5” fields: such as MPLS EXP
 Layer 3 fields: such as IP DSCP
DCN330 Fall 2017
Classification & Marking Tools
DiffServ at Layer 3
 Inside an IPv4 header is a byte called the type of service (ToS) byte. You can
mark packets, using bits within the ToS byte, with either IP Precedence or
Differentiated Service Code Point (DSCP) markings.
 The challenge with so many values at your disposal is that the value you
choose to represent a certain level of priority can be treated differently by a
router or switch under someone else’s administration.
15
DCN330 Fall 2017
Classification & Marking Tools
DiffServ at Layer 3
 The 6 leftmost bits (or DSCP) in the ToS yields 64
possible values
 These 64 values called per-hop behaviours (PHBs).
because they indicate how packets should be
treated by each router hop along the path from
the source to the destination
16
DCN330 Fall 2017
17
QoS Architecture Components
 Classification and Marking
 Traffic Shaping/Policing
 Congestion Management
 Congestion Avoidance
 Link Efficiency
DCN330 Fall 2017
QoS Architecture Components (cont’d)
 Policing and shaping—Sometimes, instead of making a minimum amount of
bandwidth available for specific traffic types, you might want to limit the available
bandwidth. Both policing and shaping tools can accomplish this objective. Collectively,
these tools are called traffic conditioners.
 Congestion management—When you hear the term congestion management, think
queuing. These concepts are the same. When an interface’s output software queue
contains packets, the interface’s queuing strategy determines how the packets are
emptied from the queue. We will present details later in the lecture.
 Congestion avoidance—If an interface’s output queue fills to capacity, newly arriving
packets are discarded (that is, “tail-dropped”), regardless of the priority that is
assigned to the discarded packet.
 Link efficiency—To make the most of the limited bandwidth that is available on
slower-speed links, you can choose to implement compression or Link Fragmentation
and Interleaving (LFI).
18
DCN330 Fall 2017
QoS
 Why Do We Need QoS?
 QoS Architecture Models
 QoS Architecture Components
 Basic Configurations
 Example in Queuing
 IOS Commands Review
19
DCN330 Fall 2017
Basic QoS Configuration
 One of the most powerful approaches to QoS
configuration is the Modular Quality of Service
Command-Line Interface (MQC).
20
DCN330 Fall 2017
Basic QoS Configuration (cont’d)
 Step 1: create class-maps to categorize traffic types.
IOS Commands:
 Router(config)#class-map [match-any | match-all] class-
name
 After you are in class-map configuration mode, you can
specify multiple match statements to match traffic, and all
traffic that meets the criteria that you specified with the
match commands is categorized under the class-map.
 After the class-maps are defined, the first step of MQC is
complete.
21
DCN330 Fall 2017
Basic QoS Configuration (cont’d)
 Step 2: create a policy-map, which assigns
characteristics (for example, marking) to the
classified traffic.
 To enter policy-map configuration mode, issue the
following command:
 Router(config)#policy-map policy-name
 From policy-map configuration mode, enter policy-map-
class configuration mode with the following command:
 Router(config-pmap)#class class-name
22
DCN330 Fall 2017
Basic QoS Configuration (cont’d)
 Step 3: apply the policy-map to an interface.
Command:
 Router(config-if)#service-policy {input | output} policy-
map-name
23
DCN330 Fall 2017
Basic QoS Configuration (cont’d)
 Example: you are classifying various types
of e-mail traffic (for example, SMTP, IMAP,
and POP3) into one class-map. The KaZaa
protocol, which is used for music
downloads, is placed in another class-map.
Voice over IP (VoIP) traffic is placed in yet
another class-map. Then, the policy-map
assigns bandwidth allocations or limitations
to these traffic types.
 •Explanation: the QOS-STUDY policy-map
makes 128 kbps of bandwidth available to
e-mail traffic. However, KaZaa version 2
traffic bandwidth is limited to 32 kbps (that
is, KaZaa traffic higher than this rate will be
dropped). Voice packets not only have
access to 256 kbps of bandwidth, but they
also receive “priority” treatment, meaning
that they are sent first (that is, ahead of
other traffic) up to the 256-kbps limit.
24
Note:
Some application
protocols may not
be available by
default on your
router, which needs
to be supported by
the PDLM (or
application
recognition
modules)
installation.
DCN330 Fall 2017
QoS
 Why Do We Need QoS?
 QoS Architecture Models
 QoS Architecture Components
 Basic Configurations
 Example in Queuing
 IOS Commands Review
25
DCN330 Fall 2017
Queuing
 Queuing
 is sometimes referred to as congestion management, queuing
mechanisms identify how traffic from multiple streams is sent out of
an interface that is currently experiencing congestion. We will
examines approaches to queuing and emphasizes the queuing
approaches configured via MQC.
 Queuing Basics
 When a device, such as a switch or a router, is receiving traffic faster
than it can be transmitted, the device attempts to buffer the extra
traffic until bandwidth is available. This buffering process is called
queuing. You can use queuing mechanisms to influence in what order
various traffic types are emptied from the queue.
26
DCN330 Fall 2017
Queuing (cont’d)
Two queuing mechanisms: CB-WFQ (Class-Based Weighted Fair Queueing)
and LLQ (Low Latency Queuing).
 The WFQ mechanism made sure that no traffic was starved out. However,
WFQ did not make a specific amount of bandwidth available for defined
traffic types. You can, however, specify a minimum amount of bandwidth
to make available for various traffic types using the CB-WFQ mechanism.
 CB-WFQ is configured through the three-step MQC process. Using
MQC, you can create up to 63 class-maps and assign a minimum
amount of bandwidth for each one. Note that the reason you cannot
create 64 class-maps is that the class-default class-map has already
been created.
 Low Latency Queuing (LLQ) is almost identical to CB-WFQ. However, with
LLQ, you can instruct one or more class-maps to direct traffic into a
priority queue.
27
DCN330 Fall 2017
Queuing (cont’d)
 CB-WFQ:
 You can make a specific amount of bandwidth available for classified
traffic. To allocate a bandwidth amount, use the following command,
noting that the units of measure are in kbps:
Router(config-pmap-c)#bandwidth {kbps}
 Instead of specifying an exact amount of bandwidth, you can specify a
percentage of the interface bandwidth. For example, a policy-map
could allocate 25 percent of an interface’s bandwidth. Then, that
policy-map could be applied to, for example, a Fast Ethernet interface
and also to a slower-speed serial interface.
Router(config-pmap-c)#bandwidth percent {value}
28
DCN330 Fall 2017
Queuing (cont’d)
 LLQ:
 You can use either of the following commands to direct packets to the
priority queue:
 Router(config-pmap-c)#priority bandwidth
(Note that the bandwidth units of measure are in kbps.)
 Router(config-pmap-c)#priority percent percent
(Note that the percent option references a percentage of the interface
bandwidth.)
29
DCN330 Fall 2017
Queuing (cont’d)
 LLQ Example: in the example on the
right, NBAR is being used to recognize
http traffic, and that traffic is placed in
the SURFING class. Note that NBAR
(Network-Based Application
Recognition) is invoked with the
following command:
Router(config-cmap)# match protocol
Voice packets are placed in the VOICE
class. The QOS_STUDY policy-map gives
128 kbps of bandwidth to the http
traffic while giving 256 kbps of priority
bandwidth to voice traffic. Then the
policy-map is applied outbound to
interface serial 0/1.
30
DCN330 Fall 2017
QoS
 Why Do We Need QoS?
 QoS Architecture Models
 QoS Architecture Components
 Basic Configurations
 Example in Queuing
 IOS Commands Review
31
DCN330 Fall 2017
IOS Commands Review
 class-map Creates a class map to be used for matching packets to the class whose
name you specify.
 match protocol Defines the match criteria to classify traffic. NBAR (Network-Based
Application Recognition) will be invoked.
 class Specifies the name of the class whose policy you want to create or change or
to specify the default class (commonly known as the class-default class) before
you configure its policy.
 policy-map Enters policy-map configuration mode and creates or modifies a policy
map that can be attached to one or more interfaces to specify a service policy.
 bandwidth The bandwidth command (used in policy-map) provides a minimum
bandwidth guarantee during congestion.
 priority The priority command (used in policy-map) implements a maximum
bandwidth guarantee.
 To confirm the QOS is working you would use the command: show policy-map
interface [fastethernet 0/0]
 To show class map(s) defined: show class-map
32
DCN330 Fall 2017
IOS Commands Review (cont’d)
 Difference between bandwidth and priority
command.
http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-packet-marking/10100-priorityvsbw.html
33
DCN330 Fall 2017
IOS Commands Review (cont’d)
 Although the bandwidth guarantees provided by the bandwidth and priority
commands have been described with words like "reserved" and "bandwidth to be
set aside", neither command implements a true reservation. In other words, if a
traffic class is not using its configured bandwidth, any unused bandwidth is shared
among the other classes.
 The queueing system imposes an important exception to this rule with a priority
class.
http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-packet-marking/10100-priorityvsbw.html
34
DCN330 Fall 2017
In-Class Activity
Finish the following task in groups:
 In a WAN connection between R1 and R2,
you want to make sure the outbound
HTTP traffic on the interface S0/0/0 of
R1, can be guaranteed with the 1Mbps
bandwidth. Try to apply a QoS policy
following the steps:
 Step 1: Create a class-map “WEB” to
category this HTTP traffic.
 Step 2: Create a policy-map “MY-
QOS-POLICY”, which assigns
characteristics (for example, marking)
to the classified traffic.
 Step 3: Apply the policy-map to an
interface.
 Step 4: Verify your class-map and
policy-map
35
Note: The router type can be Cisco 2811 with one
WIC-2T module installed (two serial ports are
available on this module).
DCN330 Fall 2017
References
 Cisco IP Telephony Flash Cards: Weighted Random Early Detection (WRED).
Available at http://www.ciscopress.com/articles/article.asp?p=352991
 Comparing the bandwidth and priority Commands of a QoS Service Policy.
Available at: http://www.cisco.com/c/en/us/support/docs/quality-of-service-
qos/qos-packet-marking/10100-priorityvsbw.html
 Comparing Traffic Policing and Traffic Shaping for Bandwidth Limiting. Available at:
http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-
policing/19645-policevsshape.html
36
DCN330 Fall 2017

More Related Content

What's hot

Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...
Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...
Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...Roberto Rigolin F. Lopes
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)Sri Safrina
 
Design and implementation of low latency weighted round robin (ll wrr) schedu...
Design and implementation of low latency weighted round robin (ll wrr) schedu...Design and implementation of low latency weighted round robin (ll wrr) schedu...
Design and implementation of low latency weighted round robin (ll wrr) schedu...ijwmn
 
24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_ServiceAhmar Hashmi
 
Quality of service
Quality of serviceQuality of service
Quality of servicevmkris000
 
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute OperationsQuantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute OperationsjournalBEEI
 
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...TELKOMNIKA JOURNAL
 
UNIT II tramission control
UNIT II tramission controlUNIT II tramission control
UNIT II tramission controlsangusajjan
 
Thesis - Differentiated Optical QoS Service
Thesis - Differentiated Optical QoS ServiceThesis - Differentiated Optical QoS Service
Thesis - Differentiated Optical QoS ServiceLui Spatz Izarra
 
Defining characteristics of qfabric
Defining characteristics of qfabricDefining characteristics of qfabric
Defining characteristics of qfabricNam Nguyen
 
Defining Characteristics of QFabric
Defining Characteristics of QFabricDefining Characteristics of QFabric
Defining Characteristics of QFabricJuniper Networks
 
Simulation Based Performance Evaluation of Queueing Disciplines for Multi-Cl...
Simulation Based Performance Evaluation of Queueing  Disciplines for Multi-Cl...Simulation Based Performance Evaluation of Queueing  Disciplines for Multi-Cl...
Simulation Based Performance Evaluation of Queueing Disciplines for Multi-Cl...IOSR Journals
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsQueen's University
 

What's hot (20)

Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...
Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...
Creating Ever-changing QoS-constrained Dataflows in Tactical Networks: An Exp...
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Mpls co s
Mpls co sMpls co s
Mpls co s
 
IntServ & DiffServ
IntServ & DiffServIntServ & DiffServ
IntServ & DiffServ
 
QoS (quality of service)
QoS (quality of service)QoS (quality of service)
QoS (quality of service)
 
Jc3615871591
Jc3615871591Jc3615871591
Jc3615871591
 
Design and implementation of low latency weighted round robin (ll wrr) schedu...
Design and implementation of low latency weighted round robin (ll wrr) schedu...Design and implementation of low latency weighted round robin (ll wrr) schedu...
Design and implementation of low latency weighted round robin (ll wrr) schedu...
 
24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service24 Congestion Control_and_Quality_of_Service
24 Congestion Control_and_Quality_of_Service
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute OperationsQuantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
Quantitative Evaluation for PMPIv6 Multicast Fast Reroute Operations
 
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
Joint Fixed Power Allocation and Partial Relay Selection Schemes for Cooperat...
 
UNIT II tramission control
UNIT II tramission controlUNIT II tramission control
UNIT II tramission control
 
HA Summary
HA SummaryHA Summary
HA Summary
 
Thesis - Differentiated Optical QoS Service
Thesis - Differentiated Optical QoS ServiceThesis - Differentiated Optical QoS Service
Thesis - Differentiated Optical QoS Service
 
Defining characteristics of qfabric
Defining characteristics of qfabricDefining characteristics of qfabric
Defining characteristics of qfabric
 
Defining Characteristics of QFabric
Defining Characteristics of QFabricDefining Characteristics of QFabric
Defining Characteristics of QFabric
 
Simulation Based Performance Evaluation of Queueing Disciplines for Multi-Cl...
Simulation Based Performance Evaluation of Queueing  Disciplines for Multi-Cl...Simulation Based Performance Evaluation of Queueing  Disciplines for Multi-Cl...
Simulation Based Performance Evaluation of Queueing Disciplines for Multi-Cl...
 
Virtual migration cloud
Virtual migration cloudVirtual migration cloud
Virtual migration cloud
 
Replication
ReplicationReplication
Replication
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication Systems
 

Similar to Week11 qo s-2017(1)

Lab 10 manual
Lab 10 manualLab 10 manual
Lab 10 manualtrayyoo
 
Lab 10 manual(1)
Lab 10 manual(1)Lab 10 manual(1)
Lab 10 manual(1)trayyoo
 
NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...
NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...
NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...ijngnjournal
 
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Reza Farahani
 
DIFFERENTIATED SERVICES ENSURING QOS ON INTERNET
DIFFERENTIATED SERVICES ENSURING QOS ON INTERNETDIFFERENTIATED SERVICES ENSURING QOS ON INTERNET
DIFFERENTIATED SERVICES ENSURING QOS ON INTERNETijcseit
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of ServiseRaza_Abidi
 
QoS Classification on Cisco IOS Router
QoS Classification on Cisco IOS RouterQoS Classification on Cisco IOS Router
QoS Classification on Cisco IOS RouterNetProtocol Xpert
 
Application Engineered Routing Enables Applications and Network Infrastructur...
Application Engineered Routing Enables Applications and Network Infrastructur...Application Engineered Routing Enables Applications and Network Infrastructur...
Application Engineered Routing Enables Applications and Network Infrastructur...Cisco Service Provider
 
Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...
Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...
Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...CSCJournals
 

Similar to Week11 qo s-2017(1) (20)

Lab 10 manual
Lab 10 manualLab 10 manual
Lab 10 manual
 
Lab 10 manual(1)
Lab 10 manual(1)Lab 10 manual(1)
Lab 10 manual(1)
 
Cisco: QoS
Cisco: QoSCisco: QoS
Cisco: QoS
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Qos Demo
Qos DemoQos Demo
Qos Demo
 
NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...
NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...
NETWORK PERFORMANCE EVALUATION WITH REAL TIME APPLICATION ENSURING QUALITY OF...
 
Qos
QosQos
Qos
 
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
 
How to implement mpls
How to implement mplsHow to implement mpls
How to implement mpls
 
DIFFERENTIATED SERVICES ENSURING QOS ON INTERNET
DIFFERENTIATED SERVICES ENSURING QOS ON INTERNETDIFFERENTIATED SERVICES ENSURING QOS ON INTERNET
DIFFERENTIATED SERVICES ENSURING QOS ON INTERNET
 
Essay On Ethernet
Essay On EthernetEssay On Ethernet
Essay On Ethernet
 
Wan networks
Wan networksWan networks
Wan networks
 
teste
testeteste
teste
 
WBN.pptx
WBN.pptxWBN.pptx
WBN.pptx
 
Quality of Servise
Quality of ServiseQuality of Servise
Quality of Servise
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Admission Control Mechanism For Mpls Ds Te
Admission Control Mechanism For Mpls Ds TeAdmission Control Mechanism For Mpls Ds Te
Admission Control Mechanism For Mpls Ds Te
 
QoS Classification on Cisco IOS Router
QoS Classification on Cisco IOS RouterQoS Classification on Cisco IOS Router
QoS Classification on Cisco IOS Router
 
Application Engineered Routing Enables Applications and Network Infrastructur...
Application Engineered Routing Enables Applications and Network Infrastructur...Application Engineered Routing Enables Applications and Network Infrastructur...
Application Engineered Routing Enables Applications and Network Infrastructur...
 
Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...
Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...
Application of N jobs M machine Job Sequencing Technique for MPLS Traffic Eng...
 

More from trayyoo

ops300 Week5 storage
ops300 Week5 storageops300 Week5 storage
ops300 Week5 storagetrayyoo
 
ops300 Week8 practical test
ops300 Week8 practical testops300 Week8 practical test
ops300 Week8 practical testtrayyoo
 
ops300 Week8 gre
ops300 Week8 greops300 Week8 gre
ops300 Week8 gretrayyoo
 
ops300 Week9 feedback
ops300 Week9 feedbackops300 Week9 feedback
ops300 Week9 feedbacktrayyoo
 
ops300 Week10 technology evaluation
ops300 Week10   technology evaluationops300 Week10   technology evaluation
ops300 Week10 technology evaluationtrayyoo
 
ops300 Research paperrubric
ops300 Research paperrubricops300 Research paperrubric
ops300 Research paperrubrictrayyoo
 
ops300 Project(4)
ops300 Project(4)ops300 Project(4)
ops300 Project(4)trayyoo
 
ops300 Project(3)
ops300 Project(3)ops300 Project(3)
ops300 Project(3)trayyoo
 
ops300 Assignment 02
ops300 Assignment  02ops300 Assignment  02
ops300 Assignment 02trayyoo
 
ops300 Week5 storage (1)
ops300 Week5 storage (1)ops300 Week5 storage (1)
ops300 Week5 storage (1)trayyoo
 
srt311 Project2
srt311 Project2srt311 Project2
srt311 Project2trayyoo
 
Project papercontent requirement
Project papercontent requirementProject papercontent requirement
Project papercontent requirementtrayyoo
 
Dcn330 project papertemplate(1)
Dcn330 project papertemplate(1)Dcn330 project papertemplate(1)
Dcn330 project papertemplate(1)trayyoo
 
Dcn330 project-paper-rubric
Dcn330 project-paper-rubricDcn330 project-paper-rubric
Dcn330 project-paper-rubrictrayyoo
 
Introduction(2)
Introduction(2)Introduction(2)
Introduction(2)trayyoo
 
Report for lab 1
Report for lab 1Report for lab 1
Report for lab 1trayyoo
 
Report for lab 2(2)
Report for lab 2(2)Report for lab 2(2)
Report for lab 2(2)trayyoo
 
Report for lab 3(1)
Report for lab 3(1)Report for lab 3(1)
Report for lab 3(1)trayyoo
 
Report for lab 4 2017(1)
Report for lab 4 2017(1)Report for lab 4 2017(1)
Report for lab 4 2017(1)trayyoo
 
Report for lab 5 2017
Report for lab 5 2017Report for lab 5 2017
Report for lab 5 2017trayyoo
 

More from trayyoo (20)

ops300 Week5 storage
ops300 Week5 storageops300 Week5 storage
ops300 Week5 storage
 
ops300 Week8 practical test
ops300 Week8 practical testops300 Week8 practical test
ops300 Week8 practical test
 
ops300 Week8 gre
ops300 Week8 greops300 Week8 gre
ops300 Week8 gre
 
ops300 Week9 feedback
ops300 Week9 feedbackops300 Week9 feedback
ops300 Week9 feedback
 
ops300 Week10 technology evaluation
ops300 Week10   technology evaluationops300 Week10   technology evaluation
ops300 Week10 technology evaluation
 
ops300 Research paperrubric
ops300 Research paperrubricops300 Research paperrubric
ops300 Research paperrubric
 
ops300 Project(4)
ops300 Project(4)ops300 Project(4)
ops300 Project(4)
 
ops300 Project(3)
ops300 Project(3)ops300 Project(3)
ops300 Project(3)
 
ops300 Assignment 02
ops300 Assignment  02ops300 Assignment  02
ops300 Assignment 02
 
ops300 Week5 storage (1)
ops300 Week5 storage (1)ops300 Week5 storage (1)
ops300 Week5 storage (1)
 
srt311 Project2
srt311 Project2srt311 Project2
srt311 Project2
 
Project papercontent requirement
Project papercontent requirementProject papercontent requirement
Project papercontent requirement
 
Dcn330 project papertemplate(1)
Dcn330 project papertemplate(1)Dcn330 project papertemplate(1)
Dcn330 project papertemplate(1)
 
Dcn330 project-paper-rubric
Dcn330 project-paper-rubricDcn330 project-paper-rubric
Dcn330 project-paper-rubric
 
Introduction(2)
Introduction(2)Introduction(2)
Introduction(2)
 
Report for lab 1
Report for lab 1Report for lab 1
Report for lab 1
 
Report for lab 2(2)
Report for lab 2(2)Report for lab 2(2)
Report for lab 2(2)
 
Report for lab 3(1)
Report for lab 3(1)Report for lab 3(1)
Report for lab 3(1)
 
Report for lab 4 2017(1)
Report for lab 4 2017(1)Report for lab 4 2017(1)
Report for lab 4 2017(1)
 
Report for lab 5 2017
Report for lab 5 2017Report for lab 5 2017
Report for lab 5 2017
 

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

Week11 qo s-2017(1)

  • 1. Lecture 11 – Quality of Service Li DCN330 Fall 2017
  • 2. QoS  Why Do We Need QoS?  QoS Architecture Models  QoS Architecture Components  Basic Configurations  Example in Queuing  IOS Commands Review 2 DCN330 Fall 2017
  • 3. 3 Why Do We Need QoS?  Video Streaming Services  Video Conferencing  VoIP QoS development inspired by new types of applications in IP environment: DCN330 Fall 2017
  • 4. Why Do We Need QoS?  Multiple application networks are being combined into consolidated corporate utility networks  Traffic can suffer from the following symptoms:  Delay (or latency)- is the time that is required for a packet to travel from its source to its destination.  Jitter (or delay variation)- is the uneven arrival of packets.  Packet drops (or packet loss)-Packet drops occur when a link is congested and a buffer overflows. 4 DCN330 Fall 2017
  • 5. Why Do We Need QoS?  Voice  No more than 150 ms of one-way delay  No more than 30 ms of jitter  No more than 1 percent packet loss  Video  No more than 150ms of one-way delay for interactive voice applications (e.g. video conferending)  No more than 30 ms of jitter  No more than 1 percent packet loss  Data  Applications have varying delay and loss characteristics 5 DCN330 Fall 2017
  • 6. QoS  Why Do We Need QoS?  QoS Architecture Models  QoS Architecture Components  Basic Configurations  Example in Queuing  IOS Commands Review 6 DCN330 Fall 2017
  • 7. 7 QoS Architecture Models  Best Effort Service  Integrated Service  Differentiated Service DCN330 Fall 2017
  • 8. 8 QoS Architecture Models Best Effort Service:  All packets treated equally  Unpredictable bandwidth  Unpredictable delay and jitter DCN330 Fall 2017
  • 9. 9 QoS Architecture Models Integrated Service (IntServ)  IntServ is often referred to as “Hard QoS,” because it can make strict bandwidth reservations. IntServ uses signaling among network devices to provide bandwidth reservations. Resource Reservation Protocol (RSVP) is an example of an IntServ approach to QoS. Because IntServ must be configured on every router along a packet’s path, the main drawback of IntServ is its lack of scalability. DCN330 Fall 2017
  • 10. 10 QoS Architecture Models Differentiated Service (DiffServ)  DiffServ, as the name suggests, differentiates between multiple traffic flows. Specifically, packets are “marked,” and routers and switches can then make decisions (for example, dropping or forwarding decisions) based on those markings.  Each compliant node can have various behaviors  DiffServ is far more flexible and scalable  DiffServ can be pervasively deployed throughout the network  Focus of today’s lecture DCN330 Fall 2017
  • 11. QoS  Why Do We Need QoS?  QoS Architecture Models  QoS Architecture Components  Basic Configurations  Example in Queuing  IOS Commands Review 11 DCN330 Fall 2017
  • 12. 12 QoS Architecture Components  Classification and Marking  Traffic Shaping/Policing  Congestion Management  Congestion Avoidance  Link Efficiency DCN330 Fall 2017
  • 13. Classification and Marking Options  QoS Tools (You must have a QoS tool that references those marking and alters the packets’ treatment based on those markings, because marking alone does not alter the behaviour of packets. )  Classification—Classification is the process of placing traffic into different categories. Multiple characteristics can be used for classification. For example, POP3, IMAP, SMTP, and Exchange traffic could all be placed in an “EMAIL” class. Classification does not, however, alter bits in the frame or packet.  Marking—Marking alters bits (for example, bits in the ToS byte) within a frame, cell, or packet to indicate how the network should treat that traffic. Marking alone does not change how the network treats a packet. Other tools (for example, queuing tools) can, however, reference those markings and make decisions based on them. 13 DCN330 Fall 2017
  • 14. 14 Classification and Marking Options Classification can be done on:  Layer 1 criteria: such as ingress physical interface  Layer 2 criteria: such as IEEE 802.1Q/p CoS (Class of Service)  Layer 3 criteria: such as IP DSCP  Layer 4 criteria: such as TCP/UDP port(s)  Layer 7 criteria: such as Packet Content (NBAR) i.e. HTTP, HTTPS, FTP etc. Marking can be done on:  Layer 2 fields: such as IEEE 802.1Q/p CoS  Layer “2.5” fields: such as MPLS EXP  Layer 3 fields: such as IP DSCP DCN330 Fall 2017
  • 15. Classification & Marking Tools DiffServ at Layer 3  Inside an IPv4 header is a byte called the type of service (ToS) byte. You can mark packets, using bits within the ToS byte, with either IP Precedence or Differentiated Service Code Point (DSCP) markings.  The challenge with so many values at your disposal is that the value you choose to represent a certain level of priority can be treated differently by a router or switch under someone else’s administration. 15 DCN330 Fall 2017
  • 16. Classification & Marking Tools DiffServ at Layer 3  The 6 leftmost bits (or DSCP) in the ToS yields 64 possible values  These 64 values called per-hop behaviours (PHBs). because they indicate how packets should be treated by each router hop along the path from the source to the destination 16 DCN330 Fall 2017
  • 17. 17 QoS Architecture Components  Classification and Marking  Traffic Shaping/Policing  Congestion Management  Congestion Avoidance  Link Efficiency DCN330 Fall 2017
  • 18. QoS Architecture Components (cont’d)  Policing and shaping—Sometimes, instead of making a minimum amount of bandwidth available for specific traffic types, you might want to limit the available bandwidth. Both policing and shaping tools can accomplish this objective. Collectively, these tools are called traffic conditioners.  Congestion management—When you hear the term congestion management, think queuing. These concepts are the same. When an interface’s output software queue contains packets, the interface’s queuing strategy determines how the packets are emptied from the queue. We will present details later in the lecture.  Congestion avoidance—If an interface’s output queue fills to capacity, newly arriving packets are discarded (that is, “tail-dropped”), regardless of the priority that is assigned to the discarded packet.  Link efficiency—To make the most of the limited bandwidth that is available on slower-speed links, you can choose to implement compression or Link Fragmentation and Interleaving (LFI). 18 DCN330 Fall 2017
  • 19. QoS  Why Do We Need QoS?  QoS Architecture Models  QoS Architecture Components  Basic Configurations  Example in Queuing  IOS Commands Review 19 DCN330 Fall 2017
  • 20. Basic QoS Configuration  One of the most powerful approaches to QoS configuration is the Modular Quality of Service Command-Line Interface (MQC). 20 DCN330 Fall 2017
  • 21. Basic QoS Configuration (cont’d)  Step 1: create class-maps to categorize traffic types. IOS Commands:  Router(config)#class-map [match-any | match-all] class- name  After you are in class-map configuration mode, you can specify multiple match statements to match traffic, and all traffic that meets the criteria that you specified with the match commands is categorized under the class-map.  After the class-maps are defined, the first step of MQC is complete. 21 DCN330 Fall 2017
  • 22. Basic QoS Configuration (cont’d)  Step 2: create a policy-map, which assigns characteristics (for example, marking) to the classified traffic.  To enter policy-map configuration mode, issue the following command:  Router(config)#policy-map policy-name  From policy-map configuration mode, enter policy-map- class configuration mode with the following command:  Router(config-pmap)#class class-name 22 DCN330 Fall 2017
  • 23. Basic QoS Configuration (cont’d)  Step 3: apply the policy-map to an interface. Command:  Router(config-if)#service-policy {input | output} policy- map-name 23 DCN330 Fall 2017
  • 24. Basic QoS Configuration (cont’d)  Example: you are classifying various types of e-mail traffic (for example, SMTP, IMAP, and POP3) into one class-map. The KaZaa protocol, which is used for music downloads, is placed in another class-map. Voice over IP (VoIP) traffic is placed in yet another class-map. Then, the policy-map assigns bandwidth allocations or limitations to these traffic types.  •Explanation: the QOS-STUDY policy-map makes 128 kbps of bandwidth available to e-mail traffic. However, KaZaa version 2 traffic bandwidth is limited to 32 kbps (that is, KaZaa traffic higher than this rate will be dropped). Voice packets not only have access to 256 kbps of bandwidth, but they also receive “priority” treatment, meaning that they are sent first (that is, ahead of other traffic) up to the 256-kbps limit. 24 Note: Some application protocols may not be available by default on your router, which needs to be supported by the PDLM (or application recognition modules) installation. DCN330 Fall 2017
  • 25. QoS  Why Do We Need QoS?  QoS Architecture Models  QoS Architecture Components  Basic Configurations  Example in Queuing  IOS Commands Review 25 DCN330 Fall 2017
  • 26. Queuing  Queuing  is sometimes referred to as congestion management, queuing mechanisms identify how traffic from multiple streams is sent out of an interface that is currently experiencing congestion. We will examines approaches to queuing and emphasizes the queuing approaches configured via MQC.  Queuing Basics  When a device, such as a switch or a router, is receiving traffic faster than it can be transmitted, the device attempts to buffer the extra traffic until bandwidth is available. This buffering process is called queuing. You can use queuing mechanisms to influence in what order various traffic types are emptied from the queue. 26 DCN330 Fall 2017
  • 27. Queuing (cont’d) Two queuing mechanisms: CB-WFQ (Class-Based Weighted Fair Queueing) and LLQ (Low Latency Queuing).  The WFQ mechanism made sure that no traffic was starved out. However, WFQ did not make a specific amount of bandwidth available for defined traffic types. You can, however, specify a minimum amount of bandwidth to make available for various traffic types using the CB-WFQ mechanism.  CB-WFQ is configured through the three-step MQC process. Using MQC, you can create up to 63 class-maps and assign a minimum amount of bandwidth for each one. Note that the reason you cannot create 64 class-maps is that the class-default class-map has already been created.  Low Latency Queuing (LLQ) is almost identical to CB-WFQ. However, with LLQ, you can instruct one or more class-maps to direct traffic into a priority queue. 27 DCN330 Fall 2017
  • 28. Queuing (cont’d)  CB-WFQ:  You can make a specific amount of bandwidth available for classified traffic. To allocate a bandwidth amount, use the following command, noting that the units of measure are in kbps: Router(config-pmap-c)#bandwidth {kbps}  Instead of specifying an exact amount of bandwidth, you can specify a percentage of the interface bandwidth. For example, a policy-map could allocate 25 percent of an interface’s bandwidth. Then, that policy-map could be applied to, for example, a Fast Ethernet interface and also to a slower-speed serial interface. Router(config-pmap-c)#bandwidth percent {value} 28 DCN330 Fall 2017
  • 29. Queuing (cont’d)  LLQ:  You can use either of the following commands to direct packets to the priority queue:  Router(config-pmap-c)#priority bandwidth (Note that the bandwidth units of measure are in kbps.)  Router(config-pmap-c)#priority percent percent (Note that the percent option references a percentage of the interface bandwidth.) 29 DCN330 Fall 2017
  • 30. Queuing (cont’d)  LLQ Example: in the example on the right, NBAR is being used to recognize http traffic, and that traffic is placed in the SURFING class. Note that NBAR (Network-Based Application Recognition) is invoked with the following command: Router(config-cmap)# match protocol Voice packets are placed in the VOICE class. The QOS_STUDY policy-map gives 128 kbps of bandwidth to the http traffic while giving 256 kbps of priority bandwidth to voice traffic. Then the policy-map is applied outbound to interface serial 0/1. 30 DCN330 Fall 2017
  • 31. QoS  Why Do We Need QoS?  QoS Architecture Models  QoS Architecture Components  Basic Configurations  Example in Queuing  IOS Commands Review 31 DCN330 Fall 2017
  • 32. IOS Commands Review  class-map Creates a class map to be used for matching packets to the class whose name you specify.  match protocol Defines the match criteria to classify traffic. NBAR (Network-Based Application Recognition) will be invoked.  class Specifies the name of the class whose policy you want to create or change or to specify the default class (commonly known as the class-default class) before you configure its policy.  policy-map Enters policy-map configuration mode and creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy.  bandwidth The bandwidth command (used in policy-map) provides a minimum bandwidth guarantee during congestion.  priority The priority command (used in policy-map) implements a maximum bandwidth guarantee.  To confirm the QOS is working you would use the command: show policy-map interface [fastethernet 0/0]  To show class map(s) defined: show class-map 32 DCN330 Fall 2017
  • 33. IOS Commands Review (cont’d)  Difference between bandwidth and priority command. http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-packet-marking/10100-priorityvsbw.html 33 DCN330 Fall 2017
  • 34. IOS Commands Review (cont’d)  Although the bandwidth guarantees provided by the bandwidth and priority commands have been described with words like "reserved" and "bandwidth to be set aside", neither command implements a true reservation. In other words, if a traffic class is not using its configured bandwidth, any unused bandwidth is shared among the other classes.  The queueing system imposes an important exception to this rule with a priority class. http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-packet-marking/10100-priorityvsbw.html 34 DCN330 Fall 2017
  • 35. In-Class Activity Finish the following task in groups:  In a WAN connection between R1 and R2, you want to make sure the outbound HTTP traffic on the interface S0/0/0 of R1, can be guaranteed with the 1Mbps bandwidth. Try to apply a QoS policy following the steps:  Step 1: Create a class-map “WEB” to category this HTTP traffic.  Step 2: Create a policy-map “MY- QOS-POLICY”, which assigns characteristics (for example, marking) to the classified traffic.  Step 3: Apply the policy-map to an interface.  Step 4: Verify your class-map and policy-map 35 Note: The router type can be Cisco 2811 with one WIC-2T module installed (two serial ports are available on this module). DCN330 Fall 2017
  • 36. References  Cisco IP Telephony Flash Cards: Weighted Random Early Detection (WRED). Available at http://www.ciscopress.com/articles/article.asp?p=352991  Comparing the bandwidth and priority Commands of a QoS Service Policy. Available at: http://www.cisco.com/c/en/us/support/docs/quality-of-service- qos/qos-packet-marking/10100-priorityvsbw.html  Comparing Traffic Policing and Traffic Shaping for Bandwidth Limiting. Available at: http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos- policing/19645-policevsshape.html 36 DCN330 Fall 2017