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

Table of Contents

Managing Devices

Managing Devices

These topics describe tasks for working with devices and their interfaces.

Working with Devices

The devices managed by QPM can be routers, switches, layer 3 switches, and LocalDirector. These devices must run a software version that supports QoS capabilities.

In order to manage QoS on your devices, you must add the devices to a QoS database in QPM. QPM enables you to create multiple databases, each of which manages a different sub-set of devices. When deciding how many devices to manage in a single database, keep in mind that there is a relationship between the number of devices in the database and response time for policy editing and deployment.

These topics describe the QPM tasks for devices:

Adding a Device

You must add a device to the QoS database before you can configure the QoS settings for the device or its interfaces. You can add a device manually, or you can have QPM automatically detect and import the device's information.

OS Detection and IOS Mapping

QPM uses the device IOS version number to load device capabilities to the database. All sub-versions of a certain version are translated to the major version, unless QPM explicitly supports the minor version. In QPM, new minor versions are mapped to the last supported minor version and not to the major version.

Both the device software version and the mapped software version are displayed in the Device Properties dialog box:

Device System Name

If the device system name is defined in the device configuration, it can be used instead of the device's IP address, when adding a device to the database. The device system name is detected when QPM automatically verifies device information for adding a device to the database. The device system name is added to the Device Properties dialog box.

You can define your tree view by IP address/DNS name or by device system name (if it is configured).

Before You Begin

Obtain the following information for each device you are adding:

If the device is offline, you also need this information:

Procedure

Step 1   From the Policy Manager, select Devices>Device>New, or right-click in the tree view and select New Device. QPM opens the New Device dialog box.


Figure 6-1: New Device Dialog Box


Step 2   Fill in the New Device dialog box fields. If the device is online, you only need to provide the IP Address, Community, User Name and Passwords, for access to the device. The rest of the fields are filled in automatically when the device is detected.

See the "New Device and Device Properties Dialog Boxes" section for more information.

Step 3   If the device is online, ensure that Verify Device Information and Detect Interfaces are selected and click OK. (Alternatively, you can click the Verify Device Info button, and then the Detect Interfaces button, to accomplish the same thing).

QPM queries the device for its software version and model information, then queries the device for a list of interfaces and their configuration information. When the device has returned the interface information, QPM opens the Detect Interfaces dialog box, if appropriate. The Detect Interfaces dialog box shows a list of the device's interfaces, from which you can choose which interfaces you want to manage using QPM. For some devices, you cannot configure specific interfaces, so QPM does not show you the list of device interfaces.

Step 4   In the Detect Interfaces dialog box (if QPM opens it), ensure that the interfaces you want to manage are in the list of selected interfaces, and remove any interfaces that you do not want to manage from the list. Click OK when finished.

QPM creates a folder for the device in the tree view. The device interfaces are included as members of this folder. The interface description, if it exists in the CLI, is retrieved in the Detect Interface operation. All interface information, including interface description, is shown in the interface preview in the lower right part of the screen when the interface is selected in the tree view.


Tips
Related Topics

Viewing or Changing Device Properties

You can view a device's properties and change them if required. If you upgrade the device's software, or replace the device with a new model (while retaining the device's IP addresses), you must update the device properties to ensure that the policies and configurations you create in QPM are usable on the device.

Procedure

Step 1   Select the device in the tree view and select Devices>Device>Properties, or right-click the device and choose Device Properties.

QPM opens the Device Properties dialog box. Figure 6-2 shows the Device Properties dialog box for a Catalyst 6000 device.


Figure 6-2: Device Properties Dialog Box


Step 2   Optionally, you can do the following:

Step 3   To update the device's properties and its list of interfaces, select the Verify Device Information and Detect Interfaces check boxes and click OK.

QPM queries the device for its software version and device model information and then obtains a list of interface information, which it displays in the Detect Interfaces dialog box. Select the interfaces you want to manage, deselect those you do not want to manage, and click OK.


Tips
Related Topics

Uploading Device QoS Configurations

Using QPM, you can upload the existing QoS configurations on devices when you add them to the policy database or before you make a QoS configuration change. This is useful if you install QPM on a system where you already have devices defined. Instead of redefining the device characteristics, you can use the upload feature to automatically update the QPM database with device information when you add the device.


Note   You can upload device configuration one time only. The Upload Device Configuration check box is disabled in the Device Properties dialog box after you make QoS configuration changes to the device.

The upload process incorporates the following steps:

In the case of defining exactly the same policy on several interfaces, a duplicate resource is created.


Figure 6-3: Sample Upload Device Configuration Report


The column headings are as follows:

Device Upload Error Messages

The following is a list of error messages that you may see in the Upload Device Configuration Report:

[1] "<parameter string>:" Unsupported fair-queue parameter(s).

[2] Unsupported device model <model> and QoS technique for IOS software release <release number>.

[3] "<command string>:" Command not supported.

Example    (Under class_map)
match mpls experimental

[4] "<command string>:" ToS-Based WFQ not supported. Flow-Based WFQ configured.

[5] map-class frame-relay <command string>: "<command string>" command not supported.

Example    map-class frame-relay fecn-adapt

[6] route-map <route-map command> seq-no <sequence number>: "<command string>" command not supported.

Example    route-map QPM_Serial8 permit 1
match ip address 144
match length 2000 3000 <== Unsupported command
set ip precedence critical

[7] class-map <class-map command>: "<command string>" command not supported.

[8] Cannot assign rule to default queue <queue number> in custom-queue-list <custom-queue-list name>. "<command string>" command ignored.

Example    access-list 101 permit tcp any any
access-list 102 permit udp any any
access-list 103 permit ip any any
queue-list 4 protocol ip 1 list 103
queue-list 4 protocol ip 2 list 102
queue-list 4 protocol ip 3 list 101 <== Ignored command
queue-list 4 default 3
queue-list 4 queue 1 byte-count 9000
queue-list 4 queue 2 byte-count 12000
queue-list 4 queue 3 byte-count 39000

[9] Multiple rules found in queue <queue number> in custom-queue-list <custom-queue-list>. "<command string>" command ignored.

Example    access-list 101 permit tcp any any
access-list 102 permit udp any any
access-list 102 permit ipany any
queue-list 4 protocol ip 1 list 103
queue-list 4 protocol ip 2 list 101
queue-list 4 protocol ip 2 list 102 <== Ignored command
queue-list 4 default 3
queue-list 4 queue 1 byte-count 9000
queue-list 4 queue 2 byte-count 12000
queue-list 4 queue 3 byte-count 39000

[10] "<command string>:" ACL command for the corresponding number <number> not found.

[11] "<command string>:" Unsupported buffer-limit=[<number>], default value: 1000.

[12] class-map <command string>: ACL command for the corresponding number <number> not found.

[13] priority-list <number> queue <number>: ACL number missing.

Example    priority-list 1 protocol ip high list 102 <== Missing number

[14] priority-list <number> queue <number>: ACL command for the corresponding number <number> not found.

[15] Cannot locate priority-queue-list <command string>. Priority queuing ignored.

[16] custom-queue-list <command string> queue <number>: Missing filter for the corresponding queue number.

Example    queue-list 1 protocol IP 1 list 114 <== Missing number

[17] custom-queue-list <command string> queue <number>: Protocol <protocol> not supported.

[18] custom-queue-list <command string> queue <number>: ACL number not defined.

[19] custom-queue-list <command string> queue <number>: ACL command for the corresponding number <number> not found.

[20] Cannot locate custom-queue-list <queue-list definition>. Custom queuing ignored.

[21] route-map <command string> seq-no <number>: ACL command for the corresponding number <number> not found.

[22] frame-relay class <class name>: Class name not found. Command ignored.

[23] "<command string>:" ACL command for the corresponding number <number> not found.

[24] map-class frame-relay <string>: custom-queue-list <string> not found. Custom queuing ignored.

[25] map class frame-relay <command string>: priority-queue-list <command string> not found. Priority queuing ignored.

[26] Undefined fragment-delay value or interleave setup. LFI command ignored.

[27] Cannot calculate CQ Packet Size for custom-queue-list <string>. Custom queueing ignored.

[28] Cannot upload service-policy <string> <string> because one or more errors detected in class-map and/or policy-map.

[29] policy-map <string>: "<command string>" command not supported.

[30] Missing random-detect parameter exponential-weighting-constant. WRED ignored.

[31] custom-queue-list <string>: One or more errors detected while uploading custom-queue.

[32] map-class frame-relay <string>: Unable to calculate CQ Packet Size. Custom queueing ignored.

[33] Cannot enable frame-relay traffic shaping because map-class frame-relay not defined.

[34] "<command string>:" command not supported for device model <string> and IOS software release <number>.

[35] custom-queue-list <string> queue <number>: Queue number 0 is a system queue and cannot be configured.

[36] Model <string> does not support interface command.

[37] Catalyst 6000 <string> queueing cannot be configured.

Example    set qos txq-ratio 1p2q2t 70 15 15
set qos wred 1p2q2t tx queue 1 80 100

[38] <string> queuing: Queue number <string> weight is empty.

[39] Frame-relay traffic-shaping not configured on interface for Frame-relay class <string> command.

[40] FRTS is not supported on both sub-interface and DLCI.<string> command ignored.

[41] FRTS is not supported on a DLCI other than the first per sub-interface.<string> command ignored.

[42] FRTS is not supported on a DLCI configured on an interface. <string> command ignored.

[43] Service-policy is not supported on both sub-interface and PVC. <string> command ignored.

[44] Service-policy is not supported on a PVC other than the first per sub-interface.<string> command ignored.

[45] Service-policy is not supported on a PVC configured on an interface. <string> command ignored.

[46] Service-policy is not supported on a PVC for this interface type. <string> command ignored.

[47] Cross-aggregate policer is not valid for upload. <police aggregate string> command ignored.

[48] Cross-aggregate policer is not valid for upload. <mls qos aggregate-policer string> command ignored.

Importing Devices from a Device Inventory

You can add many devices simultaneously to the QoS database by importing them from a device inventory created using CiscoWorks2000 Resource Manager Essentials (RME). Similarly, you can update devices that already exist in the QoS database by re-importing an RME file that contains the updated information.

When adding devices to the database, keep in mind that there is a relationship between the number of devices in the database and the response time for policy editing and deployment.

Before You Begin

Export a device inventory using CiscoWorks2000 Resource Manager Essentials.

Procedure

Step 1   From the Policy Manager, select Devices>Import.

QPM opens the Select RME File to Import dialog box.


Figure 6-4: Select RME File to Import Dialog Box


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 and begins querying the devices in the inventory.

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.


Figure 6-5: Interim Device Inventory Dialog Box


You can make other changes in Policy Manager while QPM queries the devices. When QPM completes the query, you are returned to the Import Devices dialog box to continue the import process.

Step 3   When QPM has finished querying the devices, 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. If QPM could not query a device, do not add the device to the database until you can determine why the query failed.


Figure 6-6: Device Inventory Dialog Box


When you are satisfied with the list of devices to import, click OK.

Step 4   QPM gives you to option 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 6-7: Detect Interfaces Dialog Box


Select one of the following:

You can also upload the device configuration at this time by checking the Upload Device Configuration check box. See Uploading Device QoS Configurations for more information.

When QPM is finished detecting interfaces, QPM adds the devices and their interfaces to the tree view and closes the Import Devices dialog box.


Tips
Related Topics

Removing a Device

If you no longer want to manage QoS on a device, you can remove it from the QoS database.

Procedure

Step 1   Right-click the device in the tree view and select Delete Device, or select the device and select Devices>Device>Delete.

If any of the device's interfaces belong to a device group, a warning message appears and prompts you to confirm the deletion.

If you confirm the deletion, QPM deletes the device, its interfaces, all associated policy statements, and device group memberships for the device.


Viewing a Device's Configuration

You can view a device's software configuration from within QPM. This is useful if you are deciding whether or not to upload the device's configuration into the QoS database.

Procedure

Step 1   Select the device in the tree view.

Step 2   Select Devices>Device>View Configuration, or right-click and select View Device Configuration.

QPM opens a window with the software configuration as defined on the device. See the device's software documentation for information on how to read the configuration.


Tips

Connecting to a Device Using Telnet

You can start the Microsoft Telnet program from within QPM's Policy Manager.

Procedure

Step 1  
Select the device to which you want to connect in the tree view and click the Telnet button, or select Tools>Telnet.

QPM starts the Microsoft Telnet program to connect to the device. See the Telnet online help for information on how to use the program.


Working with Device Interfaces and VLANS

The interfaces on a device carry the network traffic. In QPM, the term interfaces refers to router interfaces and subinterfaces, and switch ports and VLANs (Virtual Local Area Networks).

You must add the interfaces on which you want to define QoS policies to the QoS database. QPM can detect all the device's interfaces automatically and then you can decide which interfaces to add to the database. Alternatively, you can add interfaces manually.

QPM allows you to configure QoS on subinterfaces, as long as you add both the subinterface and its associated parent interface to the database.

QPM detects VLANs configured on Catalyst 6000 family switches as interfaces, meaning that the VLANs appear in the list of detected interfaces. If you choose to add a VLAN to the QoS database, it is added to the tree view under the device. You can then define QoS policies on the VLAN. In order for these policies to be deployed to the ports in the VLAN, you must add the ports to the database and specify that you want the VLAN's policy to be deployed to the ports (as opposed to any policies that you may have defined on the ports themselves). You do this by specifying the QoS style as VLAN-based in the Interface Properties dialog box. If you have defined a policy on one of ports in the VLAN and you want this policy to be implemented, you must define the QoS style for this port as port-based.

The following topics describe QPM tasks for interfaces:

Adding Device Interfaces

You can add a device's interfaces to the database when you add the device, or at a later stage (for example, if you install a new card). You do not need to add all the interfaces, only those on which you want to configure QoS.

Before You Begin

If the device is not yet defined in the QoS database, see the "Adding a Device" section. That procedure includes information on adding the device's interfaces while you add the device.

The following procedures assume that the device is already defined in the database, and that you want to add more of its interfaces to the database. If the device is online, it is easiest to add interfaces by having QPM query the device. This is the automated procedure.

However, if the device is not online, you can manually add the interfaces. To manually add the interfaces, you must first determine the names of the interfaces and their characteristics.

Procedure (Automated)

Step 1   Right-click the device in the tree view and select Device Properties.

QPM opens the Device Properties dialog box.

Step 2   Click Detect Interfaces.

QPM obtains interface information from the device and opens the Detect Interfaces dialog box.


Figure 6-8: Detect Interfaces Dialog Box


Step 3   In the Detect Interfaces dialog box, select the devices you want to manage and click >> to move them to the selected devices list. If you do not want to manage a selected interface, select it and click << to remove it from the selected list. When finished, click OK.

QPM adds the interfaces to the tree view as items in the device's folder. You can now configure QoS on the interface.


Procedure (Manual)

Step 1   Select the device whose interface you want to add in the tree view.

Step 2   Select Devices>Interface>New, or right-click and select New Interface.

QPM opens the New Interface dialog box.


Figure 6-9: New Interface Dialog Box


Step 3   Enter the interface properties and click OK. See the "New Interface and Properties of Interface Dialog Boxes" section for more information.


Tips
Related Topics

Viewing or Changing Interface Properties

You can view the properties of an interface and change them if required. When you select an interface in the tree view, a summary of its properties is shown in the lower right pane of the Policy Manager window.

Procedure

Step 1   Right-click the interface in the tree view and select Interface Properties, or select the interface and select Devices>Interface>Properties.

QPM opens the Properties of Interface dialog box.

Note that the fields in this dialog box differ depending on the type of device and the IOS/CatOS software it is running. QPM only provides the options that are supported by the selected device and its software. See the "New Interface and Properties of Interface Dialog Boxes" section for detailed information.

Step 2   If you want to change the interface properties, make your changes in the dialog box and click OK.


Tips
Related Topics

Removing Device Interfaces

If you do not want to manage QoS on an interface, but you still want to manage QoS on other interfaces on the device, you can remove the interface from the QoS database without removing the device. If you remove a card from a device, ensure that you remove the card's interfaces from the QoS database.

Procedure

Step 1   Right-click the interface in the tree view and select Delete Interface, or select it and select Devices>Interface>Delete.

If the interface belongs to a device group, you are prompted to confirm the deletion.

If you confirm the deletion, QPM deletes the interfaces, all associated policy statements, and device group memberships for the interface.


Working with Device Groups

A device group is a group of interfaces that reside on one or more device. You can use device groups to simplify the deployment of your policies, because you can write a policy for the group instead of for each interface separately.

There are two main reasons to group interfaces.

These topics describe device groups in more detail:

Understanding Which Interfaces Can Be Combined in a Group

You can combine interfaces in a group only if the interfaces use the same or a compatible software version. This ensures that you do not create a policy on the device group that is not supported on one or more interfaces in the group.

When you create a device group, you must state the minimum software version that should be allowed in the device group. QPM only lets you add interfaces with compatible software versions to the device group (in general, only later software versions are compatible). In addition, QPM only lets you use QoS properties and policies that are supported on all interfaces in the group.

You can include more restrictive characteristics if you desire. For example, you can create a device group that only contains Frame Relay interfaces running IOS software release 12.0.

Device Groups for Catalyst 6000 Switches with Supervisor IOS

On Catalyst 6000 switches with Supervisor IOS, interfaces are grouped on ASICs. When you add an interface to a device group, all the interfaces in the same ASIC will also be added to the device group. This means that all interfaces on the same ASIC will have the same QoS configurations and policies unless you define policies on the individual interfaces and not on the device group.

In addition, if you select a queuing mechanism (QoS property) for the device group (2Q2T or 1P2Q2T), only interfaces that support that QoS property can be added to the group. In order to have a heterogeneous device group, you need to select Defined by Interface as the QoS property.

Creating Device Groups

Create a device group when you want to use identical policies for more than one interface.

Before You Begin

Identify the interfaces that you want to treat as a group.

Procedure

Step 1   From the Policy Manager, select Devices>Device Group>New, or right-click on the Device Groups folder and select New Device Group. QPM opens the Device Group dialog box.


Figure 6-10: New Device Group Dialog Box


Step 2   Fill in the fields in the Device Group dialog box (see the "Device Group Dialog Box" section for more information).

If you are creating a device group to define a common QoS property, set the desired property in the QoS property field. Otherwise, set the QoS property to Defined by interface.

Step 3   In the Device Group dialog box, click Add/Remove in the Group Members group.

QPM opens the Add/Remove Group Members dialog box.

Step 4   In the Add/Remove Group Members dialog box, select the desired interfaces in the Available Interfaces list and click >>.

The Available Interfaces list includes only interfaces that:

Click OK when you finish adding interfaces. QPM returns you to the Device Groups dialog box.

Step 5   Click OK in the Device Groups dialog box.

QPM adds the device group to the Device Groups folder in the tree view. You can now select the group and add policies to it.


Tips
Related Topics

Adding or Removing Device Group Members

After you define a device group, you can add members to the group or remove them from the group.

Before You Begin

If you want to add an interface to a device group, and the interface is currently running a software version that is incompatible with the one defined for the group, you must upgrade the software on the device before you can add the interface to the group.

Procedure

Step 1   From the Policy Manager, select the device group in the tree view and select Devices>Device Group>Add/Remove Members, or right-click the group and select Add/Remove Members.QPM opens the Add/Remove Group Members dialog box.


Figure 6-11: Add/Remove Group Members Dialog Box


Step 2   To add members, select the required interfaces in the Available Interfaces list and click >>. This list contains only interfaces that satisfy the device group characteristics and that do not already belong to a group.

To remove members, select the required interfaces in the Group Members list and click <<.


Tips
Related Topics

Modifying Device Group Properties

Modify a device group when you want to add or remove interfaces, or change other properties for the group.

Before You Begin

You can only change these properties of a device group:

If you want to change the Software Version or Device Model properties, you must create a new device group. Changing these properties might invalidate policies that you have defined and distributed to the members of the group.

Procedure

Step 1   From the Policy Manager, select the device group in the tree view and select Devices>Device Group>Properties. QPM opens the Device Group dialog box.


Figure 6-12: Device Group Properties Dialog Box


Step 2   Make the desired changes to the device group properties and click OK (see Device Group Dialog Box for more information).


Tips
Related Topics

Deleting Device Groups

Delete a device group when you no longer want to treat the group of interfaces as a group. However, if you only want to remove some of the members of the group, you do not need to delete the group. See the "Adding or Removing Device Group Members" section for more information.

Procedure

Step 1   From the Policy Manager, select the device group in the tree view.

Step 2   Select Devices>Device Group>Delete, or right-click and select Delete Device Group.

QPM asks you to confirm the deletion.

When you delete a device group, the group's QoS property and associated policies (for example, policies that create priority or custom queues) are copied to the interfaces that were members of the device group. You are asked whether other policies defined on the group, such as coloring or shaping policies, should be copied to interfaces that you are removing. If you click Yes or Yes to All, the policies are copied, meaning there is no change to the services provided by the interface. If you click No, the policies are not copied to the interface, changing the services provided by the interface.


How Device Software Upgrades Affect Device Groups

When you create a device group, you specify the minimum software version allowed for members of the group. Because you specify a minimum version level, you can upgrade your devices without affecting QPM's deployment of policies to the devices.

However, if you downgrade the software version on a member of a group to a version incompatible with the minimum version, you may encounter problems. If your policies, or QoS property, for the interface is incompatible with the QoS capabilities of the software version, you will see errors in Policy Manager when you try to reverify the device information for the device. At that time, you will have to remove the interface from the group; otherwise, you will see errors in Distribution Manager when you try to deploy policies to the device group.

If you need to downgrade the software version on a device, make sure you remove the device's interfaces from the device groups in which the minimum software version is higher than the your device's downgraded software version.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Nov 12 12:20:41 PST 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.