QoS Implementation Methods
QoS Implementation Methods
In Example 2-1, note that both of the class maps have only one
match statement, and neither match-all nor match-any is specified,
which defaults to match-all. When only one match statement exists,
match-all and match-any yield the same result. However, when more
than one match statement exists, using match-any or match-all
makes a big difference. match-any means only one of the match
statements needs to be met, and match-all means all the match
statements must be met to bind the packet to the class.
NOTE The opposite of the match condition is the match not condition.
AutoQoS
AutoQoS is a value-added feature of Cisco IOS. After it is enabled
on a device, AutoQoS automatically generates QoS configuration
commands for the device. The initial release of AutoQoS (Auto QoS
VoIP) focused on generating commands that made the device ready
for VoIP and IP Telephony. Later, the AutoQoS Discovery feature was
introduced. The next generation of AutoQoS that takes advantage of
AutoQoS discovery is called AutoQoS for the Enterprise. AutoQoS
Discovery, as its name implies, analyzes live network traffic for as
long as you let it run and generates traffic classes based on the traffic
it has processed. Next, you enable the AutoQoS feature. AutoQoS
uses the traffic classes (class maps) formed by AutoQoS Discovery to
generate network QoS policy (policy map), and it applies the policy.
Based on the interface type, AutoQoS might also add features such as
fragmentation and interleaving, multilink, and traffic shaping to the
interface configuration.
The main advantage of AutoQoS is that it simplifies the task of
QoS configuration. Network administrators who lack in-depth
knowledge of QoS commands and features can use AutoQoS to
implement those features consistently and accurately. AutoQoS
participates in all the main aspects of QoS deployment:
ClassificationAutoQoS for the Enterprise, through AutoQoS
Discovery, automatically discovers applications and protocols (using
Network Based Application Recognition, or NBAR). It uses Cisco
Discovery Protocol (CDP) to check whether an IP phone is attached to
a switch port.
Policy generationIt provides appropriate treatment of traffic by
the QoS policies that it auto-generates. AutoQoS checks interface
encapsulations, and accordingly, it considers usage of features such
as fragmentation, compression, and traffic shaping. Access lists, class
maps, and policy maps, which normally have to be entered manually,
are automatically generated by AutoQoS.
Note that in Example 2-4, the command auto qos voip is applied to
interface serial 1/0. This command represents the first generation of
AutoQoS. The focus of auto qos voip was to automate generation of
QoS commands to get the device ready for VoIP traffic. In the second
generation AutoQoS for the Enterprise, you must first enter the auto
discovery qos so that the router discovers and analyzes network
traffic entering the interface using NBAR. Next, you enter the auto qos
command. When you enter the auto qos command on an interface,
the router builds class maps (based on the results of discovery) and
then creates and applies a policy map on the interface.
Router and Security Device Manager (SDM) QoS Wizard
Cisco SDM is a web-based device-management tool for Cisco routers.
With SDM, router deployment and troubleshooting of network and
VPN connectivity issues becomes simpler. Proactive management
through performance monitoring is also accomplished using SDM.
Cisco SDM supports a range of Cisco IOS Software releases and
is available on many Cisco router models (from Cisco 830 Series to
Cisco 7301); on several router models, SDM is preinstalled. Cisco SDM
offers smart wizards that provide step-by-step assistance for
configuration of LAN and WAN interfaces, Network Address Translation
(NAT), firewall policy, IPS, IPsec VPN, and QoS. Inexperienced users
find the SDM GUI easier to use than the CLI and enjoy the
comprehensive online help and tutorials for SDM.
The QoS Wizard of SDM provides you with an easy-to-use user
interface to define traffic classes and configure QoS policies for your
network. The SDM predefines three different application categories:
real-time, business-critical, and best-effort. SDM supports and uses
NBAR to validate the bandwidth consumed by different application
categories. Additional features offered by the SDM QoS Wizard include
QoS policing and traffic monitoring. The SDM QoS Wizard enables you
to do three things:
Implement QoS
Monitor QoS
Troubleshoot QoS on your network
Figure 2-3 displays the main page of Cisco SDM. This page is
comprised of two sections:
About Your Router
Configuration Overview
Figure 2-3 Main Page of Cisco SDM
In the About Your Router section of the SDM main page you can
find information about your routers hardware, software, and the
available features. For example, you can see the routers total and
available memory, flash capacity, IOS version, SDM version, and
whether features such as IP, firewall, VPN, IPS, and NAC are available.
Further information can be seen through the More options in the
hardware and software sections. The Configuration Overview section
of the SDM main page provides information about your routers LAN
and WAN interfaces, firewall policies, VPN, routing, and IPS
The tasks available on the left side of the Monitor page are:
Overview
Interface Status
Firewall Status
VPN Status
Traffic Status
NAC Status
Logging
IPS Status
If you select the Traffic Status task, you will have the option to view
graphs about QoS or application/protocol traffic.
The remainder of this section takes you through the steps necessary
to create a QoS policy, apply it to an interface, and monitor the QoS
status using the Cisco SDM (GUI) Wizard. For each step one or more
figures are provided so that you are well prepared for the exam
questions that might be asked about creating QoS policy using the
SDM Wizard.
To begin to create a QoS policy you must complete the
following steps:
Step 1 Click the Configure button on the main toolbar of SDM.
Step 2 Click the Quality of Service button on the tasks toolbar on the
left side of the SDM window (in Configuration mode; see Figure 2-4).
Step 3 Click the Create QoS Policy tab in the middle section of the
SDM window (see Figure 2-4).
Step 4 Click the Launch QoS Wizard button on the bottom right side
of the SDM window (see Figure 2-4).
Figure 2-4 Four Steps to Start Creating a QoS Policy with SDM
Now the SDM QoS Wizard page pops up on your computer screen
(see Figure 2-5) and it informs you that SDM by default creates QoS
policy to handle two main types of traffic, namely Real-Time and
Business-Critical. To proceed press the Next button.
Figure 2-5 SDM QoS Wizard Initial Page
After you press Next the new page shows a summary of the
configuration applied to the interface you have previously selected for
the policy (see Figure 2-8). On this page you can scroll down and up to
see the policy generated (and to be applied) in its entirety. Once you
press the Finish button.
After you press the Finish button on the SDM QoS summary of the
configuration screen, a Commands Delivery Status window appears
(see Figure 2-9). This screen first informs you that commands are
being prepared, then it tells you that the commands are being
submitted, and finally it tells you that the commands have been
delivered to the router. At this time, you can press the OK button and
the job is complete.
Figure 2-8 QoS Policy: Summary of the Configuration
of the SDM main tool bar. Next, from the list of available tasks you
must select Traffic Status (see Figure 2-10). Note that in the ONT
courseware, this option is shown as QoS Status, probably due to SDM
version differences. In the middle of the Traffic Status screen, you will
then notice a folder called Top N Traffic Flows with QoS and
Application/Protocol Traffic as two options displayed below it. If you
click QoS (effectively requesting to see the QoS status), you can then
choose any of the interfaces displayed in the Traffic Status screen and
see informative QoS-related graphs about the chosen interface.
Figure 2-10 SDM Monitor Traffic/QoS Status
When you select the QoS option of the Traffic Status, notice that on
the top right corner of the screen you can select the View Interval
(Now, Every 1 Minute, Every 5 Minutes, Every 1 Hour). Furthermore,
there is a small area with the "Select QoS Parameters for Monitoring"
title that allows you to select the Direction (input or output) of the
traffic, and the Statistics (bandwidth, byte, and packets dropped) for
which you want to see graphs.
Foundation Summary
The "Foundation Summary" is a collection of information that
provides a convenient review of many key concepts in this topic. If
you are already comfortable with the topics in this topic, this
summary can help you recall a few details. If you just read this topic,
this review should help solidify some key facts. If you are doing your
Available bandwidth
End-to-end delay
Variation of delay (jitter)
Packet loss
devices. MQC also reduces the chances for errors and conflicts, while
allowing you to take advantage of the latest features and mechanisms
offered by your version of Cisco IOS.