Convergencia - Diapositivas
Convergencia - Diapositivas
Convergencia - Diapositivas
Introducing QoS
Converged Networks
Quality Issues
Converged Network Quality Issues
Upgrade the link (the best but also the most expensive solution).
Forward the important packets first.
Compress the payload of Layer 2 frames (it takes time).
Compress IP packet headers.
Efficient Use of Available Bandwidth
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 for the packet to cross the link from one end to the
other.
The Impact of Delay on Quality
Upgrade the link (the best solution but also the most expensive).
Forward the important packets first.
Enable reprioritization of important packets.
Compress the payload of Layer 2 frames (it takes time).
Compress IP packet headers.
Efficient Use of Ways to Reduce Delay
Tail drops occur when the output queue is full. Tail drops are common
and happen when a link is congested.
Many other types of drops occur, usually the result of router
congestion, that are uncommon and may require a hardware upgrade
(such as, 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.
Prevent congestion by randomly dropping less important packets
before congestion occurs.
Packet Loss Solution
A networkwide definition of
the specific levels of QoS
assigned to different
classes of network traffic
Summary
Model Characteristics
Benefits:
Highly scalable
No special mechanisms required
Drawbacks:
No service guarantees
No service differentiation
IntServ Model
IntServ Model
RSVP sets up a path through the network with the requested QoS.
RSVP is used for CAC in Cisco Unified CallManager 5.0.
DiffServ Model
DiffServ Model
Benefits:
Highly scalable
Many levels of quality possible
Drawbacks:
No absolute service guarantee
Complex mechanisms
Summary
Method Description
Legacy CLI CLI
Configures QoS on interface level
Time-consuming
MQC CLI
Makes configurations modular
Best way for QoS fine tuning
Cisco AutoQoS Applies a possible QoS configuration to
the interfaces
Fastest way to implement QoS
Cisco SDM QoS wizard Application for simple QoS configurations
Legacy CLI
Legacy CLI
interface multilink
ip address 10.1.61.1 255.255.255.0
load-interval 30
custom-queue-list 1
ppp multilink
ppp multilink fragment-delay 10
ppp multilink interleave
multilink-group 1
ip tcp header-compression iphc-format
!
queue-list 1 protocol ip 2 tcp 23
Modular QoS CLI
Modular QoS CLI
router(config)#
class-map [match-all | match-any] class-map-name
router(config-cmap)#
match any
router(config-cmap)#
description description
router(config)#
access-list access-list-number {permit | deny | remark}
source [mask]
Standard ACL
router(config)#
access-list access-list-number {permit | deny} protocol
source source-wildcard [operator port] destination
destination-wildcard [operator port] [established] [log]
Extended ACL
router(config-cmap)#
match access-group access-list-number
router(config)#
policy-map policy-map-name
Enters policy-map configuration mode.
Policy maps are identified by a case-sensitive name.
router(config-pmap)#
class {class-name | class-default}
Enters the per-class policy configuration mode by using the name of a
previously configured class map.
Use the class-default name to configure the policy for the default class.
router(config-pmap)#
class class-name condition
Optionally, you can define a new class map by entering the condition after
the name of the new class map.
Uses the match any strategy.
Service Policy
router(config-if)#
service-policy {input | output} policy-map-name
class-map HTTP
match protocol http
!
policy-map PM
class HTTP
bandwidth 2000
class class-default
bandwidth 6000
!
interface Serial0/0
service-policy output PM
MQC Example
hostname Office
!
class-map VoIP
match access-group 100 Classification
class-map Application
match access-group 101
!
policy-map QoS-Policy
class VoIP
priority 100
class Application QoS Policy
bandwidth 25
class class-default
fair-queue
!
interface Serial0/0
service-policy output QoS-Policy QoS Policy on Interface
!
access-list 100 permit ip any any precedence 5
access-list 100 permit ip any any dscp ef Classification
access-list 101 permit tcp any host 10.1.10.20
access-list 101 permit tcp any host 10.1.10.40
Basic Verification Commands
router#
show class-map
router#
show policy-map
router#
show policy-map interface type number
Enable Cisco AutoQoS on relevant devices (such as LAN switches and WAN
routers) that need to perform QoS.
Cisco AutoQoS Example (Cont.)
interface Serial1/3
ip cef
bandwidth 1540 IP CEF and Bandwidth
ip address 10.10.100.1 255.255.255.0
auto qos voip AutoQoS for VoIP Traffic Recognized by NBAR
SDM QoS Wizard
Cisco SDM QoS Wizard
1.
3.
2.
4.
QoS Wizard
Interface Selection
QoS Policy Generation
Summary
Summary (Cont.)
Summary (Cont.)
Summary (Cont.)
Summary (Cont.)
Command Delivery Status
QoS Status
1.
2.
QoS Implementation
Methods Compared
QoS Implementation Methods Compared
Ability to
OK Very good Limited Limited
fine-tune
Time to
Longest Average Shortest Short
implement