![]() |
Using QoS Policy Manager 2.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Getting Started with QPM
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsGetting Started with QPMUsing Policy Manager
Starting Policy Manager and Logging Into QPM
Using Distribution ManagerUnderstanding the Main Policy Manager Window Cutting, Copying, and Pasting Policies Changing the Policy Manager Display Saving Your Work Exiting Policy Manager Starting Distribution Manager
Understanding the Tutorial Example NetworkUnderstanding the Main Distribution Manager Window Changing the Distribution Manager Display Starting Policy Manager from Distribution Manager Exiting Distribution Manager Lesson 1Creating a QoS Database Sample Network Device Information
Lesson 2Creating and Distributing a Simple Policy for Managing Web Traffic on One RouterAdding a Device to the QoS Database Adding a Device's Interfaces Importing Multiple Devices into the QoS Database Uploading Existing Device Configurations Configuring the QoS Property
Lesson 3Coloring Enterprise Resource Planning (ERP) Traffic on a Group of DevicesCreating a New Policy to Color Inbound Traffic Distributing Policies to the Network Lesson 4Limiting the Bandwidth Available to FTP Traffic on a Switch Defining the QoS Style for a Switch's Ports
Lesson 5Updating the Database After Software UpgradesCreating an Application Service Alias Creating a Limiting Policy on the Switch Verifying Device Configuration and Distributing to the Network Updating the QoS Database with New Software Version Information
Lesson 6Using NBAR and Creating Multiple Action PoliciesRecreating Device Groups for the New Software Version Lesson 7Configuring Frame Relay Traffic Shaping Lesson 8Providing End-to-End QoS for VoIP over the Enterprise WAN Network Example for Configuring QoS for VoIP
Configuring QoS for the Campus Site
Adding Devices to the IP Telephony DatabaseConfiguring QoS for the WAN Configuring QoS for the Remote Branch Assigning Interfaces to the Device Groups Assigning the IP Phone Interfaces
Deploying the IP Telephony DatabaseAssigning the CallManager Interfaces Assigning the Uplink Interfaces to the Distribution Switch Assigning the Downlink Interfaces to the Access Switch Assigning the LAN Interface to the WAN Router Assigning the WAN Interfaces Assigning the Remote Branch Interfaces Getting Started with QPMThis tutorial helps you learn how to use QoS Policy Manager (QPM) to create and distribute QoS policies and configurations. It comprises a series of lessons that step you through procedures for creating different types of policies and deploying them to the network. The tutorial contains the following topics and lessons:
Using Policy ManagerPolicy Manager enables you to create and edit QoS policies and configurations. The following topics provide you with the basics for using Policy Manager:
Starting Policy Manager and Logging Into QPMStart Policy Manager to create, change, delete, and view your QoS configuration and policies. ProcedureStep 1 Select Start>Programs>QoS Policy Manager>Policy Manager. If you are not already logged in, QPM opens the Logon Information dialog box. Step 2 Log into QPM. You must enter a QPM user name and password according to these requirements:
If you enter a correct name and password, Policy Manager starts and automatically opens the last QoS database that was open. Tips
Understanding the Main Policy Manager WindowThe main Policy Manager window (Figure 3-1) is divided into three panes.
Figure 3-1: Policy Manager List View Pane
Tree ViewThe tree view pane (Figure 3-2) shows the devices and device groups being managed in QPM. The Devices directory contains a separate folder for each device. Most device folders contain a list of interfaces on which you define QoS policies. For some devices, you define policies directly on the device folder. The Device Groups directory contains the device groups you have defined. Device groups are groups of interfaces that you intend to manage using identical policies. You must treat all interfaces in a device group identically. Figure 3-2: Policy Manager Tree View Pane
The tree view pane is where you start when creating a policy. If the device is not yet defined in the QoS database, you must first define it and add its interfaces. You must select the device or interface on which you want to define a policy in the tree view before you can create (or change) the policy. Table 3-1: Description of Icons in Tree View
List ViewThe list view pane (Figure 3-3) shows the policies that are defined on the interface, device, or device group selected in the tree view. If you select an interface that belongs to a device group, the list of policies includes those defined on the device group, as well as those defined directly on the interface. You cannot edit or change the order of group policies when viewing them from a member interface. Group policies are always given lower priority than individual interface policies. Figure 3-3: Policy Manager List View Pane
The top bar of the list view includes the following items:
Each policy in the list is preceded by an icon that indicates the direction of the policy (inbound or outbound) and its status (enabled or disabled). Table 3-2 describes these icons. Table 3-2: Description of Icons in List View
Properties PreviewThe properties preview pane displays the properties of the device, device group, interface, or policy selected in the tree or list view panes. This can help you determine if you have defined the properties and filter conditions correctly. You can choose not to display the properties preview pane by selecting View>Properties Preview. Repeat this action to redisplay the pane. Cutting, Copying, and Pasting PoliciesYou can use the standard Windows cut, copy, and paste functions to manipulate policies in the QPM list view pane. ProcedureStep 1 Select the policy you want to cut or copy, or the folder in the tree view in which you want to paste the policy. Step 2 Use these commands from the Edit menu or from the right mouse button popup menu to cut, copy, or paste.
Changing the Policy Manager DisplayYou can change the main Policy Manager window to display information according to your preferences. Table 3-3 lists the available commands for changing the main Policy Manager window. Table 3-3: Changing the Policy Manager Main Window
Saving Your WorkYou must periodically save your changes to the QoS database. However, saving your changes to the database does not apply those changes to the network devices. You must use Distribution Manager to deploy your new or changed policies to the devices. ProcedureStep 1
If the QoS Manager service is not available when you try to save the database, the database is saved to your local disk. Check the machine that is running QoS Manager to ensure it is running properly and try saving the database again. Tips
Exiting Policy ManagerFrom the Policy Manager interface, you can close Policy Manager only, or close both Policy Manager and Distribution Manager. ProcedureStep 1 To close Policy Manager without closing Distribution Manager, select File>Close. To close both Policy Manager and Distribution Manager, select File>Exit. Using Distribution ManagerDistribution Manager enables you to deploy policies to network devices. The following topics provide you with the basics for using Distribution Manager:
Starting Distribution ManagerStart Distribution Manager to distribute policies and QoS settings to network devices. ProcedureStep 1 Distribution Manager starts. Tips
Understanding the Main Distribution Manager WindowThe main Distribution Manager window (Figure 3-4) is divided into three panes.
Figure 3-4: Distribution Manager Main Window
All Jobs Tree ViewThe All Jobs Tree View pane (Figure 3-5) shows all the jobs that you have created from QoS databases. Each job is assigned a number, which is the name of the job. Figure 3-5: Distribution Manager All Jobs Tree View
The root of the tree shows the name of the machine that is running the QoS Manager service to which Distribution Manager is connected: localhost means that QoS Manager resides on the same machine as Distribution Manager. When you select a job in the list, the contents of the job are displayed in the right-hand list view pane. When no job is selected, or when you select the root of the tree, the right-hand list view shows the details for all the jobs listed in the tree. Table 3-4: Description of Icons in All Jobs Tree View
Related TopicsList ViewThe list view pane shows the contents of the job selected in the All Jobs Tree View (Figure 3-6). If no job is selected in the tree, the list shows the details for all jobs listed in the tree (Figure 3-7). Figure 3-6: Distribution Manager List View Pane, Showing Job Summaries
Job summaries have the following details:
Figure 3-7: Distribution Manager List View Pane, Showing Job Contents
Job contents have the following details:
LogThe log pane (Figure 3-8) displays logs of event messages. Figure 3-8: Distribution Manager Log Pane
The pane has two tabs to display three types of logs:
Changing the Distribution Manager DisplayYou can change the main Distribution Manager window to display information according to your preferences. Table 3-5 lists the available commands for changing the main Distribution Manager window. Table 3-5: Changing the Distribution Manager Main Window
Starting Policy Manager from Distribution ManagerIf Policy Manager is not running, you can start it from Distribution Manager. ProcedureStep 1 The Policy Manager application starts. Exiting Distribution ManagerFrom the Distribution Manager interface, you can close Distribution Manager only, or close both Distribution Manager and Policy Manager. Before You BeginCheck the Status column to make sure that all distribution activities are complete or have been stopped. ProcedureStep 1 To close Distribution Manager without closing Policy Manager, select File>Close. To close both Distribution Manager and Policy Manager, select File>Exit. Understanding the Tutorial Example NetworkThis tutorial is based on an example enterprise network that consists of a campus site and several remote sites. Each tutorial lesson applies QPM techniques and principles to specific segments of this network. In each lesson, a diagram clearly illustrates the relevant network segments, the data path, and the QoS features or policies applied.
Figure 3-9: Sample Network Used in QPM Tutorial Lessons 1-6
Campus SiteThe campus site contains the following components:
Remote Site (Finance and HR Users)This remote site contains a Cisco 2500 router (referred to as router R2), running IOS version 12.0. In the scenario for this tutorial, this router connects the organization's Finance and HR users to the WAN. These users primarily require data from the application server and the FTP/Web server on the campus site. The primary path of data from these servers is from router R1 on the campus site to the remote router R2. Remote Site (Sales Users)This remote site contains a Cisco2500 router (referred to as router R3), running IOS version 12.0. This router connects the organization's Sales users to the WAN. These users primarily communicate with the application and web servers on the campus site. The primary path of data from these servers to the Sales users is through router R4 on the campus site to the remote router R3. Lesson 1Creating a QoS DatabaseIn this lesson you will learn how to create a QoS database comprising the devices and their interfaces that will be used in Lessons 2-6 of this Tutorial. The devices you will use to create the database are based on the example enterprise network illustrated in Figure 3-9. When creating a QoS database, you can:
Before You BeginIf you want to create policies and deploy them using actual devices that exist in your network, you need to obtain the IP addresses of the appropriate devices. Otherwise, you can use the example IP addresses in this tutorial so that you can follow the lessons without affecting your network. See Sample Network Device Information. In this lesson you will learn the following:
Sample Network Device InformationTable 3-6 lists the technical details of the devices in the Tutorial example network that you need to know in order to create a QoS database and to follow lessons 2-6. Not all interfaces on the devices are listed. Table 3-6: Sample Network Device Information for Lessons
Other interface and device addresses might be used in the lessons. Adding a Device to the QoS DatabaseThis topic describes how to add a device (router or switch) to the database. The procedure in this example describes how to add router R4 from the network configuration example. The procedure is identical for adding any other router or switch, except for the device details. Refer to Table 3-6 for the technical details of all the devices in the network configuration example. It is recommended that you perform the following procedure for all the devices in this network configuration example. Before You BeginThe topic assumes that you are starting with an empty database. ProcedureStep 1 Open the New Device dialog box by selecting Devices>Device>New in the Policy Manager. Step 2 Enter device information in the New Device dialog box. a. At minimum, you must supply the following information:
In this example, router R4 is 10.4.4.4, the community string is public, and both passwords are test (Figure 3-10). b. If your device is offline (for example, if you are using the IP addresses used in this lesson instead of addresses for devices on your network), you must select the device model and the software version in the relevant fields. In this example, router R4 is a Cisco 7200 running IOS software version 12.0. Figure 3-10: Lesson 1Adding a New Device
Step 3 Select/deselect the check boxes. a. If the device is online and you want to add its interfaces automatically:
b. If you want to add the interfaces manually to an offline or online device:
Step 4 Click OK. QPM creates a folder for the device (in this example, router R4) in the tree view using the IP address of the device. Adding a Device's InterfacesThis topic describes how to add router interfaces and switch ports and VLANs to the database. Router R4 is used as an example. The procedure differs depending on whether or not the device is online.
When you add a switch's ports to the database, the available interfaces will include the ports and any VLANs that are configured on the switch. A VLAN includes several of the switch's ports. In order to deploy a policy defined on a VLAN to all its associated ports, you must add each port to the database and define the QoS style as VLAN-based (as opposed to port-based). See Defining the QoS Style for a Switch's Ports, for further information. Before You BeginThis topic assumes that you have added the device (online or offline) to the database. If you are working online, continue with Adding the Interfaces if the Device Is Online. If you are working offline, continue with Adding the Interfaces if the Device Is Offline. Adding the Interfaces if the Device Is OnlineThis section describes how you can automatically detect the interfaces for a device that is online in your network, once the device has been added to the database. ProcedureStep 1 Detect the available interfaces: a. Ensure that the Verify Device Information and Detect Interfaces check boxes are selected (by right-clicking the device in the tree view and selecting Device Properties). QPM queries the device, fills in the Device Model and Software Version fields, and obtains a list of the device's interfaces.
QPM opens the Detect Interfaces dialog box when it has a complete list of interfaces. Step 2 Select the interfaces you want to manage: a. In the Detect Interfaces dialog box, ensure that the interfaces you want to manage are in the selected interfaces list, and move any you do not want to manage to the available interfaces list. b. Click OK when finished. The device's interfaces are included as members of the device folder in the tree view (see Figure 3-12).
Adding the Interfaces if the Device Is OfflineIf the device is offline, you need to add the interfaces manually. This section describes how to manually add the interfaces for router R4, once it has been added to the database. The procedure for adding the interfaces for any other device is similar, except for the device details. Refer to Table 3-6 for the interface details of all the devices in the network configuration example. It is recommended that you perform the following procedure for all the devices in the network configuration example. ProcedureStep 1 Add a new interface: a. Ensure that the Verify Device Information and Detect Interfaces check boxes are deselected (by right-clicking the device in the tree view and selecting Device Properties), so that QPM does not try to query the device. b. Right-click the device in the tree view and select New Interface. QPM opens the New Interface dialog box. c. Enter the details for the Ethernet2/0 interface in the appropriate fields. You can obtain all of the relevant information for this dialog box from Table 3-6. You do not need to select the QoS Property value at this stagethis will be defined specifically for the device in a later lesson (see Configuring the QoS Property and Defining the QoS Style for a Switch's Ports). Figure 3-11 shows the completed New Interface dialog box. Figure 3-11: Lesson 1Adding a New Interface
d. Click OK in the New Interface dialog box. e. Repeat this procedure for the Serial3/0 interface (see Table 3-6 for the interface's details). f. Click OK in the New Device dialog box to return to the tree view. Figure 3-12 shows the tree view that now includes router R4 with its interfaces. Figure 3-12: Lesson 1Router R4 and Interfaces in Tree View
Now, repeat the above procedure in order to add the other devices in the network example to the database.
Importing Multiple Devices into the QoS DatabaseThis topic explains how you can add multiple devices at one time to the QoS database. Instead of adding each device individually, you can import a list of devices from a device inventory that was created using CiscoWorks2000 Resource Manager Essentials. If you have many devices to import, consider creating separate databases, each containing a different set of devices. Before You BeginIt is assumed that you have previously exported a device inventory using CiscoWorks2000 Resource Manager Essentials. ProcedureStep 1 From the Policy Manager, select Devices >Import. QPM opens the Select RME File dialog box. Figure 3-13: Lesson 1Select RME File
Step 2 Enter the full path and name of the inventory file, or click Browse and select it. Click OK when the correct file is entered. QPM opens the Import Devices dialog box for the selected inventory file, and begins querying the devices in the inventory, adding them to the Known Devices list. The query can take a long time if there are many devices. If a device cannot be queried, either because it is unavailable, or the SNMP query failed, this is indicated, and you will not be able to import the device. Figure 3-14: Lesson 1Querying Inventory Devices
While QPM is querying the devices, you can click Stop to make QPM stop the query. If you stop the query, QPM only lets you select from the devices already queried.
When QPM has finished querying the devices, a system message appears, informing you that the device inventory has been processed, and that you should choose the devices to be imported into the Qos database. Step 3 Select the devices you want to add to the QoS database in the Known Devices list and click >> to add them to the import list. You can select multiple devices using Ctrl+click or a range of devices using Shift+click. If QPM could not query a device, do not add the device to the database until you can determine why the query failed. Common causes of query failure include incorrect Telnet or SNMP passwords, incorrect IP addresses, and unavailable devices. When you are satisfied with the list of devices to import, click OK. Step 4 QPM asks if you want to detect interfaces on the devices. The interface detection process might take several minutes depending on the number of devices, interfaces, and speed of the network connection. Figure 3-15: Lesson 1Detect Interfaces Dialog Box
Select one of the following:
When QPM has finished detecting interfaces, QPM adds the devices and their interfaces to the tree view and closes the Import Devices dialog box. Related Topics
Uploading Existing Device ConfigurationsQPM enables you to upload existing QoS configurations on devices. This feature is useful if you have already configured QoS properties and policies on devices, using the CLI. Instead of redefining the QoS characteristics, you can use the upload feature to automatically update the QPM database with the QoS information when you add the device. You can only upload a QoS configuration for a device that is online. For this lesson, use any online device in your network that has a QoS configuration (but hasn't yet been imported) and add it to the database. See Adding a Device to the QoS Database. You can upload existing device configurations:
Before You BeginThis topic assumes that you have added the device and detected its interfaces, but have not yet configured its QoS properties. ProcedureStep 1 Right-click your online device in the tree view pane and select Device Properties. QPM opens the Device Properties dialog box. Step 2 Select the Upload Device Configuration check box and click OK. The QoS configuration that is running on the device is translated to QoS properties and policies and is added to the policy database. Step 3 After the upload is completed, you will be prompted to view an HTML report generated by QPM in your system browser. Click Yes if you want to view the upload report. Figure 3-16: Lesson 1Sample Upload Device Configuration Report
This report logs all the QoS configurations that were not successfully uploaded to the database. Upload failure may be caused by incomplete configurations that exist on the router, or unsupported options. The report displays the following information for the device:
See Device Upload Error Messages, for a complete list of error messages that you may see in an Upload Device Configuration Report. Lesson 2Creating and Distributing a Simple Policy for Managing Web Traffic on One RouterIn this lesson, you will learn how to create and deploy a simple policy on a router. As an example, this lesson uses router R4, that you added to the QoS database in the previous lesson (Adding a Device to the QoS Database). The policy in this example sets the IP precedence for web traffic that goes through router R4. See Understanding the Tutorial Example Network, for a description of the example network used in this tutorial. The purpose of this policy is to color the web traffic for the Sales group, because the web server behind R4 hosts a significant application used by Sales, and Sales requires good response from this server. In order to make a meaningful policy, you must not only color the traffic on the inbound interface to the router (interface Ethernet2/0, which connects the web server to R4), but you must choose a QoS property for the outbound interface Serial3/0 (Figure 3-17). You will implement weighted fair queuing (WFQ). This ensures that the colored traffic receives the appropriate percentage of overall bandwidth. Figure 3-17: Lesson 2Coloring and Queuing Packets on Router R4
In this lesson you will learn the following:
Before You BeginThis lesson assumes you have already added router R4 to the QoS database. Configuring the QoS PropertyThis topic describes how to configure the QoS property on the interfaces to determine which queueing method will be used. You will configure the QoS property on the Serial3/0 interface so that it uses weighted fair queuing (WFQ). You do not need to change the QoS property of the Ethernet2/0 interface because you are only creating a policy for inbound traffic on Ethernet2/0. ProcedureStep 1 Right-click Router R4's Serial3/0 interface in the tree view (Figure 3-12) and select Interface Properties. QPM opens the Properties of Interface dialog box. Step 2 Select WFQ in the QoS Property field (Figure 3-18). Step 3 Click OK. Figure 3-18: Lesson 2Configuring Serial3/0 to Use Weighted Fair Queuing
Creating a New Policy to Color Inbound TrafficThis topic describes how to create a policy to color traffic on an inbound interface. The purpose of this policy is to give high priority to web traffic passing through router R4's Ethernet2/0 inbound interface. ProcedureStep 1 Create the policy. a. Select Router R4's Ethernet2/0 interface in the tree view. b. QPM opens the Properties of Policy dialog box, in which you will create the policy. c. In the General Properties page, change the name of the policy and add a meaningful comment. For this policy, use "WebTraffic" and "Color web traffic." Figure 3-19 shows the completed general properties page. Figure 3-19: Lesson 2General Properties of Coloring Policy
d. Click Next to open the Direction Properties page. Select the In direction to indicate that the policy is for inbound traffic. Step 2 Define the policy's filter. a. Click Next to open the Filter Properties page. b. In the filters list, select the following values in the same row:
These are the only conditions required to identify web traffic. Figure 3-20 shows the completed Filter Properties dialog box. Figure 3-20: Lesson 2Filter Properties of Coloring Policy
Step 3 Define the policy's coloring action. a. Click Next to open the Coloring page. b. Select the Coloring Properties check box. The fields for the coloring properties become active. c. Select flash-override (4) in the Precedence field to give a higher priority to the traffic that satisfies the policy's filter. Figure 3-21 shows the completed Coloring Properties dialog box. Figure 3-21: Lesson 2Coloring Properties of Policy
d. Click Finish to save the policy. QPM adds the policy to the Serial3/0 folder. Step 4 a. Click the Save button, or select File>Save, to save your policy changes. Because this is the first time you have saved the database, QPM opens the Save Database dialog box and you are prompted to name it. b. For this example, type Tutorial in the Database Name field. c. Enter a description of the database in the Database Description field, for example, enter Sample tutorial network. d. Click OK to save the database. Distributing Policies to the NetworkAfter you have saved your policies in the QoS database, they must be deployed to the devices in the network where they will be implemented.
ProcedureStep 1 Step 2 In Distribution Manager, select Devices>Create Job to create a distribution job from the Tutorial database. QPM opens the Create Job dialog box. Step 3 Select the Tutorial database and click OK. QPM creates a distribution job based on the policy definitions in the selected database. The job consists of the commands required to reconfigure the devices to implement your policies. Only the changes made since you last distributed the database are included in the job. Step 4 Select the job you just created in the tree view. When you select the job, QPM displays the contents of the job in the list view. The list view shows the devices whose configurations will be changed by the job. If you double-click the device name in the list view, QPM displays the commands that will be sent to the device when you apply the job (the device must be available on the network). Figure 3-22 shows the job selected in the Distribution Manager window. Figure 3-22: Lesson 2Job Selected in Distribution Manager
Step 5 QPM starts applying the changes defined in the job to the network devices. You can view the job results in the logs displayed in the Log pane at the bottom of the window. Related TopicsLesson 3Coloring Enterprise Resource Planning (ERP) Traffic on a Group of DevicesIn this lesson, you will learn how to treat a set of device interfaces as a group, and create and deploy a simple coloring policy across the members of that group. The policy in this example will set the IP precedence for Enterprise Resource Planning (ERP) traffic that goes through routers R1 and R4 (see Figure 3-9 for the overall network diagram). In this lesson you will learn the following: Before You BeginIf you want to create a policy and deploy it on a device that exists in your network, obtain the IP address of an appropriate device. Otherwise, you can use the IP addresses in this lesson so that you can follow these steps without affecting your network. This lesson assumes that you have added routers R1 and R4 to the QoS database, as described in Lesson 1Adding a Device to the QoS Database. Creating Device GroupsDevice groups allow you to treat selected interfaces or subinterfaces as a single unit, so that you can easily apply common policies or QoS settings to the group. This topic describes how to create two device groups, one combining the inbound interfaces of routers R1 and R4, and the other combining the outbound interfaces of the routers. ProcedureStep 1 Create a device group for the Serial3/0 interfaces on routers R1 and R4, and set the QoS property for the device group to WFQ. a. In the Policy Manager, select Devices>Device Group>New, or select the DeviceGroups folder in the tree view, right-click, and select New Device Group. QPM opens the Device Group dialog box. b. In the Device Group dialog box, enter the following information:
c. Click Add/Remove in the Group Members area. QPM opens the Add/Remove Group Members dialog box. d. In the Add/Remove Group Members dialog box, open the trees for routers R1 (10.2.2.2) and R4 (10.4.4.4), select the Serial3/0 interfaces for each device in turn and click >> to add each interface to the group (Figure 3-23). Figure 3-23: Lesson 3Group Members for EdgeGroupOutbound
e. Click OK when finished. Figure 3-24 shows the Device Group dialog box after you have added the Serial3/0 interfaces as group members. Figure 3-24: Lesson 3Completed Device Group Dialog Box for EdgeGroupOutbound
f. Click OK in the Device Group dialog box. QPM asks you to confirm that you want the group properties to override the properties already defined on R4's Serial3/0 interface (properties created in Lesson 1Adding a Device to the QoS Database). Click Yes. QPM creates the group and adds it to the DeviceGroups folder in the tree view. Step 2 Create a device group for the Ethernet2/0 interfaces on routers R1 and R4. a. In the Policy Manager, select Devices>Device Group>New, or select the DeviceGroups folder in the tree view, right-click, and select New Device Group. QPM opens the Device Group dialog box. b. In the Device Group dialog box, enter the following information:
c. Click Add/Remove in the Group Members group. QPM opens the Add/Remove Group Members dialog box. d. In the Add/Remove Group Members dialog box, open the trees for routers R1 (10.2.2.2) and R4 (10.4.4.4), select the Ethernet2/0 interfaces for each device in turn and click >> to add each interface to the group. e. Click OK when finished. QPM adds the interfaces to the Group Members list in the Device Group dialog box. f. Click OK in the Device Group dialog box. Figure 3-25 shows the tree view with the completed device group entries. Figure 3-25: Lesson 3DeviceGroups Folder with New Device Groups
Creating a Policy on a Device GroupA policy that is created on a device group is applied to all the interfaces belonging to the group. This avoids the need to create individual policies for each interface. In this lesson, you will create a policy on the EdgeGroupInbound group to color ERP traffic. Step 1 Create the policy. a. Select the EdgeGroupInbound group in the tree pane. b. QPM opens the Properties of Policy dialog box. c. In the General Properties page, change the name of the policy and add a meaningful comment. For this policy, use "ERPTraffic" and "Color ERP traffic for the HR, Finance, and Sales organizations." d. Click Next to open the Direction Properties page. Select the In direction to indicate that the policy is for inbound traffic. Step 2 Define the policy's filter. a. Click Next to open the Filter Properties page. Because the ERP server in this example is dedicated to the ERP applications, as is typically the case, you color all traffic from the server. If other applications were on the same server as the ERP application, you would also use a port filter. b. Select the following values in the same row:
Step 3 Define the policy's coloring action. a. Click Next to open the Coloring page. b. Select the Coloring Properties check box. The fields for the coloring properties become active. c. Select flash-override (4) in the Precedence field to give a higher priority to the traffic that satisfies the policy's filter. d. Click Finish to save the policy. QPM adds the policy to the EdgeGroupInbound folder. Step 4 Step 5 Distribute the policy to the network, following the procedure described in Distributing Policies to the Network. Related TopicsLesson 4Limiting the Bandwidth Available to FTP Traffic on a SwitchIn this lesson, you will learn how to limit the bandwidth that is available to a specific application. The policy in this example will limit FTP traffic passing through switch S1 to a specified bandwidth (see Figure 3-9 for the overall network diagram). FTP traffic that exceeds this bandwidth will be discarded. The purpose of this policy is to prevent FTP traffic from flooding the network and thus reducing the performance of the more important applications on the network. You will define an application service alias for FTP traffic from the central site, and use the alias to set the limit for FTP traffic to 1024 Kbps (Figure 3-26). Figure 3-26: Lesson 4Limiting the Bandwidth for FTP Traffic on a Switch
In order to create and deploy the policy in this lesson, you must have a switch configured with a VLAN in your network. If you have one, use its IP address for the example. Otherwise, you can use the example IP addresses and values provided in this lesson, so that you can follow the steps without affecting your network. Before You BeginSince you will be defining a limiting policy on the S1 switch, you first need to add the switch and its interfaces to the database. This lesson assumes that you have already added Switch S1 and its interfaces to the QoS database (see Lesson 1Adding a Device to the QoS Database), but that you still need to define the QoS style for the switch's ports. This lesson also assumes that you have completed all the steps in the previous lessons. In this lesson you will learn the following:
Defining the QoS Style for a Switch's PortsSwitch S1 is a Catalyst 6000 switch running CatOS version 5.5. In this example, a VLAN has been configured on switch S1. The VLAN includes several of the switch's ports. The limiting policy will be defined on this VLAN, therefore, you do not have to define the policy on each port individually. However, in order to ensure that the policy is applied to all the ports that belong to the VLAN, you must add each port to the database and define the QoS style as VLAN-based (as opposed to port-based). It is recommended that you create a device group of the switch's ports that are included in the VLAN and define the QoS style on the device group itself. This saves you having to define the QoS style on each port separately. The following procedure describes how to create a device group for the VLAN's ports and define their QoS style as VLAN-based. Before You BeginThis topic assumes that each of the switch's ports have been added to the database (see Adding a Device's Interfaces). ProcedureStep 1 Create a device group for the three ports (Ethernet2/0, Ethernet2/1 and Ethernet2/2) in VLAN20 on switch S1. a. In the Policy Manager, select Devices>Device Group>New, or select the DeviceGroups folder in the tree view, right-click, and select New Device Group. QPM opens the Device Group dialog box. b. In the Device Group dialog box, enter the following information:
c. In the Group Members area, select Ports from the drop-down list, so that only ports (not VLANs) are displayed in the list of available group members. d. Click Add/Remove in the Group Members area. QPM opens the Add/Remove Group Members dialog box. e. In the Add/Remove Group Members dialog box, open the tree for the device, select the Ethernet ports for the device in turn and click >> to add each port to the group (Figure 3-27). Figure 3-27: Lesson 4Group Members for VLANDeviceGrp
f. Click OK when finished. Figure 3-28 shows the Device Group dialog box after you have added the Ethernet ports as group members. Figure 3-28: Lesson 4Completed Device Group Dialog Box for VLANDeviceGrp
Step 2 Select VLAN Based in the QoS Style field (Figure 3-28) to determine that QoS configurations will apply to the VLAN and not to the individual ports. Step 3 Click OK in the Device Group dialog box. QPM creates the device group with a VLAN-based QoS style and adds it to the DeviceGroups folder in the tree view. Creating an Application Service AliasAn application service alias can be defined when you want to identify a particular type of network traffic source from a host or subnet. You can use application service aliases to simplify the writing of your policies, because you can write a policy for the application service instead of one for each host. In this example, you will create an application service alias for FTP traffic. The filter in your limiting policy will be based on this application alias. ProcedureStep 1 Create an application service alias for FTP traffic. a. QPM opens the Application Services dialog box. b. Click Add to open the Application Service dialog box. c. In the Application Service dialog box, fill in the required information to identify the source of the FTP traffic, and to give the application service alias a name. In this example, you will identify the FTP traffic by using the following attributes (Figure 3-29):
Click OK when finished to return to the Application Services dialog box. Figure 3-29: Lesson 4Creating an Application Service Alias for FTP Traffic
d. Click OK in the Application Services dialog box. Creating a Limiting Policy on the SwitchThis topic shows how to create a policy on VLAN20 on switch S1 to limit the bandwidth available to FTP traffic. ProcedureStep 1 Create the policy. a. Select VLAN20 in the tree view. b. QPM opens the Properties of Policy dialog box. c. In the General Properties page, change the name of the policy and add a meaningful comment. For this policy, use "FTP Traffic" and "Limit bandwidth for FTP traffic". d. Click Next to open the Direction Properties page. e. Select the In direction to indicate that the policy is for inbound traffic. Step 2 Define the policy's filter. The aim is to identify all FTP traffic coming from the Central Services FTP Server. a. Click Next to open the Filter Properties page. b. In the filters list, click in the Sender field and select the type of sender, as follows:
c. Click OK. Step 3 Define the policy's limiting action, which limits the bandwidth available to the specified application. a. Click on Limiting on the left side of the Properties of Policy dialog box to open the Limiting Properties page, or click Next until you reach this page. b. Select the Limiting Properties check box. The limiting properties fields are enabled. c. Define the following limiting properties to specify a maximum rate for the traffic and to remove IP precedence from traffic that exceeds this rate:
Figure 3-30 shows the Limiting Properties page after you have defined all the properties. d. Click Finish to save the policy. Figure 3-30: Lesson 4Limiting Properties
Step 4 Verifying Device Configuration and Distributing to the NetworkQPM enables you to verify whether the configuration of the devices in your network is different to what was defined for the devices in your QPM database. You can use this feature to check if any changes have been made to any of your network devices. After this validation process, you can distribute policies to the network as usual. ProcedureStep 1 Create a job in Distribution Manager. a. b. In Distribution Manager, select Devices>Create Job to create a distribution job from the Tutorial database. QPM opens the Create Job dialog box. c. Select the Tutorial database and click OK. QPM creates a distribution job based on the policy definitions in the selected database. The job consists of the commands required to reconfigure the devices to implement your policies. Only the changes made since you last distributed the database are included in the job. Step 2 Check the device configuration. a. Select the job you just created in the tree view. When you select the job, QPM displays the contents of the job in the list view, which shows the devices whose configurations will be changed by the job. If you double-click the device name in the list view, QPM displays the commands that will be sent to the device when you apply the job (the device must be available on the network). b. QPM starts checking the configuration of the devices in the job. The result of this validation process appears in the Status column and can be either Matched or Mismatched. Details can be viewed in the log in the lower section of the Distribution Manager window. Step 3 Apply the job. a. Related Topics
Lesson 5Updating the Database After Software UpgradesIn this lesson, you will learn how to update the QoS database to recognize that you have upgraded the software on a device. QPM uses the device IOS version number to load device capabilities to the database. All sub-versions of a certain version are mapped to the major version, unless QPM explicitly supports the minor version. New minor versions are mapped to the last supported minor version. For example, version 12.2(1)T would be mapped to version 12.2, and version 12.2(4)T would be mapped to version 12.2(2)T. QPM provides you with the option of manually changing the mapped version number if you require the QoS features of a different version. In most cases, your QoS configuration and policies remain unchanged after a software upgrade. However, in certain cases, QPM changes the implementation of policies to take advantage of the features of a new software release (without changing the meaning of your policies). Table 3-7 explains the changes that are made for some software upgrades. Table 3-7: QPM Policy Conversions During IOS Software Upgrade
Upgrading the device software does not affect any device groups to which the device's interfaces belong. You must recreate the device groups if you want them to be restricted to the updated software version. In this lesson, you will learn the following:
Before You BeginThis lesson assumes that you have completed the steps in the previous lessons. Updating the QoS Database with New Software Version InformationFor the purpose of this lesson, assume that you have upgraded the IOS software version on routers R1 and R4 from version 12.0 to version 12.1(6)E. ProcedureStep 1 Start QPM and open the Tutorial database. Step 2 Change the device properties for router R1: a. Select router R1 (10.2.2.2) and select Devices>Device>Properties. QPM opens the Device Properties dialog box. b. Click the Verify Device Info button. QPM queries the router and updates the software version number and device model, and makes policy conversions if required. (If you are not using a real device, instead of clicking Verify Device Info, select 12.1(6)E in the Mapped Software Version field.)
c. Click OK to save the changes to the device configuration. QPM informs you if there are any conflicts between the QoS configuration and policies defined on the device's interfaces and the new software version. You must resolve the conflicts before you can complete the changes to the device properties. Step 3 Use the same procedure to change the software version for router R4 (10.4.4.4) to 12.1(6)E. Recreating Device Groups for the New Software VersionAt this point, you have updated the software versions on the devices. However, this change has not affected the definitions of the EdgeGroupInbound and EdgeGroupOutbound device groups, even though these device groups contain only members from the R1 and R4 routers. To take advantage of IOS software version 12.1(6)E QoS features, you must recreate these device groups as IOS software version 12.1(6)E device groups. To avoid having to recreate the existing policies in the device groups, you can copy them over to a new device group, then delete the old device group, and then rename the new device group. ProcedureStep 1 Create a new device group with software version 12.1(6)E: a. Select Devices>Device Group>New to create a new device group. QPM opens the Device Group dialog box. b. Enter a temporary name for the device group (egi) in the Name field, and select 12.1(6)E in the Software Version field (Figure 3-31). c. Click OK when finished. QPM creates the egi device group. Figure 3-31: Lesson 5Creating a Device Group With a New Software Version
Step 2 Copy the ERPTraffic policy from the EdgeGroupInbound device group to the new device group: a. Select the EdgeGroupInbound device group in the tree view pane. b. Right-click on the ERPTraffic policy in the list view pane and select Copy. This copies the policy to the Windows clipboard. c. Select the egi device group in the tree view pane. d. Right-click in the list view pane, and select Paste. This pastes a copy of the ERPTraffic policy to the device group. Figure 3-32: Lesson 5Copying a Policy From One Device Group to Another
e. Double-click the Copy of ERPTraffic policy in the list view pane. QPM opens the policy in the Properties of Policy dialog. f. Change the name of the policy from "Copy of ERPTraffic" to "ERPTraffic" and click Finish. QPM changes the name of the policy. Step 3 Remove the devices from the EdgeGroupInbound device group and delete the device group. a. Select the EdgeGroupInbound device group and select Devices>Device Group>Add/Remove Members. QPM opens the Add/Remove Members dialog box. b. Expand the tree for each group member and note which interfaces belong to the group. c. Select each group member and click << to remove it from the group. d. Click OK when finished. Because there are policies defined on the group, QPM asks if you want the policies copied to the interfaces you are removing from the group. Click No All, because when you are finished, these policies will again be defined for the interfaces on a device group. QPM removes the members from the group. EdgeGroupInbound should now have no members. e. Select the EdgeGroupInbound device group and select Devices>Device Group>Delete. QPM asks you to confirm that you want to delete the device group and the policies it contains. Click Yes. QPM deletes the device group. Step 4 Add devices to the new egi device group and rename the device group. a. Select the egi device group and select Devices>Device Group>Add/Remove Members. QPM opens the Add/Remove Members dialog box. b. Select the interfaces you removed from EdgeGroupInbound (10.2.2.2\Ethernet2/0 and 10.4.4.4\Ethernet2/0) and click >> to add them to the group. c. Click OK when finished. QPM adds the members to the group. The egi group should now have the same membership as the original EdgeGroupInbound device group. d. Select the egi device group and select Devices>Device Group>Properties. QPM opens the Device Group dialog box. e. Change the name of the egi group to EdgeGroupInbound and click OK. Step 5 Change the EdgeGroupOutbound device group to an IOS software version 12.1(6)E device group. Since there are no policies defined on this device group, you only need to remove the members from the device group, change the software version and then add the members back into the device group. a. Select the EdgeGroupOutbound device group in the tree view pane and select Devices>Device Group>Add/Remove Members. QPM opens the Add/Remove Members dialog box. b. Expand the tree for each group member and note which interfaces belong to the group. c. Select each group member and click << to remove it from the group. d. Click OK when finished. QPM informs you that it will change the QoS property for member interfaces to WFQ (because that is the QoS property defined for the group). e. Click Yes. f. Right-click on the EdgeGroupOutbound device group in the tree view pane and select Device Group Properties. QPM opens the Device Group dialog box. g. Select 12.1(6)E in the Software Version field and click OK. h. Select Devices>Device Groups>Add\Remove Members. QPM opens the Add/Remove Members dialog box. i. Add the interfaces you removed from the device group (the Serial3/0 interfaces of routers R1 and R4) back into the group, by selecting each one and clicking >> to add it to the group. j. Click OK when finished. QPM informs you that the QoS property defined for the group will override the one defined on the interface, and asks you to confirm that you want to add the interface to the group. k. Click Yes. QPM adds the members to the group. Step 6 Step 7 Distribute your policy to the network, following the procedure described in Distributing Policies to the Network. Related TopicsLesson 6Using NBAR and Creating Multiple Action PoliciesIn this lesson you will learn how to create a multiple-action policy to police and color specific traffic generated from a network-based application, using Network Based Application Recognition (NBAR) to identify the application. Refer to Using Network Based Application Recognition (NBAR) with CBWFQ.
The policy in this lesson will apply the following actions to MIME type web traffic, specifically JPEG files, passing from a specific host through router R4 and out to the WAN (see Figure 3-9 for the overall network diagram):
QPM uses modular CLI to implement this policy. Modular CLI separates traffic into classes and defines properties for each class.
In order to enable the options that will allow you to define the example policy, you will choose Class Based QoS in the QoS Property field for the outbound (Serial3/0) interface on router R4. In this lesson you will learn the following: Before You BeginThis lesson assumes that you have completed the steps in the previous lessons. If you are using actual devices in your network, make sure that the IOS version is 12.1(6)E or above. If you want to create a policy and deploy it on a device that exists in your network, obtain the IP address of an appropriate device. Otherwise, you can use the IP addresses in this lesson so that you can follow these steps without affecting your network. Changing the QoS Property on an InterfaceThe first step in this lesson is to define the QoS property on Serial3/0 on router R4 as Class Based QoS. This will enable you to use NBAR properties as a filter during policy definition. Before you can do this, you need to remove the outbound interface (Serial3/0 on router R4 from the device group to which it belongs (EdgeGroupOutbound), so that you can change its QoS property. ProcedureStep 1 Remove R4's S3/0 interface from the EdgeGroupOutbound device group. a. Select the EdgeGroupOutbound device group in the tree view. b. Select Devices>Device Group>Add/Remove Members or right-click on the EdgeGroupOutbound device group in the tree view and select Add/Remove Members. QPM opens the Add/Remove Members dialog box. c. In the Add/Remove Members dialog box, in the Group Members list, select router R4 (10.4.4.4) and click << to remove the device from the group (Figure 3-33). Click OK when finished. Figure 3-33: Lesson 6Removing a Device from a Device Group
d. QPM warns you that the removed Serial3/0 interface will retain the QoS property defined for the group (WFQ) and requests confirmation of the removal. Click Yes. The EdgeGroupOutbound device group now contains one device only (R1). Step 2 Change the QoS property on the outbound interface (Serial3/0 on router R4) to Class Based QoS. a. In the tree view, open the tree for router R4 (10.4.4.4). b. Right click Serial3/0 and select Interface Properties. QPM opens the Properties of Interface dialog box. c. Select Class Based QoS in the QoS Property field. d. Click OK. Creating a Multiple-Action Policy with NBAR FilteringQPM provides the capability to create multiple-action policies, if the IOS software version running on your device supports modular CLI. For this example, you will create a policy on the outbound interface (Serial3/0 on router R4) that performs three actions on the traffic that matches the filter (web traffic of MIME type from www.cisco.com):
ProcedureStep 1 Create the policy. a. Select router R4's Serial3/0 interface in the tree view. b. QPM opens the Properties of Policy dialog box, in which you will create the policy. c. In the General Properties page, change the name of the policy and add a meaningful comment. For this policy, use "Multiple Action" and "Manage critical web traffic." d. Click Next to open the Direction Properties page. Select the Out direction to indicate that the policy is for outbound traffic. Step 2 Define the policy's filter. a. Click Next to open the Filter Properties page. b. Click the NBAR Properties tab, since the traffic identification for this policy is via NBAR (Figure 3-34). Figure 3-34: Lesson 6NBAR Properties for Filter
c. Click Add. The NBAR Properties dialog box is displayed.
d. Supply the following information in the NBAR Properties dialog box to identify web traffic originating from the Cisco Systems host (Figure 3-35):
Click OK. Figure 3-35: Lesson 6Defining NBAR Properties
e. Click Add and add a second row of NBAR properties, as follows:
Click OK. The NBAR Properties tab now shows the two filters you defined (Figure 3-36). By default, the Match ANY filter row AND ALL other conditions radio button is selected, therefore, packets must match both filters in order for the defined action to be carried out. Figure 3-36: Lesson 6Defined NBAR Properties
Step 3 Define the policy's queuing action, which ensures that the specified traffic receives a minimum percentage of the total bandwidth during times of congestion. a. Click Next to open the Queuing Properties page. b. Select the Queuing Properties check box. The queuing properties fields are enabled. c. Type 20 in the Bandwidth field to ensure that the specified traffic receives a minimum of 20% of the total bandwidth when the line is congested (Figure 3-37). Figure 3-37: Lesson 6Queuing Properties
Step 4 Define the policy's coloring action, which provides the specified traffic with high IP precedence. a. Click Next to open the Coloring Properties page. b. Select the Coloring Properties check box. The fields for the coloring properties become active. c. Select flash-override(4) in the Precedence field to give high priority to the traffic that matches the defined NBAR properties. Step 5 Define the policy's limiting action, which lowers the priority of the traffic if it exceeds a specific rate. This ensures that the specified traffic does not use more than its defined minimum bandwidth. a. Click Next to open the Limiting Properties page. b. Select the Limiting Properties check box. The limiting properties fields are enabled. c. Define the following limiting properties:
Figure 3-38 shows the Limiting Properties page after you have defined all the properties. d. Click Finish to save the policy. Figure 3-38: Lesson 6Limiting Properties
Step 6 Step 7 Distribute your policy to the network, as described in Distributing Policies to the Network. Lesson 7Configuring Frame Relay Traffic ShapingIn this lesson, you will learn how to configure Frame Relay traffic shaping (FRTS) on Cisco routers. FRTS is frequently used to throttle traffic to the rate agreed upon with your WAN service provider, particularly if the destination link is running at a lower bandwidth than the source link. For example, you might have a T1 line running at 1544 Kbps, but your service provider is committing to provide only 512 Kbps, and the destination of your traffic is a link running lower bandwidth than 1544 Kbps. By throttling the traffic rate at the source, you ensure that the traffic does not overwhelm the WAN link, resulting in dropped packets and increased delay. With FRTS, you can control the rate and smooth the traffic flow. This example uses a different network setup than used in previous lessons. Figure 3-39 shows three routers connected over a Frame Relay cloud. All links are T1 Frame Relay lines. The Main router uses subinterfaces to enable routing between the two remote offices, Remote1 and Remote2. Most WAN traffic originates from the main office, so you will implement FRTS on the subinterfaces on the Main router. The service provider has committed to 512 Kbps for the Main-Remote1 link, and 256 Kbps for the Main-Remote2 link. There is no rate commitment for the interfaces on the remote links. Figure 3-39: Lesson 7Implementing FRTS to Control WAN Traffic Rates
In this lesson, you will learn the following: Before You BeginIf you want to create a policy and deploy it on a device that exists in your network, obtain the IP address of an appropriate device. Otherwise, you can use the IP addresses in this lesson so that you can follow these steps without affecting your network. This lesson assumes that you have completed the steps in previous lessons. Although you will not use the same network setup, you should already be familiar with adding devices and interfaces to the QoS database. Table 3-8 lists the device details for this example. Because Remote1 and Remote2 links do not have a committed information rate, you are not enabling FRTS or other QoS capabilities on these routers in this example. Therefore, you only need to add Main, its Serial3/0 interface, and its subinterfaces to the database. Table 3-8: Technical Network Details for FRTS Lesson
Enabling FRTS on an InterfaceYou must first enable FRTS on an interface in order to configure FRTS on the interface's subinterfaces or DLCIs. ProcedureStep 1 Add the Main router to the database, using 10.10.10.11 for the device name. See Lesson 1Adding a Device to the QoS Database, for the steps for adding devices to the databases, if you are not familiar with the procedure. Step 2 Enable FRTS on the Main router's Serial3/0 interface. a. Right-click Serial3/0 in the 10.10.10.11 folder and select Interface Properties. QPM opens the Properties of Interface dialog box. b. Select FIFO as the QoS Property. You must select a QoS Property other than "Do Not Change" if you want to configure interface QoS capabilities such as FRTS. c. Select Enable Frame Relay Traffic Shaping. d. Enter 512 in the Rate field. e. Select Adaptive Shaping. This allows the interface to respond to notifications of congestion from the Remote1 and Remote2 routers, and throttle traffic accordingly. Figure 3-40 shows the completed interface properties. f. Click OK when finished. Figure 3-40: Lesson 7Enabling FRTS on the Serial3/0 Interface
Configuring FRTS on a Subinterface or DLCIYou can choose to deploy FRTS on a subinterface or on a DLCI. This topic describes how to enable FRTS on the Main router's subinterfaces or DLCIs. ProcedureStep 1 Right-click Serial3/0.1 in the 10.10.10.11 folder and select Interface Properties. Step 2 Make the following selections:
Figure 3-41 shows the completed interface properties. Click OK when finished. Figure 3-41: Lesson 7Enabling FRTS on the Serial3/0.1 Subinterface
Step 3 Use the same procedure to enable FRTS on the Serial3/0.2 subinterface, making the following interface selections:
Step 4 Step 5 Distribute your settings to the network, as described in Distributing Policies to the Network. Related TopicsLesson 8Providing End-to-End QoS for VoIP over the Enterprise WANQPM provides templates for configuring QoS for IP telephony in a separate database (IP_TELEPHONY_TEMPLATE). These templates are predefined device groups that contain the QoS configurations and policies required at each relevant point in the network. To use the IP telephony templates, all you need to do is add your devices to the database, then add the device interfaces to the relevant device groups and deploy the database. For detailed information about QPM IP telephony templates, refer to "Configuring QoS for IP Telephony." Related Topics
In this lesson, you will learn how to use IP Telephony templates to deploy QoS for VoIP over the Campus, WAN and Branch Office segments of a network, using the example network scenario illustrated in Figure 3-42. This lesson includes the following topics:
Network Example for Configuring QoS for VoIPFigure 3-42: Lesson 8Configuring QoS for VoIP Traffic
Based on the network configuration example, the following sections describe:
Configuring QoS for the Campus SiteThe campus site includes a Cisco CallManager and IP Phone that are connected to a QoS-aware Catalyst 6000 access switch (S2). The IP Phone ports are configured to use an auxiliary voice VLAN (VLAN20) on S2. The Catalyst 6000 access switch is connected to a Catalyst 6000 distribution layer switch (S3). Voice data from the campus site enters the WAN from a Cisco 3600 router running IOS version 12.2. In the campus site, you need to configure QoS at the following network points:
Configuring QoS for the WANThe following QoS features must be configured on the device interfaces in the WAN segment of the network (network points 6 in Figure 3-42):
Configuring QoS for the Remote BranchThe remote site includes several IP Phones on a LAN, connected via a Catalyst 3500 switch (S4) to a Cisco 3600 router (R6) in the WAN. QoS features must be configured on the IP Phones ports (network point 1) and on the branch office router interface to switch S4 (network point 7 in Figure 3-42). Adding Devices to the IP Telephony DatabaseThis topic describes how to add the devices in the example network (see Figure 3-42) to the IP telephony database. The procedure in this example describes how to add router R5 from the network example. The procedure is identical for adding any network device. Refer to Table 3-9 for the technical details of the devices in the network example. You should perform this procedure also for router R6 and switches S2, S3 and S4.
Table 3-9 lists the technical details of the devices in the example network (see Figure 3-42) that you need to add to the IP Telephony database in order to follow this lesson. Table 3-9: Sample Network Device Information for VoIP Lesson
Before You BeginIf you want to deploy QoS on a device that exists in your network, obtain the IP address of an appropriate device. Otherwise, you should use the IP addresses in this lesson so that you can follow these steps without affecting your network. The IP_TELEPHONY_TEMPLATE database is read-only. In order to work with it, you must save it under a new name. ProcedureStep 1 a. In the Policy Manager window, click the New IP Telephony Template button. QPM opens the IP_TELEPHONY_TEMPLATE database window. Figure 3-43: Lesson 8IP_TELEPHONY_TEMPLATE Window
b. Select File>Save As and save the database under a new name. (For this Tutorial, save as Tutorial_IP_TELEPHONY_TEMPLATE). Step 2 Add a device to the database. a. Open the New Device dialog box by selecting Devices>Device>New in the Policy Manager. b. Fill in the New Device dialog box. At minimum, you must supply the following information:
In this example, router R5 is 10.1.1.1, the community string is public, and both passwords are test (Figure 3-44). c. If your device is offline (for example, if you are using the IP addresses used in this lesson instead of addresses for devices on your network), you must select the device model and the mapped software version in the relevant fields. In this example, router R5 is a Cisco 3600 running IOS software version 12.2. Figure 3-44: Lesson 8Adding a Device to the IP Telephony Database
d. If the device is online and you want to add its interfaces automatically:
If you want to add interfaces manually to an offline or online device:
e. Click OK. QPM creates a folder for the device (in this example, router R5) in the tree view using the IP address of the device. Step 3 Add the device's interfaces. a. If the device is online, QPM queries the device, fills in the Device Model and Software Version fields, and obtains a list of the device's interfaces.
b. If the device is offline:
Figure 3-45: Lesson 8Adding a Device's Interface
Figure 3-46: Lesson 8Router R5 and Interfaces in Tree View
Step 4 Repeat steps 2 and 3 in order to add the interfaces for router R6, switch S2, switch S3 and switch S4 to the database. Assigning Interfaces to the Device GroupsThis topic describes how to assign the interfaces that need QoS configuration for voice, to the appropriate device groups in the IP Telephony database.
Based on the network example in Figure 3-42, assigning the interfaces to the Device Groups requires:
Before You BeginIt is assumed that you have added routers R5 and R6, and switches S2, S3 and S4 and their respective interfaces to the Tutorial_IP_TELEPHONY_TEMPLATE database (see Figure 3-42). See Adding Devices to the IP Telephony Database. Assigning the IP Phone InterfacesTo configure QoS for the IP Phone connection to the Catalyst 6000 access switch, you need to configure QoS for the ports and also the VLAN. Two device groups are available in the Policy Manager for thisAcc6000=>IP-Phones and AccDist6K=>VoiceVLAN. The Acc6000=>IP-Phones device group configures the trust state of the IP Phone and switch interface. The AccDist6K=>VoiceVLAN device group configures an ACL to trust all CoS classification on Ethernet ports in the VLAN. Configuring QoS Using the Acc6000=>IP-Phones Device GroupThe Acc6000=>IP-Phones device group configures the following features on the IP telephone port for the Catalyst 6000 access switch (S2):
ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the Acc6000=>IP-Phones Device Group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the available interfaces for IP Phone QoS configuration. Figure 3-47: Lesson 8Add/Remove Members Dialog Box
Step 2 Select the Ethernet2/1 port interface you added for switch S2 and click >> to add it to the Group Members area. Click OK. QPM displays the following message, warning you that you will override the member interface's current QoS property with the group QoS property. Figure 3-48: Lesson 8Override Member QoS Property Warning
Step 3 Click Yes to continue to add the interface to the Device Group. The selected interface is added to the Acc6000=>IP-Phones device group. Figure 3-49: Lesson 8Assigned Interface to Device Group
Configuring QoS Using the AccDist6K=>VoiceVLAN Device GroupThe AccDist6K=>VoiceVLAN device group configures the policies that should be applied to IP Phone interfaces that are configured to use VLAN-based QoS. This enables only the VLAN-based policies (not the individual port's policies) to be deployed to the ports on the VLAN. ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the AccDist6K=>VoiceVLAN device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the VLAN interface you added for switch S2. Step 2 Select the VLAN20 interface and click >> to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the VLAN interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interface to the device group. The VLAN20 interface is added to the AccDist6K=>VoiceVLAN device group. Assigning the CallManager InterfacesThe IP Phone communicates with the CallManager using the Skinny Station Protocol. For example, when an IP Phone goes "off hook", it consults the CallManager, which then instructs the phone to play the dial-tone. In order to mark the importance of this control and management traffic between the CallManager and the IP Phone, ACLs are used to classify traffic streams on the Catalyst 6000 access switch. The Acc6000=>VoIPControl device group in the Policy Manager enables you to configure QoS for the CallManager connection to the Catalyst 6000 access switch port, as follows:
ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the Acc6000=>VoIPControl device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying one of the Ethernet port interfaces you added for switch S2. (The other Ethernet2/1 interface is already assigned to the IP Phone connection.) Step 2 Select the Ethernet2/0 port interface and click >> to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the Ethernet2/0 interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interface to the device group. The Ethernet2/0 interface is added to the Acc6000=>VoIPControl device group. Assigning the Uplink Interfaces to the Distribution SwitchOnce you have configured QoS on the IP Phone and CallManager interfaces, you must also configure the uplink interfaces to the Catalyst 6000 distribution switch (S3). The Acc6000_GE=>Dist template enables you to configure the uplink ports on the Catalyst 6000 access switch to the distribution switch, as follows:
ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the Acc6000_GE=>Dist device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the gigabitEthernet interface you added for switch S3. Step 2 Select the Ethernet1/1 port interface and click >> to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the Ethernet1/1 interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interface to the device group. The gigabitEthernet type interface, Ethernet1/1, is added to the Acc6000_GE=>Dist device group. Assigning the Downlink Interfaces to the Access SwitchYou must also configure the downlink interfaces from the Catalyst 6000 distribution switch (S3) to the Catalyst 6000 access switch (S2). The Dist=>Acc6K-PFC template enables you to configure the downlink ports on the Catalyst 6000 distribution switch to the access switch, as follows:
ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the Dist=>Acc6K-PFC device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the gigabitEthernet interface you added for switch S2. Step 2 Select the Ethernet1/0 port interface and click >> to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the Ethernet1/0 interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interface to the device group. The gigabitEthernet type interface, Ethernet1/0, is added to the Dist=>Acc6K-PFC device group. Assigning the LAN Interface to the WAN RouterThe Dist=>RouterWAN device group in the Policy Manager enables you to configure QoS on the Catalyst 6000 distribution switch port to the WAN router (router R5 in the network example), as follows:
ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the Dist=>RouterWAN device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the Ethernet port interface you added for switch S3. Step 2 Select the Ethernet2/0 port interface and click >> to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the Ethernet2/0 interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interface to the device group. The Ethernet2/0 interface is added to the Dist=>RouterWAN device group. Assigning the WAN InterfacesIn the Policy Manager, several device groups are available for configuring QoS on the Frame Relay WAN interfaces due to the different FRTS speeds. For this example, you need to first configure the main Frame Relay interface using the WAN-FR-Interface device group and then configure the DLCI subinterface using the WAN-FR-512K-DLCI device group. Configuring FRTS Using the WAN-FR-Interface Device GroupThe WAN-FR-Interface device group enables you to configure FRTS on the main Frame Relay interfaces. This is a prerequisite for enabling FRTS on the DLCI subinterfaces. ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the WAN-FR-Interface device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the Serial interfaces you added for routers R5 and R6. Step 2 Select each of the serial interfaces and click >> in turn to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the selected interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interfaces to the device group. The 10.2.1.1\Serial3/0 and 10.1.1.1\Serial1/0 interfaces are added to the WAN-FR-Interface device group. Configuring QoS Using the WAN-FR-512K-DLCI Device GroupThe WAN-FR-512K-DLCI device group enables you to configure the QoS property, Class Based QoS, on the routers' DLCI subinterfaces. This QoS property includes CBWFQ and enables the configuration of the other QoS features for voice (see Configuring QoS for the WAN). ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the WAN-FR-512K-DLCI device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the DLCI subinterfaces you added for routers R5 and R6. Step 2 Select each of the DLCIs and click >> in turn to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the selected interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the DLCI interfaces to the device group. The 10.2.1.1\Serial3/0.1 and 10.1.1.1\Serial1/0.1 interfaces are added to the WAN-FR-512K-DLCI device group. Assigning the Remote Branch InterfacesIn the remote branch of the network, you need to configure QoS on the IP Phones ports and the branch office router R6 interface to access switch S4. For this example, you should use the Acc3500=>IP-Phone device group to configure the IP Phones ports, and then the RouterWAN=>Non6KPFC device group to configure the branch office router interface to switch S4. Configuring QoS on the IP Phone Ports to Switch S4The Acc3500=>IP-Phones device group configures the trust state as Trust-ext Untrusted on the IP phone ports and Catalyst 3500 access switch (S4) interfaces. ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the Acc3500=>IP-Phones device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the Ethernet interfaces you added for switch S4. Step 2 Select each interface and click >> to add it to the Group Members area. Click OK. QPM displays a message for each interface, warning you that you will override the interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interfaces to the device group. The Ethernet interfaces are added to the Acc3500=>IP-Phones device group. Configuring QoS on the Branch Office Router Interface to Switch S4The RouterWAN=>Non6KPFC device group in the Policy Manager enables you to configure QoS on the interfaces of the branch office router R6 interface to access switch S4. ProcedureStep 1 In the DeviceGroups folder of the Policy Manager tree view (Figure 3-43), right-click the RouterWAN=>Non6KPFC device group and select Add/Remove Members. QPM opens the Add/Remove Members dialog box, displaying the Ethernet port interface you added for router R6. Step 2 Select the Ethernet2/0 port interface and click >> to add it to the Group Members area. Click OK. QPM displays a message, warning you that you will override the Ethernet2/0 interface's current QoS property with the group QoS property. Step 3 Click Yes to continue to add the interface to the device group. The Ethernet2/0 interface is added to the RouterWAN=>Non6KPFC device group. Deploying the IP Telephony DatabaseIn order to distribute the QoS policies you have configured in the network example to your network devices, you must deploy the IP Telephony database to the network. The Distribution Manager enables you to do this. Refer to Starting Distribution Manager, for a full description of how to deploy a database with configuration policies to network devices.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|