Professional Documents
Culture Documents
п3 PDF
п3 PDF
AutoQoS
Modular QoS CLI
• The MQC provides a
modular approach to
configuration of QoS
mechanisms.
• First, build modules
defining classes of
traffic.
• Then, build modules
defining QoS policies
and assign classes to
policies.
• Finally, assign the policy
modules to interfaces.
Modular QoS CLI Components
• Example policy:
– Shape all traffic on FastEthernet to 2 Mbps.
– Out of the 2 Mbps, guarantee 1 Mbps to HTTP traffic.
Service Policy
• “Where will this policy be implemented?”
• Attaches a traffic policy configured with a policy
map to an interface.
• Service policies can be applied to an interface for
inbound or outbound packets.
Summary
• MQC is a modular approach to designing and
implementing an overall QoS policy.
• Applying an overall QoS policy involves three steps:
defining class maps to identify classes of traffic,
defining QoS policy maps, and assigning the policy
maps to interfaces.
• Each class of traffic is defined in a class map module.
• The class-map global configuration command is used
to create a class map and enter the class-map
configuration mode. The show class-map command
lists all class maps with their match statements.
Summary (Cont.)
• A policy map module defines a traffic policy,
which configures the QoS features associated
with a traffic class previously identified using a
class map.
• The service-policy command assigns a single
policy map to multiple interfaces or assigns
multiple policy maps to a single interface (a
maximum of one in each direction, inbound and
outbound).
• A service policy attaches a traffic policy
configured with a policy map to an interface.
Example: Complete MQC
Configuration
• two traffic classes are created and their match
criteria are defined.
• For the first traffic class, called class1, access
control list (ACL) 101 is used as the match
criterion.
• For the second traffic class, called class2, ACL 102
is used as the match criterion.
• Packets are checked against the contents of these
ACLs to determine if they belong to the class.
Traffic Classes Defined
• Router(config)# class-map class1
• Router(config-cmap)# match access-group 101
• Router(config-cmap)# exit
• Router(config)# class-map class2
• Router(config-cmap)# match access-group 102
• Router(config-cmap)# exit
Traffic Policy Created
• a traffic policy called policy1 is defined to contain
policy specifications for the two classes: class1
and class2. The match criteria for these classes
was defined in the traffic classes.
• For class1, the policy includes a bandwidth
allocation request and a maximum packet count
limit for the queue reserved for the class.
• For class2, the policy specifies only a bandwidth
allocation request.
• Router(config)# policy-map policy1
• Router(config-pmap)# class class1
• Router(config-pmap-c)# bandwidth 3000
• Router(config-pmap-c)# queue-limit 30
• Router(config-pmap-c)# exit
• Router(config-pmap)# class class2
• Router(config-pmap-c)# bandwidth 2000
• Router(config-pmap-c)# exit
Traffic Policy Attached to an Interface
• After a traffic policy is defined with the policy-
map command, the traffic policy can be attached
to one or more interfaces to specify the traffic
policy for those interfaces by using the service-
policy command in interface configuration mode.
• Although the same traffic policy can be assigned
to multiple interfaces, each interface can have
only one traffic policy attached at the input and
a single traffic policy attached at the output.
• Router(config)# interface e1/1
• Router(config-if)# service-policy output policy1
• Router(config-if)# exit
• Router(config)# interface fa1/0/0
• Router(config-if)# service-policy output policy1
• Router(config-if)# exit
CISCO AUTO QOS VOIP
AutoQoS
• Ability to deploy QoS features for converged IP
telephony and data networks
– simplifies and automates the MQC, definition of
traffic classes, and the creation and configuration of
traffic policies.
• Generates traffic classes and policy map CLI
templates.
• When it is configured at the interface, the traffic
receives the required QoS treatment
automatically.
When to use AutoQoS
• Small- to medium-sized businesses that must deploy IP
telephony quickly, but lack the experience and staffing to
plan and deploy IP QoS services.
• Large enterprises that need to deploy Cisco telephony
solutions on a large scale while reducing the costs,
complexity, and time frame for deployment, and ensuring
that the appropriate QoS for voice applications is being set
in a consistent fashion.
• International enterprises or service providers requiring
QoS for VoIP in different regions of the world where little
expertise exists and where provisioning QoS remotely and
across different time zones is difficult.
• Service providers requiring a template-driven approach for
delivering managed services and QoS for voice traffic to
many customer premise devices.
AutoQoS (Cont.)
• Application Classification - NBAR
– Automatically discovers
applications and provides
appropriate QoS treatment
• Policy Generation
– Automatically generates initial
and ongoing QoS policies
• Configuration
– Provides high-level business
knobs, and multi-device/domain
automation for QoS
• Monitoring & Reporting
– Generates intelligent, automatic
alerts and summary reports
• Consistency
– Enables automatic, seamless
interoperability among all QoS
features and parameters across
a network topology – LAN, MAN,
and WAN
AutoQoS VoIP: Switch Platforms
• You can meet the voice QoS requirements
without extensive knowledge about:
– Trust boundary
– CoS-to-DSCP mappings
– WRR & PQ scheduling parameters
• Generated parameters and configurations are
user-tunable
AutoQoS VoIP: Switch Platforms
(Cont.)
• Single command at the interface level configures
interface and global QoS
– Support for Cisco IP Phone & Cisco SoftPhone
– Trust boundary is disabled when IP Phone is moved
– Buffer allocation and egress queuing dependent on
interface type (Gigabit Ethernet/Fast Ethernet)
• Supported on static, dynamic-access, voice VLAN
access, and trunk ports
• CDP must be enabled for AutoQoS to function
properly
Configuring AutoQoS VoIP:
Prerequisites for Using AutoQoS VoIP
• CEF must be enabled at the interface
• This feature cannot be configured if a QoS policy
(service policy) is attached to the interface.
• An interface is classified as low-speed if its
bandwidth is less than or equal to 768 kbps. It is
classified as high-speed if its bandwidth is greater
than 768 kbps.
– The correct bandwidth should be configured on all
interfaces or subinterfaces using the bandwidth
command.
– If the interface or subinterface has a link speed of 768
kbps or lower, an ip address must be configured using the
ip address command.
Configuring AutoQoS VoIP:
Routers