Professional Documents
Culture Documents
01-Voved Intro To QoS
01-Voved Intro To QoS
Bandwidth max = min (10 Mbps, 256 kbps, 512 kbps, 100 Mbps) =
256 kbps
Bandwidth avail = bandwidth max / flows
• Upgrade the link: the best solution but also the most expensive.
• Forward the important packets first.
• Compress the payload of Layer 2 frames (it takes time).
• Compress IP packet headers.
End-to-End Delay
Delay = P1 + Q1 + P2 + Q2 + P3 + Q3 + P4 = X ms
• End-to-end delay equals a sum of all serialization,
propagation, processing, and queuing delays in the path.
• In Best-Effort networks, propagation delay is fixed,
processing and queuing delays are unpredictable.
Types of Delay
• Processing Delay: The time it takes for a router to take the packet from
an input interface, examine it, and put it into the output queue of the
output interface
• Queuing Delay: The time a packet resides in the output queue of a
router
• Serialization Delay: The time it takes to place the “bits on the wire”
• Propagation Delay: The time it takes to transmit a packet
Ways to Reduce Delay
• Upgrade the link; the best solution but also the most expensive.
• Forward the important packets first.
• Compress the payload of Layer 2 frames (it takes time).
• Compress IP packet headers.
Packet Loss
• Tail drops occur when the output queue is full. These are
common drops, which happen when a link is congested.
• Many other types of drops exist, usually the result of router
congestion, that are uncommon and may require a hardware
upgrade (input drop, ignore, overrun, frame errors).
Ways to Prevent Packet Loss
• Upgrade the link; the best solution but also the most expensive.
• Guarantee enough bandwidth to sensitive packets, increase
buffer space.
• Prevent congestion by randomly dropping less important
packets before congestion occurs.
Summary
• Traditional networks use a separate network for delay- and
jitter-sensitive voice traffic. The voice network is
engineered to support the required number of calls. For
data traffic, protocols like TCP have been developed to
adapt to the bursty nature of a data network.
• Converged networks that support voice, video, and data
create new requirements for managing network traffic.
QoS meets those requirements.
• Converged networks suffer from different quality issues,
including lack of adequate bandwidth, end-to-end and
variable delay, and lost packets.
• Lack of bandwidth causes networks to experience different
types of delay, including processing delay, queuing delay,
serialization delay, and propagation delay.
Summary (Cont.)
• End-to-end delay is the sum of all propagation,
processing, and queuing delays.
• Packet loss can cause applications that use TCP to
slow down. Applications that do not use TCP, such as
voice traffic, will experience poor voice quality if the
packet loss is too excessive.
• Ways to increase the available bandwidth, decrease
the delay and packet loss include:
– Increasing the link capacity
– Using QoS mechanisms such as queuing, WRED, traffic
policing and shaping, and link efficiency mechanisms such
as payload and header compression
ШТО Е QOS?
QoS Defined
QoS for Converged Networks
Step 1:
Identify Traffic and Its Requirements
• Network audit
– Identify traffic on the
network
• Business audit
– Determine how each type of
traffic is important for
business
• Service levels required
– Determine required
response time
QoS Traffic Requirements: Voice
• Latency < 150 ms*
• Jitter < 30 ms*
• Loss < 1%*
• 17-106 kbps guaranteed
priority bandwidth per call
• 150 bps (+ Layer 2 overhead)
guaranteed bandwidth for
voice control traffic per call
*one-way requirements
QoS Requirements: Videoconferencing
• Latency = 150 ms*
• Jitter = 30 ms*
• Loss = 1%*
• Minimum priority bandwidth
guarantee required is:
– Video stream + 20%
– For example, a 384 kbps stream
would require 460 kbps of priority
bandwidth
*one-way requirements
QoS Traffic Requirements: Data
• Different applications have different
traffic characteristics.
• Different versions of the same
application can have different traffic
characteristics.
• Classify data into relative-priority
model with no more than 4 to 5
classes:
– Mission-Critical Apps: Locally defined
critical applications
– Transactional: Interactive traffic,
preferred data service
– Best-Effort: Internet, e-mail, unspecified
traffic
– Less-Than-Best-Effort (Scavenger): peer-
to-peer applications
Step 2:
Divide Traffic into Classes
Step 3:
Define Policies for Each Traffic Class
• A network-wide
definition of the
specific levels of
quality of service
assigned to different
classes of network
traffic
QoS Policy (Cont.)
• Align Network Resources with Business Priorities
Summary
• QoS is the ability of the network to provide better or
“special” service to users and applications.
• Building QoS requires three steps: identify requirements,
classify network traffic, and define network-wide policies
for quality.
• Voice, video, and data have very different QoS
requirements to run effectively on a network. These
requirements affect how voice, video, and data packets are
identified.
• Business requirements determine how to define traffic into
traffic classes, from highest priority to lowest priority.
• A QoS policy is a network-wide definition of the specific
levels of QoS assigned to classes of network traffic.
ИМПЛЕМЕНТАЦИЈА НА QOS
Methods for Implementing QoS Policy
• CLI
• MQC
• AutoQoS VoIP (voice QoS)
• AutoQoS Enterprise (voice, video, and data QoS)
• QPM
Implementing QoS with CLI
• Traditional method
• Nonmodular
• Cannot separate traffic classification from policy
definitions
• Used to augment, fine-tune newer AutoQoS
method
Implementing QoS with MQC
• A command syntax for configuring QoS policy
• Reduces configuration steps and time
• Configure policy, not “raw” per-interface
commands
• Uniform CLI across major Cisco IOS platforms
• Uniform CLI structure for all QoS features
• Separates classification engine from the policy
Implementing QoS with AutoQoS
• AutoQoS VoIP supported both in the LAN and
WAN environments
• AutoQoS Enterprise supported on WAN
interfaces
• Routers can deploy Enterprise QoS policy
treatment for voice, video, and data traffic
• Switches can deploy QoS policy treatments for
voice by a single command
Comparing Methods for
Implementing QoS
AutoQoS AutoQoS
CLI MQC VoIP Enterprise
Ability to Fine-
OK Very Good Very Good Very Good
Tune