Académique Documents
Professionnel Documents
Culture Documents
By : Reza Farahani
QoS BASICS
Bandwidth
Delay
Jitter
Packet Loss
QoS Parameters : B.W
The term bandwidth refers to the number of bits per second that can reasonably
be expected to be successfully delivered across some medium.
Codec Delay
Compression Delay
Packetization Delay
Packet loss occurs when one or more packets of data travelling across a
computer network fail to reach their destination.
Jitter is defined as a variation in the arrival rate (that is, variation in delay through
the network) of packets that were transmitted in a uniform manner.
QOS for
Security
Complexity
Auto/Template
QOS
MPLS/VPN
QOS
Differentiated
Services
Integrated (Per-Hop)
Services
Best (RSVP)
Effort
The ToS byte itself was further subdivided, with the high-
order 3 bits defined as the IP Precedence (IPP) field.
IP PRECEDENCE & DSCP
IP PRECEDENCE & DSCP
RFC 2475 defines a set of DSCP values and Per-Hop Behaviors (PHBs),
called Class Selector (CS) PHBs that provide backward compatibility with IPP
The CS PHB simply states that packets with larger CS DSCPs should be
given better queuing preference than packets with lower CS DSCPs.
IP PRECEDENCE & DSCP
ASSURED FORWARDING PHB
The Assured Forwarding (AF) PHB defines four classes for queuing purposes,
along with three levels of drop probability inside each queue.
Where x implies one of four queues and y implies one of three drop priorities.
IP PRECEDENCE & DSCP
The AF PHB suggests that the higher the value of x in the DSCP name AF
xy, the better the queuing treatment a packet should get.
For example, packets with AF11 DSCPs should get worse queuing
treatment than packets with AF23 DSCP values.
Additionally, the AF PHB suggests that the higher the value of yin the
DSCP name AF xy, the worse the drop treatment for those packets.
IP PRECEDENCE & DSCP
IP PRECEDENCE & DSCP
The first 3 bits of the binary DSCP values designate the queuing
class, and the next 2 bits designate the drop preference.
Queuing tools that operate only on IPP can still react to the AF
DSCP values.
Policy-Map1 Policy-Map2
Out In Internet
F0/0 S0
MQC
MQC separates the classification function of a QoS tool from the action (PHB)
that the QoS tool wants to perform.
MQC
MQC
Classification
Inspecting one or more aspects of a packet to see what that packet is carrying
Marking
Writing information to a packet to classification decision
MQC
Trust Boundary
MQC
USING MULTIPLE MATCH
COMMANDS
USING MULTIPLE MATCH
COMMANDS
NBAR
If we encapsulate traffic inside a VPN tunnel, the original headers and
packet contents are unavailable for inspection.
The only thing we have to work with is the ToS byte of the original
packet, which is automatically copied to the tunnel header when the packet
is encapsulated.
But features like NBAR are broken when we are dealing with
encapsulated traffic.
QoS PRE-CLASSIFICATION
Solution ? buffering