cc/td/doc/product/rtrmgmt/qos/qpm1_1_
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Getting Started with QPM

Getting Started with QPM

The following lessons help you learn how to use QoS Policy Manager (QPM) and how to create and distribute QoS policies and configurations:

Lesson 1---How to Use the Policy Manager Application

Use Policy Manager to create and edit QoS policies and configurations. These sections describe the basics for how to use Policy Manager:

Starting Policy Manager and Logging Into QPM

Start Policy Manager to create, change, delete, and view your QoS configuration and policies.

Procedure

Step 1 Select Start>Programs>QoS Policy Manager>Policy Manager.

If you are not already logged into QPM, QPM opens the Logon Information window.

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 Window

The main Policy Manager window (Figure 3-1) is divided into three panes.


Figure 3-1: The Main Policy Manager Window


Tree View

The tree view pane (Figure 3-2) contains folders for each device you are managing in the Devices folder. 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.


Figure 3-2: Policy Manager Tree View Pane


The tree view also contains a Device Groups folder, which 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.

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. If the device is already defined in the QoS database, you must select the folder (usually an interface) on which you want to define a policy before you can create (or change) the policy.

List View

The list view pane (Figure 3-3) shows the policies that are defined on the interface, device, or device group selected in the tree view.


Figure 3-3: Policy Manager List View Pane


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.

Each policy is preceded by an icon that indicates the status of the policy. Table 3-1 describes these icons.


Table 3-1: Description of Icons Used In List View
Icon Description

Policy is enabled.

Policy is disabled.

The top bar of the list view includes these items:

Policy Preview

The policy preview pane displays a summary of the policy selected in the list pane. This can help you determine if you have defined your filter conditions correctly. The policy expression is only displayed if you have selected View>Policy Preview.

Cutting, Copying, and Pasting Policies

You can use the standard Windows cut, copy, and paste functions to manipulate policies in the QPM list pane.

Procedure

Step 1 Select the policy you want to cut or copy, or folder in the tree view in which you want to paste the policy.

Step 2 Use these commands to cut, copy, or paste.

Changing the Policy Manager Display

You can change the main Policy Manager window to display information according to your preferences. Table 3-2 lists the available commands for changing the main Policy Manager window.


Table 3-2: Changing the Policy Manager Main Window
If you want to... Command Description

Display or hide the tool bar

View>Tool Bar

The tool bar is the row of short-cut buttons beneath the menu. When Tool Bar is checked on the View menu, the tool bar is displayed.

Display or hide the status bar

View>Status Bar

The status bar is at the bottom of the window, and displays informative messages as you use Policy Manager. When Status Bar is checked on the View menu, the status bar is displayed.

Display or hide the policy preview display

View>Policy Preview

The policy preview is displayed in the bottom right pane of the window, and shows the content of the selected policy statement. When Policy Preview is checked on the View menu, the policy preview is displayed.

Saving Your Work

You must periodically save your changes to the QoS database. However, saving your changes to the database does not apply those changes to the network. You must use Distribution Manager to deploy your new or changed policies to the network.

Procedure
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
Related Topics

Exiting Policy Manager

From the Policy Manager interface, you can close just Policy Manager, or exit both Policy Manager and Distribution Manager.

Procedure

Lesson 2---Understanding the Sample Network Used in Subsequent Lessons

Figure 3-4 shows the network used in subsequent lessons to illustrate how to use QoS Policy Manager to create and deploy QoS policies.


Figure 3-4: Sample Network Used in QPM Tutorial Lessons


This network has three areas that we will concentrate on.

    1. The segments that contain the major servers used in the network. These servers are connected to the network through routers R1 and R4.

    2. The segments that contain the HR and Finance users, connected to the network through router R2. The HR and Finance users primarily use the Enterprise Resource Planning (ERP) application server, but they do not use the web server as a significant part of their network usage. They also use the FTP/Mail server.

    3. The segments that contain the Sales users, connected to the network through router R3. The Sales users use both the ERP application and web server as a significant part of their network usage. They also use the FTP/Mail server.

Table 3-3 lists the other technical details of the network that you need to know to follow the lessons. Not all interfaces on the devices are listed.


Table 3-3: Technical Network Details for Lessons
Name Device Model Software Version Interfaces IP Address Mask

R1

7200

11.2

Ethernet2/0

Standard Ethernet 10,000 Kbit/sec (10 Mb/sec)

10.1.1.1

255.255.0.0

Serial3/0

T1 line at 1544 Kbit/second (propPointToPointSerial)

10.2.2.2

255.255.0.0

R2

2500

11.2

Ethernet0

Standard Ethernet 10,000 Kbit/sec (10 Mb/sec)

10.10.10.1

255.255.255.0

Ethernet1

Standard Ethernet 10,000 Kbit/sec (10 Mb/sec)

10.10.11.1

255.255.255.0

Serial0

T1 line at 1544 Kbit/second (propPointToPointSerial)

10.2.2.3

255.255.0.0

R3

2500

11.2

Ethernet0

Standard Ethernet 10,000 Kbit/sec (10 Mb/sec)

10.10.12.1

255.255.255.0

Serial0

T1 line at 1544 Kbit/second (propPointToPointSerial)

10.4.4.5

255.255.0.0

R4

7200

11.2

Ethernet2/0

Standard Ethernet 10,000 Kbit/sec (10 Mb/sec)

10.1.1.2

255.255.0.0

Serial3/0

T1 line at 1544 Kbit/second (propPointToPointSerial)

10.4.4.4

255.255.0.0

Other interface and device addresses might be used in the lessons.

Lesson 3---Creating a Simple Policy for Managing Web Traffic on One Router

In this lesson, you will learn how to add a router to the QoS database and create and deploy a simple policy. The policy in this example sets the IP precedence for web traffic that goes through router R4 (see Figure 3-4 for the overall network diagram). 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, we must not only color the traffic on the inbound interface to the router (interface Ethernet2/0, which connects the web server to R4), but we must choose a QoS property for the outbound interface Serial3/0 (Figure 3-5). We will implement weighted fair queuing (WFQ). This ensures that the packet coloring we perform on Ethernet3/0 is used by the router.


Figure 3-5: Lesson 3---Coloring and Queuing Packets on Router R4


At the end of this lesson, you should be able to

Before You Begin

If you want to create a policy and deploy it on a router that exists in your network, obtain the IP address of an appropriate router. Otherwise, you can use the IP addresses in this lesson so that you can follow these steps without affecting your network.

The lesson assumes that you are starting with an empty database.

Procedure

Step 1 Add router R4 and its interfaces to the QoS database.


Figure 3-6: Lesson 3---Adding the Router


Figure 3-7 shows the tree view that now includes router R4.


Figure 3-7: Lesson 3---Router R4 and Interfaces in Tree View


Step 2 Configure the QoS property on the Serial3/0 interface so that it uses weighted fair queuing. We do not need to change the QoS property of the Ethernet2/0 interface because we are only creating a policy for inbound traffic for Ethernet2/0.


Figure 3-8: Lesson 3---Configuring Serial3/0 to Use Weighted Fair Queuing


Step 3 Define a policy to color web traffic on the inbound interface (Ethernet2/0 on router R4).


Figure 3-9: Lesson 3---General Properties of Coloring Policy



Figure 3-10: Lesson 3---Filter Properties of Coloring Policy



Figure 3-11: Lesson 3---Action Properties of Coloring Policy


Step 4
Click the Save button, or select File>Save, to save your policy changes. Because this is the first time you have saved the database, you are prompted to name it. We will name this database Tutorial. Type Tutorial in the Database Name field in the Save Database window and click OK.

Step 5 Distribute your policies to the network.

Related Topics

Lesson 4---Coloring Enterprise Resource Planning (ERP) Traffic on a Group of Devices

In this lesson, you will learn how to treat a set of device interfaces as a group, and create and deploy a simple 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-4 for the overall network diagram). The purpose of this policy is to color the ERP traffic for the HR, Finance, and Sales organizations, because the ERP servers behind R1 and R4 host significant applications used by these organizations, and they require good response from this server.

In order to make a meaningful policy, we must not only color the traffic on the incoming interfaces to these routers (the Ethernet2/0 interfaces, which connect the ERP server to R1 and R4), but we must choose a QoS property for the outbound Serial3/0 interfaces (Figure 3-12). We will implement weighted fair queuing (WFQ) on the outbound interfaces. This ensures that the packet coloring we perform on Ethernet2/0 is used by the routers.


Figure 3-12: Coloring and Queuing Packets on Routers R1 and R4


At the end of this lesson, you should be able to:

Before You Begin

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.

This lesson assumes that you have completed the steps in the "Lesson 3Creating a Simple Policy for Managing Web Traffic on One Router" section.

Procedure

Step 1 Add the router R1 and its interfaces to the QoS database.

Figure 3-13 shows the tree view that now includes router R1.


Figure 3-13: Lesson 4---Routers R1 and R4 and Interfaces in Tree View


Step 2 Create a device group for the Serial3/0 interfaces on routers R1 and R4, and set the QoS property for these interfaces to weighted fair queuing.


Figure 3-14: Lesson 4---Group Members for EdgeGroupOutbound



Figure 3-15: Lesson 4---Completed Device Group Window for EdgeGroupOutbound


Step 3 Create a device group for the Ethernet2/0 interfaces on routers R1 and R4.

Figure 3-16 shows the tree view with the completed device group entries.


Figure 3-16: Lesson 4---DeviceGroups Folder with New Device Groups


Step 4 Create a policy on the EdgeGroupInbound group to color ERP traffic.

Step 5
Click the Save button, or select File>Save, to save your policy changes. Because we used a host name for the ERP server, QPM asks if you would like the host name resolved to its IP address. Policies can be distributed to the device only if the host names are converted to IP addresses. Click Yes to have QPM resolve the host name. (Click No if you are following along in this lesson without using actual host names that exist in your network.)

Step 6 Distribute your policies to the network.

Related Topics

Lesson 5---Limiting the Bandwidth Available to FTP Traffic

In 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 that goes through the outgoing interfaces on routers R1 and R4 (see Figure 3-4 for the overall network diagram). The purpose of this policy is to prevent FTP traffic from flooding the network and thus reducing performance of the more important applications on the network.

Traffic shaping policies or limiting policies are typically used on outbound interfaces. We define an application service alias for FTP traffic from the central site, and use the alias to set the limit for FTP traffic to 200 Kbps (Figure 3-17).


Figure 3-17: Limiting the Bandwidth for FTP Traffic on Routers R1 and R4


At the end of this lesson, you should be able to:

Before You Begin

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.

This lesson assumes that you have completed the steps in "Lesson 4Coloring Enterprise Resource Planning (ERP) Traffic on a Group of Devices" section.

Procedure

Step 1 Create an application service alias for FTP traffic.


Figure 3-18: Lesson 5---Creating an Application Alias for FTP Traffic


Step 2 Create a policy on the EdgeGroupOutbound interface to limit the bandwidth available to FTP traffic.

Step 3
Click the Save button, or select File>Save, to save your policy changes.

Step 4 Distribute your policies to the network.

Related Topics

Lesson 6---Allocating Minimum Bandwidth to Critical Traffic Using Custom Queuing

In this lesson, you will learn how to create custom queues to deliver guaranteed bandwidth to specified types of traffic. The policies in this example will guarantee bandwidth for ERP traffic for the HR and Finance groups on the outgoing interfaces on router R1 (see Figure 3-4 for the overall network diagram). The purpose of this policy is to ensure that both groups get agreed-upon performance for their ERP applications.

Custom queuing policies are only effective on outbound interfaces, because the router cannot control the flow of packets on incoming interfaces. Because we have included R1's Serial3/0 interface in a device group in a previous lesson, we must first remove it from the device group so that we can treat Serial3/0 on R1 and R4 differently (Figure 3-19).


Figure 3-19: Creating Custom Queues on Router R1


At the end of this lesson, you should be able to

Before You Begin

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.

This lesson assumes that you have completed the steps in "Lesson 5Limiting the Bandwidth Available to FTP Traffic" section.

Procedure

Step 1 Create host groups for the HR and Finance groups.


Figure 3-20: Lesson 6---Defining the HR Host Group


Step 2 Remove the Serial3/0 interface for router R1 from the EdgeGroupOutbound device group.

Step 3 Change the QoS property for the 10.2.2.2\Serial3/0 interface.

Step 4 Create the custom queue for HR on the Serial3/0 interface.

Step 5 Now create the Finance ERPTraffic policy.

Step 6
Click the Save button, or select File>Save, to save your policy changes. Because we used a host name for the ERP server, QPM asks if you would like the host name resolved to its IP address. Policies can only be distributed to the device if the host names are converted to IP addresses. Click Yes to have QPM resolve the host name. (Click No if you are following along in this lesson without using actual host names that exist in your network.)

Step 7 Distribute your policies to the network.

Related Topics

Lesson 7---Upgrading Device Software

In this lesson, you will learn how to update the QoS database to recognize that you have upgraded the software on a device. We will upgrade the software on routers R1 and R4 to IOS software release 12.0(5)T.

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-4 explains the changes that are made for some software upgrades.


Table 3-4: QPM Policy Conversions During IOS Software Upgrade
IOS Software Upgrade Policy Conversion

11.1cc to 11.2 or 11.3

Converts coloring policies from CAR to policy based routing (PBR).

11.2 or 11.3 to 12.0

Converts coloring policies from PBR to CAR.

12.0 to 12.0(5)T on a 2500 router

Converts coloring policies from PBR to CAR.

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.

At the end of this lesson, you should be able to:

Before You Begin

This lesson assumes that you have completed the steps in the "Lesson 6Allocating Minimum Bandwidth to Critical Traffic Using Custom Queuing" section.

You do not have to update all your routers simultaneously.

Procedure

Step 1 Use the software and instructions that come with the IOS software CD-ROM or downloaded image to upgrade the software on routers R1 and R4.

Step 2 Start QPM and open the Tutorial database.

Step 3 Change the device properties for router R1:

Step 4 Use the same procedure to change the software revision for router R4 (10.4.4.4) to 12.0(5)T.

Step 5 Change the EdgeGroupInbound device group to an IOS software version 12.0(5)T device group:

Step 6 Change the EdgeGroupOutbound device group to an IOS software version 12.0(5)T device group. This procedure is slightly different from the procedure for EdgeGroupInbound to illustrate an alternate way of completing the task:

Step 7
Click the Save button, or select File>Save, to save your changes.

Step 8 Distribute your policies to the network.

Related Topics

Lesson 8---Upgrading CQ to CBWFQ and Implementing IP RTP Priority for Voice

In this lesson, you will learn how to convert custom queues (CQ) to class-based weighted fair queuing (CBWFQ). Like custom queuing, CBWFQ can deliver guaranteed bandwidth to specified types of traffic. In addition, CBWFQ can provide the benefits of weighted fair queuing to the remaining traffic on the interface.

You will also learn how to implement IP RTP Priority to create a strict priority queue for use with voice traffic to ensure that voice traffic is not delayed. This assumes that you have deployed a voice over IP application that uses the real-time protocol (RTP). Because of the time-sensitive nature of voice traffic, delay and packet drop for voice degrades network quality more than delay or packet loss for data. Also, the relatively small size of voice packets makes it possible to use a strict priority queue for voice without degrading network quality for the remaining traffic.

The CBWFQ policies in this example will implement the same policies created in the "Lesson 6Allocating Minimum Bandwidth to Critical Traffic Using Custom Queuing" section. They will guarantee bandwidth for ERP traffic for the HR and Finance groups on the outgoing interfaces on router R1 (see Figure 3-4 for the overall network diagram). The purpose of this policy is to ensure that both groups get agreed-upon performance for their ERP applications.

CBWFQ policies are effective only on outbound interfaces, because the router cannot control the flow of packets on incoming interfaces (Figure 3-21).


Figure 3-21: Creating CBWFQ Queues on Router R1


At the end of this lesson, you should be able to

Before You Begin

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.

This lesson assumes that you have completed the steps in "Lesson 7Upgrading Device Software" section.

Procedure

Step 1 Convert the custom queuing policies on router R1 to CBWFQ policies:

Step 2 Add routers R2 and R3 to the database along with their Serial0 interfaces. See the "Lesson 3Creating a Simple Policy for Managing Web Traffic on One Router" section for a step-by-step description of adding devices to the database if you are not familiar with the procedure. The details for each device are:

Step 3 Group the remote routers so that you can implement IP RTP Priority once on these interfaces. See the "Lesson 4Coloring Enterprise Resource Planning (ERP) Traffic on a Group of Devices" section for an example of defining a device group if you are unfamiliar with the procedure. Use these device group settings and add the indicated interfaces:

When you click OK, QPM adds the Remote device group to the DeviceGroups folder.

Step 4 Implement IP RTP Priority on all interfaces. You could have made these changes when adding or changing the interface properties, but we are describing them separately for clarity:


Figure 3-22: IP RTP Priority Settings for Voice Traffic


Step 5
Click the Save button, or select File>Save, to save your changes.

Step 6 Distribute your policies to the network.

Related Topics

Lesson 9---Configuring Frame Relay Traffic Shaping

This lesson will teach you 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.

In this example, we will use a different network setup than used in previous lessons. Figure 3-23 shows three routers connected over a WAN 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 we 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-23: Implementing FRTS to Control WAN Traffic Rates


At the end of this lesson, you should be able to

Before You Begin

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.

This lesson assumes that you have completed the steps in "Lesson 8Upgrading CQ to CBWFQ and Implementing IP RTP Priority for Voice" section. Although you will not use the same network setup, you should already be familiar with adding devices and interfaces to the QoS database.

Procedure

Step 1 Add the Main router to the database, using 10.10.10.11 for the device name. See the "Lesson 3Creating a Simple Policy for Managing Web Traffic on One Router" section for the steps for adding devices to the databases if you are not familiar with the procedure.

Table 3-5 lists the device details for this example. Because Remote1 and Remote2 links do not have a committed information rate, we are not enabling FRTS or other QoS capabilities on them in this example. Only add Main, its Serial3/0 interface, and its subinterfaces to the database.


Table 3-5: Technical Network Details for FRTS Lesson
Name Device Model Software Version Interfaces IP Address Mask

Main

7200

12.0

Serial3/0

T1 line at 1544 Kbit/second (Frame Relay)

Serial3/0.1

Used as a permanent virtual circuit (PVC) with the Remote1 router, data link connection identifier (DLCI) 150.

10.10.10.11

255.255.255.0

Serial3/0.2

Used as a PVC with the Remote2 router, DLCI 151.

10.10.11.11

255.255.255.0

Remote1

4500

12.0

Serial0

T1 line at 1544 Kbit/second (Frame Relay)

10.10.10.10

255.255.255.0

Remote2

4500

12.0

Serial0

T1 line at 1544 Kbit/second (Frame Relay)

10.10.11.10

255.255.255.0

Step 2 Enable FRTS on the Main router's Serial3/0 interface. You must enable FRTS on an interface in order to configure FRTS on the interface's subinterfaces:


Figure 3-24: Enabling FRTS on the Serial3/0 Interface


Step 3 Enable FRTS on the Main router's Serial3/0.1 interface:


Figure 3-25: Enabling FRTS on the Serial3/0 Interface


Step 4 Use the same procedure to enable FRTS on the Serial3/0.2 interface, making these interface selections:

Step 5
Click the Save button, or select File>Save, to save your changes.

Step 6 Distribute your policies to the network.

Related Topics

hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jul 12 12:41:12 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.