Beruflich Dokumente
Kultur Dokumente
Objective
We will define and understand the motivation behind
Quality of Service
QoS implementation
Understand the concepts of classification, marking, handling of congestion and traffic conditioning i.e. policing and shaping
Deployment
What is IP QoS?
A set of techniques to manage
How fast do I need to transfer the data? [rate/Bandwidth] How long will it take for the data packets to arrive at the destination?
[latency/Delay]
Whether or not data packets arrive at the destination with differing
in an IP Network
Latency
Speed of light Serialization delay Forwarding process
Jitter
Over-subscription Output Buffering
Loss
Congestion
Traffic Characteristics
networks
Over-subscribed links More traffic types competing for the same set of resources
Without QoS?
Best Effort - unpredictable
classification
Mechanisms to define and propagate a set of rules on
100%
Time
Link Utilization
Link over-provisioned May not be cost effective No QoS is required. May provide a safety net
100% Time
Link Utilization
Transient congestion
QoS most useful
100%
Time
QoS implementation
First classify traffic into distinct classes Based on traffic profile Based on business priorities Tell the external networks about your classification Through signaling (IntServ) Through marking of each packet (DiffServ) Apply the QoS policy Congestion Management and Congestion Avoidance Traffic conditioning
Drop packets belonging to traffic class X (Police traffic) Delay packets belonging to traffic class Y (Shape traffic)
QoS implementation
Classify & Mark Handle congestion Conform to traffic contract
Classification
Based on a marker if marked at the source E.g. IP telephones marks DSCP code point at source Based on IP Access Lists Source and Destination IP or IP ranges Destination port number (type of application layer service)
Network Based Application Recognition (NBAR) Does deep packet inspection on the first packet of a flow Cisco proprietary
Marking
Layer-2 User priority bits in the IEEE 802.1q tag field in the Ethernet header Inherent in architecture: ATM MPLS Inferred from 3-bit EXP field in the MPLS header Layer-3 InterServ: Implementation is RSVP (Resource Reservation Protocol).
Congestion Management
Controls the network congestion once it occurs While honoring the QoS policy Sort the traffic into multiple queues decide how to
Congestion Avoidance
Monitors and anticipates network congestion and tries
Traffic Conditioning
Attempts to condition the traffic behavior of the output
selected packets to ensure certain traffic types get the demanded QoS parameters as per the QoS policy
Shaping limits transmission rates (delays via buffering) of
low priority traffic types in an attempt to smooth out the outgoing traffic flow
without buffering
Packets will be
dropped
buffering
Packets will be
indicates the desired behavior within the network Apply the desired behavior for each behavior aggregate in the core DSCP is an index to a set of pre-defined Per Hop Behaviors (PHB) PHBs are derived by an ISP based on its SLA with its customers
DiffServ architecture
Edge: worries about each flow
DiffServ domain: Your Intranet or an ISPs managed domain Ingress Routers provide the entrance to a DiffServ domain
Looks at traffic flows (e.g. FTP traffic for customer #1) Police and/or shape traffic Write/Re-write the DSCP in the IP header
Core routers
Only look at traffic aggregates (Collection of flows with same DSCP) For each DSCP look up and apply the relevant Per Hop Behavior (PHB)
DiffServ Routers
DiffServ Edge Router
Classifier Marker Meter
Policer/ Shaper
Select PHB
Local conditions
Packet treatment
Extract DSCP
business-critical category How many classes do I need to fully meet my organizational objectives
More the classes more closely can I achieve my
objectives
before design
Deployment methodology
Start with what business objective am I to achieve via
QoS?
Business priorities <-> Treatment of different traffic classes
each traffic class? Design and test QoS policies Role out the tested design Continuous Monitoring to ensure business priorities are adhered to