User Guide for CiscoWorks Common Services 3.3
Chapter 5 Managing Device and Credentials

Table Of Contents

Managing Device and Credentials

Understanding DCR

Device Management Types

Device Attributes

Device Credentials

DCR Architecture

Using the Device and Credential Admin

Discovering Devices

Configuring Device Discovery Settings

Configuring Discovery Module Settings

Configuring Seed Device Settings

Configuring SNMP Settings

Configuring Discovery Filter Settings

Configuring Global Discovery Settings

Viewing Discovery Settings Summary

Viewing Device Discovery Settings

Starting Device Discovery

Scheduling Device Discovery

Viewing Device Discovery Details

Viewing Device Discovery Summary

Total Devices Discovered

Reachable Devices

Unreachable Devices

Devices Added to DCR

Devices Updated to DCR

Activities Performed From Device Discovery Details Windows

Configuring Discovery Logging

Managing Devices

Adding Devices

Deleting Devices

Editing Device Credentials

Editing Device Identity

Importing Devices and Credentials

Import Status Report

Sample CSV Files and XML Files

Exporting Devices and Credentials

Excluding Devices

Viewing Devices List

Managing Auto Update Servers

Adding Auto Update Server

Editing Auto Update Server

Deleting Auto Update Server

Generating Device and Credential Admin Reports

Device List Report

Audit Report

Excluded Devices Report

Imported Device List Report

Devices Not Configured In ACS Report

Configuring Device Selector

Using Device Selector

Selecting Devices for Device Management Tasks

Selecting Devices From All Tab

Selecting Devices From Search Results

Combination of Selection From All Tab and Search Results

Searching Devices

Performing Simple Search

Performing Advanced Search

Device Selector Settings

Understanding Device Groups

Customizing Device Grouping

Customizing Display Order of Device Groups

Administering Device and Credential Repository

Changing DCR Mode

Configuring Device Polling

Configuring Device Polling Settings

Deleting Unreachable Devices from DCR

Configuring User Defined Fields

Configuring Default Credentials

Using Default Credentials

Important Notes on Default Credentials

Default Credentials Behavior in Multi-Server Setup

Configuring Default Credential Sets

Configuring Default Credential Set Policy

Using Discovery Features Through CLI

Starting Device Discovery Through CLI

Stopping Device Discovery Through CLI

Viewing Device Discovery Status Through CLI

Using DCR Features Through CLI

Adding Devices Using CLI

Deleting Devices Using CLI

Editing Devices Using CLI

Listing the Attributes

Listing the Device IDs

Listing the Default Credential Sets

Viewing the Current DCR Mode Using CLI

Viewing Device Details

Changing DCR Mode Using CLI

Import Using CLI

Export Using CLI

Export to ACS Server Using CLI

Implications of ACS Login Module on DCR

Using DCR Features in a Master-Slave Setup

Using Device Discovery Features in Various Setup


Managing Device and Credentials


The Device and Credential Repository (DCR) is a common repository of devices, their attributes, and credentials, meant to be used by various network management applications. The Device and Credential Admin provides an interface to administer DCR.

The following sections provide information on DCR features:

Understanding DCR

Using the Device and Credential Admin

Discovering Devices

Managing Devices

Managing Auto Update Servers

Generating Device and Credential Admin Reports

Configuring Device Selector

Administering Device and Credential Repository

Using Discovery Features Through CLI

Using DCR Features Through CLI

Implications of ACS Login Module on DCR

Using DCR Features in a Master-Slave Setup

Using Device Discovery Features in Various Setup

Understanding DCR

DCR helps multiple applications share device lists and credentials using a client-server mechanism, with secured storage and communications. The applications can read or retrieve the information.

These applications can also update the information in DCR so that the updated information could be shared with other applications.

DCR provides:

A central place where you can add or import new devices.

Easier and faster access to device and credential data.

Secure data persistence, access and transport.

Rationalized and controlled replication, with less user-level data reconciliation.

Better integration with third-party and Cisco network-management applications.

DCR also:

Stores device attributes and credentials, permits dynamic creation of attribute types, and permits default grouping and filtering.

Supports proxy device attributes, unreachable devices, and pre-provisioning of devices.

Allows you to populate the repository by importing devices from many sources. It also allows you to export device data to be used with third-party network management systems such as NetView and HP OpenView Network Node Manager.

Uses a unique Internal Device Identifier to access device details, and detects duplicate devices based on specific attributes.

Encrypts credential data stored in the repository. Access to device data is permitted only by secured channel and client authentication.

Supports IPv6 and SNMP v3.

This section contains the following:

Device Management Types

Device Attributes

Device Credentials

DCR Architecture

Device Management Types

DCR supports the following four types of device management:

Standard type

Devices such as Routers, Switches, Hubs, and other common devices are managed using this management type.

AUS Managed devices

The CiscoWorks Auto Update Server is a web-based interface for upgrading device configuration files and software images on firewalls that use the auto update feature. You can use this interface to add, edit, and delete devices.

Cluster Managed devices

The Cisco clusters and their member devices are managed using this device management type.

CNS Managed devices

The CNS managed devices refer to the devices managed by Cisco Networking Services.

Device Attributes

Device attributes are unique to each device and they identify a device. Device attributes are unique to each device and are used to identify device properties, such as device name and host name.

The following attributes are stored in the repository:

Attribute
Description

host_name

Device Host name.

domain_name

Domain name of the device.

management_ip_address

IP address used to access the device. Both IPv4 and IPv6 address types are supported.

device_identity

Identifies pre-provisioning devices. The value is application specific.

display_name

Device name, as you want it to be represented in reports or graphical displays. Can be derived from Host Name, Management IP address or Device Identity.

sysObjectID

sysObjectID value of Cisco or non-Cisco devices.

It may be UNKNOWN if the facility that populates the repository is not aware of the value.

mdf_type

Normative name for the device type as described in Cisco's Meta Data Framework (MDF) database or other vendor's MDF database. Each device type has a unique normative name defined in MDF.

DCR Device ID

Internally generated unique sequential number that identifies the device record in the DCR database.

The DCR clients should know the value to access device details from the repository.

User Defined Fields (UDF)

DCR Administration, by default, provides four UDFs. These fields are used to store additional user-defined data for a device.

DCR supports a maximum of ten UDFs.

You can add six more UDFs to DCR Administration. You can rename or delete all the UDFs including the four default UDFs provided by DCR Administration.

http_mode

Current transport mode.

http_port

The HTTP Port.

https_port

The HTTPS Port.

cert_common_name

Certificate Common Name.


Individual applications interact with the repository to get the device list, device attributes, and device credentials.

Mandatory Attributes

The mandatory attributes are:

Management IP address or Host Name or Device Identity.

Display Name.

Apart from these attributes, there are few attributes that are mandatory for each management type of devices. They are:

CNS managed devices — CNS Server is mandatory.

AUS managed devices — Auto Update Device ID and Auto Update Server fields are mandatory.

DSBU Cluster managed devices — DSBU member number is sufficient.

The Display Name and the Host Name/Domain Name combination must be unique for each device in DCR. A device will be considered duplicate if:

The Display Name of a device is the same as the Display Name of any other device.

The Host Name/Domain Name combination of a device is the same as that of any other device.

Auto Update Device ID is the same as Auto Update Device ID of any other device (when the device is AUS managed)

Cluster and Member Number, together is the same as that of any other device (when the device is Cluster managed)

Device Credentials

Device credentials are values that are used by applications to access and operate on devices. It is typically a SNMP community string or a user ID and password. A device credential accesses a managed device such as a switch or router.

Credentials are encrypted and stored in DCR. The maximum length of a credential after encryption is 128 characters and credentials must not exceed this limit.

This section contains the following:

Device Credentials in DCR

Secondary Credentials

SNMP Credentials

Device Credentials of Other Management Types

Device Credentials in DCR

The following credentials can be associated with a device in DCR:

Credential
Description
Standard Credentials

primary_username

Primary username used to access the device.

primary_password

Password for the Primary username.

primary_enable_password

Console-enabled password for the device. Allows you to make configuration changes and provides access to a larger set of commands.

Without the enable password, users are restricted to read-only operations.

secondary_username

Secondary username used to access the device, when device access using the primary credentials fails.

secondary_password

Password for the secondary username.

secondary_enable_password

Console-enabled secondary password for the device. Allows you to make configuration changes and provides access to a larger set of commands.

Without the enable password, you cannot make any configuration changes. You can perform read-only operations.

rxboot_mode_username

Special case username (for example, RxBoot mode in 2500).

rxboot_mode_password

Password for the Rx Boot Mode user.

snmp_v2_ro_comm_string

SNMP V2 read-only community string of the device.

snmp_v2_rw_comm_string

SNMP V2 read/write community string of the device.

snmp_v3_user_id

SNMP V3 user ID of the device.

snmp_v3_password

SNMP V3 password of the device.

snmp_v3_engine_id

SNMP V3 engine ID of the device.

snmp_v3_auth_algorithm

SNMP V3 authentication algorithm used. Can be MD5 or SHA-1.

snmp_v3_priv_algorithm

SNMP V3 privacy algorithm used in AuthPriv mode. Can be DES, 3DES, AES128, AES192, and AES256.

snmp_v3_priv_password

SNMP V3 privacy password of the device in AuthPriv mode.

http_username

HTTP-interface user ID of the device.

http_password

HTTP-interface password of the device.

secondary_http_username

HTTP-interface secondary user ID of the device.

secondary_http_password

HTTP-interface password for the secondary user ID of the device.

Additional Credentials for Cluster Managed Devices

dsbu_member_number

Number of the Cluster member. This number represents the order in which the device was added to the cluster.

parent_dsbu_id

DCR Device ID of the parent Cluster device.

Auto Update Server Specific Credentials

aus_url

URL for the AUS device.

aus_port

Port number of the AUS service running on the AUS device.

aus_username

User login providing access to the AUS device.

aus_password

Password for the corresponding aus_username.

Auto Update Server Managed Device -Specific Credentials

aus_username

User login providing access to the AUS-managed device.

aus_password

Password for the corresponding aus_username.

parent_aus_id

DCR Device ID of the managing AUS device.

CNS Managed Device Specific Credentials

parent_cns_id

Device ID of the parent CNS server (CNS Configuration Engine).

cns_config_id

CNS Config ID of the device.

cns_image_id

CNS Image ID of the device.

cns_event_id

CNS Event ID of the device.


Secondary Credentials

DCR stores both the primary and secondary device credentials. Secondary credentials comprise a username, a password and a console-enabled password for the devices. You can use the secondary credentials as a fallback to access the devices if you cannot access them using primary credentials.

For example, assume you have configured devices in your network to be in TACACS mode and you have stored the TACACS credentials as the primary credentials. The local username and password are stored as secondary credentials to access devices. If the AAA server is not running, you cannot access the devices using primary TACACS credentials. Instead, you can use the secondary credentials as a fallback to access the devices in your network.

SNMP Credentials

The SNMP credentials are used to access the devices in the network.

DCR stores both:

SNMPv2 credentials

SNMPv3 credentials for all security levels.

The SNMPv3 protocol provides the security features such as message integrity, authentication, and encryption based on the security levels.

The following table lists the SNMP security levels and the SNMP credentials stored in DCR for each level:

SNMP Version
Security Level
Authentication
Encryption
SNMP Credentials in DCR

SNMPv2

NoAuthNoPriv1

Uses a community string match for authentication

Not Supported

snmp_v2_ro_comm_string

snmp_v2_rw_comm_string

SNMPv3

NoAuthNoPriv

Uses a username match for authentication

Not Supported

snmp_v3_user_id

AuthNoPriv

Provides authentication based on the authentication algorithms (MD5 or SHA)

Not Supported

snmp_v3_user_id

snmp_v3_password

snmp_v3_auth_algorithm

AuthPriv

Provides authentication based on the authentication algorithms (MD5 or SHA)

Provides encryption based on the privacy algorithm such as DES, 3DES, AES128, AES192, and AES256

snmp_v3_user_id

snmp_v3_auth_algorithm

snmp_v3_password

snmp_v3_priv_algorithm

snmp_v3_priv_password

1 SNMPv2 supports only the NoAuthNoPriv security level.


During the configuration of SNMP credentials, if you:

Specify only SNMPv3 username, this denotes that the SNMPv3 security level is NoAuthNoPriv.

Specify SNMPv3 username, SNMPv3 password and SNMPv3 authentication algorithm, this indicates that the SNMPv3 security level is AuthNoPriv.

Specify SNMPv3 username, SNMPv3 password, SNMPv3 authentication algorithm, SNMPv3 privacy algorithm, and SNMPv3 privacy password, this indicates that the security level is AuthPriv.

Device Credentials of Other Management Types

DCR supports Cisco Cluster Management Suites, Auto Update Servers and the managed devices, CNS Configuration Engine and CNS Managed devices, using a mix of standard and additional attributes and credentials.

Clusters: All the attributes of the Cluster are the same as a normal DCR device.

Cluster Members: Each cluster member has its own Host Name, sysObjectID, and MDF type, and uses the same Telnet credentials as the Cluster. Each cluster member has the following additional attributes:

Member Number: Number of the Cluster member. This number represents the order in which the device is added into the cluster.

Device ID of the Parent Cluster record.

Auto Update Server: This has the following attributes and credentials:

URN

Username

Password

Auto Update Server managed devices: Apart from having its own attributes and credentials as normal DCR devices in DCR, each Auto Update Server managed device has the following additional attributes:

Device Identity: String value that uniquely identifies this device in the parent Auto Update Server.

DCR Device ID of the Parent Auto Update Server record.

DCR Architecture

The sharing of device list and credentials among various network management products is achieved through a Client-Server mechanism. The clients are network management applications that use DCR. The server is called the DCR Server.

DCR works based on a Master-Slave model. The DCR mode is set to Standalone, by default.

Master DCR

Refers to the master repository of device list and credential data. The Master hosts the authoritative, or a master-list of all devices and their credentials. All other DCRs in the same management domain that are running in Slave mode, normally shares this list.

There is only one Master repository for each management domain, and it contains the most up-to-date device list and credentials.

DCR Master Server communicates with its Slaves through the HTTPS port. If there is a firewall in between the CiscoWorks Servers of the same DCR management domain, you must:

Open the HTTPS port of CiscoWorks Servers for communication.

Permit the ICMP requests and responses between the CiscoWorks Servers.

Only then the peer certificates can be exchanged and the communication could happen between the DCR Master and Slave servers.

Changes to the repository data in DCR Master are properly propagated to Slaves although you block or close the HTTPS port of DCR Slave Server in firewall. However the DCR status of Slave server is displayed as Unreachable in DCR Master.

But you should never block the HTTPS port of DCR Master Server in firewall. Otherwise communication between the servers in the same management domain will not happen.


Note The default HTTPS port is 443. You can change the default HTTPS port number to some other port number. See Using Online Help for details.


Slave DCR

Refers to a repository that is an exact replica of the Master.

DCR Slaves are slave instances of DCR in other servers and provide transparent access to applications installed in those servers.

Any change to the repository data occurs first in the Master, and those changes are propagated to multiple Slaves. There can be more than one Slave in a management domain.

The Slave:

Maintains an exact replica of the data managed by the Master for the management domain.

Has a mechanism to keep itself synchronized with the Master.

Will first update Master and then update its own repository data. This is in case of repository data updates.


Note If the AAA mode is set to ACS, ensure that all the servers within the DCR Master-Slave domain are in ACS mode.


DCR running in Master or Slave mode always has an associated DCR Group ID that indicates the Server's management domain. This Group ID is generated when a DCR is set to Master mode, and communicated to all Slaves assigned to that Master.

Standalone DCR

In Standalone mode, DCR maintains an independent repository of device list and credential data. It does not participate in a management domain and its data is not shared with any other DCR. It does not communicate with or contain registration information about any other Master, Slave, or Standalone DCR.

The DCR mode is set to Standalone, by default, after a fresh installation of Common Services on the CiscoWorks Server.

Using the Device and Credential Admin

Device and Credential Admin helps you in:

Discovering Devices

Managing Devices

Managing Auto Update Servers

Generating Device and Credential Admin Reports

Configuring Device Selector

Administering Device and Credential Repository

Discovering Devices

Common Services Device Discovery allows you to discover the devices from the network starting from the seed devices and updates the device information in DCR. Device Discovery data contains the information about the neighboring devices of seed devices you have specified.

Using the Device Discovery feature in Common Services, you can:

Configure Device Discovery settings

View Device Discovery settings

Start Device Discovery

Stop Device Discovery

Schedule Device Discovery

View Device Discovery summary

Configure Discovery logging

Read the following notes before you configure the settings and start the Device Discovery:

You should have the Network Administrator privileges to configure Device Discovery settings and start Device Discovery.

However to view the Device Discovery summary, anyone of the following roles should be assigned to you:

Network Administrator

Network Operator

System Administrator

You can only discover Standard devices and Cluster Managed devices through Device Discovery feature. You cannot discover AUS Managed and CNS Managed devices from the network.

When DCR or DCR Administration is down, you cannot start Device Discovery. However, you can configure Device Discovery settings.

Scheduled jobs started before DCR Administration is down completes successfully but DCR is not updated with the new device credentials returned from Device Discovery.

You can run Device Discovery in ACS mode and in a Master-Slave setup. See Using Device Discovery Features in Various Setup for more information.

This section contains information on:

Configuring Device Discovery Settings

Viewing Device Discovery Settings

Starting Device Discovery

Scheduling Device Discovery

Viewing Device Discovery Details

Configuring Discovery Logging

Configuring Device Discovery Settings

You should configure the following settings to start the Device Discovery:

Settings
Description

Module Settings

Allows you to configure or edit the Device Discovery modules to start Device Discovery.

See Configuring Discovery Module Settings for more information.

Seed Device Settings

Allows you to configure or edit module-specific and global seed devices which are used to initiate Device Discovery.

See Configuring Seed Device Settings for more information.

SNMP Settings

Allows you to configure or edit the SNMP credentials required to discover the devices from the network.

See Configuring SNMP Settings for more information.

Filter Settings

Allows you to include or exclude devices from Device Discovery and modify the filter settings.

Configuring filter settings is optional.

See Configuring Discovery Filter Settings for more information.

Global Settings

Allows to configure or modify other Device Discovery settings such as preferred DCR display name, management IP address and so on.

Configuring global settings is optional.

See Configuring Global Discovery Settings for more information.


The Discovery Settings Summary page helps you to configure all these settings and view the summary of the Device Discovery settings.

This section explains the following:

Configuring Discovery Module Settings

Configuring Seed Device Settings

Configuring SNMP Settings

Configuring Discovery Filter Settings

Configuring Global Discovery Settings

Viewing Discovery Settings Summary

Configuring Discovery Module Settings

Device Discovery feature in Common Services supports the following Device Discovery modules:

Discovery Modules
Description
Layer 3 Discovery Protocols

Address Resolution Protocol

Address Resolution Protocol also known as ARP is an Internet Protocol that maps IP Address to a MAC address.

This Device Discovery module depends on the Routing Table Device Discovery module.

Border Gateway Protocol

Border Gateway Protocol (BGP) is an exterior gateway protocol.

This module uses Border Gateway Peer Table to identify its BGP peer.

Open Shortest Path First Protocol

Open Shortest Path First (OSPF) Protocol is an interior gateway routing protocol.

The OSPF Discovery module uses ospfNbrTable and ospfVirtNbrTable MIB to find its neighbor's IP addresses.

Routing Table

Routing Table module queries and analyzes routing tables on seed routers, and discovers the subnets and next-hop routers.

Layer 2 Discovery Protocol

Cisco Discovery Protocol

Cisco Discovery Protocol Discovery module discovers devices independent of media and protocol used. This protocol runs on all Cisco-manufactured equipment, including routers, access servers, bridges, and switches.

This Device Discovery module queries the CDP Neighbor Table to find out the neighboring devices.

Ping Discovery Options

Ping Sweep On IP Range

This module gets a list of IP Address ranges from a specified combination of IP Address and Subnet Mask Device Discovery configuration. This module pings each IP Address in the range to check the reachability of devices.

Others

Cluster Discovery Module

This module discovers the devices in a DSBU cluster.

This queries the Cluster MIB to discover all members of the cluster.

Hot Standby Router Protocol (HSRP)

This module discovers the devices from the HSRP group which consists of an active router and Standby routers. If the active router fails, one of the Standby router will server as an active router.

The HSRP Discovery Module uses / in CISCO-HSRP-MIB to find active or standby routers.


You can run Device Discovery for one or more of these Device Discovery modules. You can select the Discovery modules from the Module Settings page.

Other than these Discovery modules, Common Services by default supports System Discovery module and running Device Discovery for System module.

The System module collects basic device information such as sysName, sysLocation, description, contact and type of services provided by MIB. It also tests transport availability. The System module queries the MIB2 Interface table and IP address table for a device in order to populate the IP address table of NGD.

To configure Device Discovery modules:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Device Discovery Settings page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click either:

The Configure button.

Or

The Configure link next to the Module Settings field.

The Module Settings page appears.

Step 3 Select one or more of the following Device Discovery modules:

Address Resolution Protocol (ARP)

Border Gateway Protocol (BGP)

Open Shortest Path First Protocol (OSPF)

Routing Table

Cisco Discovery Protocol (CDP)

Ping Sweep On IP Range

Cluster Discovery Module

Hot Standby Router Protocol (HSRP)

For example, if you want to discover the devices from a DSBU Cluster, you can select the Cluster Discovery module.

You should select CDP or Ping Sweep On IP Range or both to discover the IPv6 devices from the network.


Note When you select the Address Resolution Protocol (ARP) module, the Routing Table Device Discovery module is also selected.


Step 4 Either:

Click Next to configure Seed Devices Settings. See Configuring Seed Device Settings for more information.

Or

Click Cancel to exit the wizard.

The Finish button is disabled in this page. You can only click the Next button to configure the seed devices.


Configuring Seed Device Settings

Seed devices are the devices used to initiate network discovery. A seed device is the starting point from which Common Services Device Discovery discovers the network and its peer or neighbor devices.

You can specify:

Module specific seed devices—These seed devices are specific to a Device Discovery module that you have selected in the Module Settings page. See Configuring Discovery Module Settings for more information. Devices are discovered for a specific Device Discovery module based on the seed device settings.

Global seed devices—These seed devices are common to all the Device Discovery modules you have selected for Device Discovery. The Global seed devices are aggregated to the list of module-specific seed devices if you have used any one or both of the following options to specify seed devices:

Seed devices from a file

Manual addition of seed devices options

See Options to Specify Seed Devices to understand about the options to specify seed devices.


NoteYou can specify only a Cisco device as seed device for CDP protocol.

If you have selected more than one Layer 3 Discovery module and entered different seed devices for selected modules, Device Discovery runs for all the seed devices for all selected Layer 3 Discovery modules.


This section contains:

IPv4 and IPv6 Addresses as Seed Devices

Options to Specify Seed Devices

Specifying Seed Devices in a File

Specifying Module Specific Seed Devices

Specifying Global Seed Devices

IPv4 and IPv6 Addresses as Seed Devices

You can specify hostname or IP Address as a seed device.

IPv6 Addresses can be specified as Module-specific seed devices only for the following Device Discovery modules:

CDP

Ping Sweep On IP Range

All other Discovery modules except CDP and Ping Sweep On IP Range, accept only IPv4 Addresses as seed devices.

You can configure IPv4 and/or IPv6 Addresses as Global seed devices. However, Global IPv6 seed devices are considered only by the CDP module. The rest of the Discovery modules (except CDP) do not discover devices starting from IPv6 seed devices.


Note Ping Sweep On IP Range module does not consider Global IPv4/IPv6 addresses of seed devices for Device Discovery.


Options to Specify Seed Devices

You can specify the seed devices using any or all of the following options:

Seed devices from DCR

IP Address or hostname of all devices stored in DCR are added as seed devices. This is a global option and applies to all the Device Discovery modules except the Ping Sweep On IP Range option selected from the Module Settings page.

Ensure that the DCR has at least one device before you choose this option to specify seed devices.

Hop count value of -1 (unlimited number of hops) is used for Device Discovery, by default, when you choose the seed devices from DCR.

Subsequent Device Discoveries by list of seed devices from DCR may discover more devices from the network than the initial Device Discovery cycles.

For example, consider you have scheduled a Device Discovery job with the DCR devices as seed list. The first run may discover 50 devices from the network. The subsequent runs may find devices more than 50 because of unlimited number of hops and add the newly fetched devices to DCR.

Seed devices from a file

You can enter the IP Addresses or hostname of seed devices in a file and store the input file in the client machine. In the Seed Device Settings page, you can select this input file to specify the list of seed devices for Device Discovery.

The input file should either be a text (.txt) or Comma Separated Value (.csv) file only. See Specifying Seed Devices in a File for more information.

Manual addition of seed devices

You can manually specify the IP Address or hostname of seed devices when you configure seed devices for Device Discovery. See Specifying Module Specific Seed Devices and Specifying Global Seed Devices for more information.

Specifying Seed Devices in a File

The seed devices file can contain:

Module specific seed devices

The input seed devices file for module-specific seed devices settings should contain the following in each line:

Seed Device|Number

where Seed Device is the IP Address or hostname of the device and Number is the hop count or Subnet mask.

You can specify the hop count in the input seed devices file for all Discovery modules except Ping Sweep On IP Range.

For example, the seed devices file for Device Discovery modules can contain the following seed devices:

10.77.210.220|2
10.77.210.225|3
10.77.209.205|3
10.77.200.213|2

The seed devices file for CDP module can contain IPv6 Addresses as seed devices. For example, the seed devices file for the CDP Discovery module can contain the following seed devices:

10.77.210.212|2 
EF12:0:0:0:ABCD:0:0:123|3 
10.77.209.216|3 
0:0:0:0:FFFF:33:240:20|2

You should specify Subnet mask in the input seed devices file only for Ping Sweep On IP Range module. You can include IPv4 or IPv6 Addresses as seed devices.

For example, the seed devices file for Ping Sweep On IP Range module can contain the following seed devices:

10.77.210.220|255.255.255.0 
10.77.210.225|255.255.255.0 
ABCD:EF12:0:0:0:0:0:3456|FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FF00 
10:EF:14:32:0:0:0:210|FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 

Global seed devices

The input seed devices file for global seed devices settings should contain only one IP address in each line.

For example, the seed devices file can contain the following seed devices:

10.77.210.220
10.77.210.225
10.77.209.205
10.77.200.213

Specifying Module Specific Seed Devices

To configure the seed devices for Device Discovery modules:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Either:

Click the Configure link next to the Seed Device Settings field.

If you have not configured Seed devices earlier, this link will not be available. Instead, the status will be displayed as Not Configured.

Or

a. Click the Configure button.

The Module Settings page appears.

b. Click Next.

You cannot click the Next button unless you have selected one or more Device Discovery modules. See Configuring Discovery Module Settings for more information on selecting Device Discovery modules.

The Seed Devices Settings page appears.

Step 3 Click Module Specific from the Seed devices panel at the left.

The list of modules selected in the Module Settings page is displayed.

Step 4 Select a module from the list of displayed modules.

The Seed Devices settings for the selected module appears at the right.

Step 5 Enter the name of the file with its full path in the From File field, if you want to specify the seed devices from a file.

If you do not know the path, you can click Browse and select a file from the list.

Step 6 Select Jump Router Boundaries to extend Device Discovery beyond the boundaries set by routers on your network.

This option is available only for the CDP Module.

You must be cautious about enabling Discovery to occur beyond router boundaries.

Discovery could take much longer if you do not selectively choose the boundaries by excluding specific IP addresses.

Step 7 Select Use DCR As Seed List, if you want to specify the devices in DCR as seed devices.

This option is not available for the Ping Sweep On IP Range option.

Step 8 Enter the following fields which appears only for Ping Sweep On IP Range Device Discovery module.

ICMP Retry— No of retries to connect to a device using ICMP protocol if the device is not reachable or network is down. The default is 1 retry.

ICMP Timeout— Time within which the device should send its response to the network. The default timeout is 1000 milliseconds.

InterPacket Timeout—Time delay between two ICMP packets. The default timeout is 20 milliseconds.

Step 9 Perform the following if you want to specify the seed devices manually:

a. Click Add to add a new row.

b. Enter the IP Address or hostname of the seed device in the Seed Device field.

c. Enter the number of hops in the Hop Count field.

This field is available for all Device Discovery modules except Ping Sweep On IP Range.

Hop count limits the scope of Device Discovery. Device Discovery cycle may take a longer time if you enter a larger number of hops.

d. Enter the Subnet Mask in the Subnet Mask field.

The default value is 255.255.255.255. This field is available only for Ping Sweep On IP Range Device Discovery module.

If you enter the IPv6 Address of a device as seed device, you should enter a valid IPv6 Subnet Mask in this field. For example, you can enter the Subnet Mask for IPv6 seed device as FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF.

Compressed formats of IPv6 Subnet Mask are not supported for Ping Sweep On IP Range Discovery module. For example, you cannot enter FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:: as IPv6 Subnet Mask.


Note Entering a smaller Subnet Mask value may result in a longer Discovery cycle, as Discovery has to sweep IP Addresses from more networks. For example, the Subnet Mask 255.255.0.0 has to discover more networks than the Subnet Mask 255.255.255.0.


You can also do the following:

To add more seed devices, click Add to introduce more rows and enter the seed devices.

To delete seed devices, select the checkboxes corresponding to the seed devices and click Delete.

Step 10 Click any one of the following:

Next to configure SNMP Settings. See Configuring SNMP Settings for more information.

Finish to apply the settings and exit the wizard.

The Finish button is disabled when you add the seed device settings for the first time. If disabled, click the Next button to add the SNMP settings.

You can click the Finish button only when you edit the Seed Device settings.

Cancel to exit the wizard.

Back to navigate to the previous page and change the Device Discovery settings.


Specifying Global Seed Devices

To configure the global seed devices for Device Discovery:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Either:

Click the Configure link next to the Seed Device Settings field.

If you have not configured Seed devices earlier, this link will not be available. Instead, the status will be displayed as Not Configured.

Or

a. Click the Configure button.

The Module Settings page appears.

b. Click Next.

You cannot click the Next button unless you have selected one or more Device Discovery modules. See Configuring Discovery Module Settings for more information on selecting Device Discovery modules.

The Seed Devices Settings page appears.

Step 3 Click Global from the Seed devices panel at the left.

The Seed Devices settings common for all the selected modules appears at the right.

Step 4 Enter the name of the file with its full path in the From File field, if you want to specify the seed devices from a file.

If you do not know the path, you can click Browse and select a file from your machine.

Step 5 Select Use DCR As Seed List, if you want to specify the devices in DCR as seed devices.

Step 6 Perform the following if you want to specify the seed devices manually:

a. Click Add to add a new row.

b. Enter the IP Address (IPv4 or IPv6) of the seed device in the Seed Device field.

You can also do the following:

To add more seed devices, click Add to introduce more rows and enter the seed devices.

To delete seed devices, select the checkboxes corresponding to the seed devices and click Delete.

Step 7 Click any one of the following:

Next to configure SNMP Settings. See Configuring SNMP Settings for more information.

Finish to apply the settings and exit the wizard.

The Finish button is disabled when you add the seed device settings for the first time. Then, you should click the Next button to add the SNMP settings.

You can click the Finish button only when you edit the Seed Device settings.

Cancel to exit the wizard.

Back to navigate to the previous page and change the Device Discovery settings.


Configuring SNMP Settings

You should configure SNMP credentials to run Device Discovery. See SNMP Credentials for more information on SNMP credentials.

You must configure at least one set of SNMPv2 or SNMPv3 credentials.

Multiple community strings are supported in Common Services Device Discovery. For example, you can define more than one credential set for a same target with different community strings.

To configure SNMP settings:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Either:

Click the Configure link next to the SNMP Settings field.

If you have not configured the SNMP settings earlier, this link will not be available. Instead, the status will be displayed as Not Configured.

Or

a. Click the Configure button.

The Module Settings page appears.

b. Click Next.

You cannot click the Next button unless you have selected one or more Device Discovery modules. See Configuring Discovery Module Settings for more information on selecting Device Discovery modules.

The Seed Devices Settings page appears.

c. Click Next.

You cannot click the Next button unless you have configured at least one seed device. See Configuring Seed Device Settings for more information to configure seed device settings.

The SNMP Settings page appears.

Step 3 Select the appropriate radio button to select the SNMP version.

The supported SNMP versions are:

SNMPv2

SNMPv3

Depending upon the radio button you select, the user interface displays appropriate to the SNMP versions selected. See Device Credentials for information on supported SNMP versions and SNMP credentials.

If you have selected the SNMPv2 radio button, the user interface displays an option to select SNMPv2c fallback to SNMPv1.

If you have selected the SNMPv3 radio button, the user interface displays an option to select SNMPv3 fallback to SNMPv2c.

You must configure the respective protocols to enable the fallback options.

For example, to fallback to SNMPv2c from SNMPv3, you should have configured SNMPv2c settings.

Device Discovery cycle may take a longer time to complete if you have enabled the fallback options.

Step 4 Click Add to configure SNMP Settings.

If you have configured the SNMP Settings earlier, select a row in the SNMP Settings page and click Edit to edit the SNMP settings.

A popup window appears with the following fields, if you have selected SNMPv2:

Fields for SNMPv2 Settings
Description

Target

Denotes the target device.

Enter the IP Address of the target device. You can also use wildcard characters to specify the target device.

You can enter a IPv6 Address in this field if you have selected CDP or Ping Sweep On IP Range or both as Discovery modules.

You should enter only the IPv4 Address of the target device for all other Discovery modules except CDP and Ping Sweep On IP Range.

You can also use wildcard characters to specify the target device.

Examples for target device:

10. *.[210-220].*

ABCD:EF12:*:*:*:*:*:*

2001:410:1:207:ECFF:FEB9:[1850-1855]

Entering a target device is mandatory.

Read Community

Denotes the SNMP Read Community string of the device.

Entering the read community string is mandatory.

Timeout

Denotes the time period after which the SNMP query times out.

You must enter the timeout value in seconds. The default value of timeout is 3 seconds.

The Device Discovery time may increase if you specify a larger value for timeout.

The timeout doubles for every retry.

For example, if the timeout value is 5 seconds and number of retries is 3:

Common Services Device Discovery waits for 5 seconds to get the response from the device for the first try, 10 seconds for second retry, and 20 seconds for last retry.

Common Services Device Discovery stops querying the device after 3 retries and the time lapses by 35 seconds.

Retries

Denotes the number of attempts made to query the device.

You can specify any value between 0 to 8 as number of retries.

The default number of retries is 2.

Comments

You can enter any remarks in this field.


A popup window appears with the following fields, if you have selected SNMPv3:

Fields for SNMPv3 Settings
Description

Target

Denotes the target device.

Enter the IP Address of the target device. You can also use wildcard characters to specify the target device.

You can enter a IPv6 Address in this field if you have selected CDP, or Ping Sweep On IP Range, or both as Discovery modules.

You should enter only the IPv4 Address of the target device for all other Discovery modules, except CDP and Ping Sweep On IP Range.

You can also use wildcard characters to specify the target device.

Examples for target device:

10. *.[210-220].*

ABCD:EF12:*:*:*:*:*:*

2001:410:1:207:ECFF:FEB9:[1850-1855]

Entering a target device is mandatory.

User Name

SNMPv3 username used to access the device.

Entering a SNMPv3 username is mandatory for all security levels.

Auth Password

SNMP V3 authentication password used to operate the devices in AuthNoPriv and AuthPriv modes.

Auth Algorithm

SNMP V3 authentication algorithm used in AuthNoPriv and AuthPriv modes. The authentication algorithm can be MD5 or SHA-1.

Privacy Password

SNMP V3 privacy password of the device in AuthPriv mode.

Privacy Algorithm

SNMP V3 privacy algorithm used in AuthPriv mode. The privacy algorithm can be DES, 3DES, AES128, AES192, and AES256.

Timeout

Denotes the time period after which the SNMP query times out.

You must enter the timeout value in seconds. The default value of timeout is 3 seconds.

The Device Discovery time may increase if you specify a larger value for timeout.

The timeout doubles for every retry.

For example, if the timeout value is 5 seconds and number of retries is 3:

Common Services Device Discovery waits for 5 seconds to get the response from the device for the first try, 10 seconds for second retry, and 20 seconds for last retry.

Common Services Device Discovery stops querying the device after 3 retries and the time lapses by 35 seconds.

Retries

Denotes the number of attempts made to query the device.

You can specify any value between 0 to 8 as number of retries.

The default number of retries is 2.

Comments

You can enter any remarks in this field.


See SNMP Credentials for more information on SNMPv3 credentials and security levels.

Step 5 Click Ok to close the popup window and return to the SNMP Settings page.

Step 6 Use the checkbox to select a SNMP credential set in the SNMP Settings page and click:

Edit to edit the SNMP settings.

Delete to delete the SNMP settings.

The Delete Confirmation dialog box appears. You should click OK to proceed.

You can also select multiple records and delete them.

Step 7 Click any one of the following:

Next to configure Discovery Filter Settings. See Configuring Discovery Filter Settings for more information.

Finish to apply the settings and exit the wizard.

The Finish button is disabled when you configure the SNMP Settings for the first time. Then, you should click the Next button to configure Device Discovery filter settings.

You can click the Finish button only when you edit the SNMP settings.

Cancel to exit the wizard.

Back to navigate to the previous pages and change the Device Discovery settings.


Configuring Discovery Filter Settings

Filters in Common Services Device Discovery allow to include or exclude devices from the network based on the following:

IP Address

DNS Domain

SysObjectID

SysLocation

This section contains:

Important Notes on Configuring Discovery Filters

Patterns in IP Address Filter Rules

Regular Expressions in Filter Rules

Examples of Regular Expressions in Filter Rules

Specifying Discovery Filter Settings

Important Notes on Configuring Discovery Filters

Read the following notes, before you configure Device Discovery filters:

You can either include or exclude devices based on the filters you have set. You cannot do both.

You can configure only one filter type for a Device Discovery job. For example, if you want to configure IP Address based filters, you cannot configure other filter types. Even if you configure more filters, the filter applied at the last will be considered. The others will be ignored.

Regular expressions are supported for filter types based on DNS Domain, SysObjectID, and SysLocation. IP Address based filter types do not support regular expressions. See Regular Expressions in Filter Rules for more information.

You can include patterns when creating rules for IP Address filters. See Patterns in IP Address Filter Rules for more information.

The expressions in filter rules are case sensitive.

Patterns in IP Address Filter Rules

When you define a Device Discovery inclusion or exclusion filters based on IP Address, you should follow these guidelines:

Use the standard IPv4 Address format (4 octets separated by periods) for Discovery modules except CDP and Ping Sweep On IP Range.

Use IPv4 or IPV6 Address format for CDP and Ping Sweep On IP Range Discovery modules.

Any octet can have one of the following:

Any Octet can have.
Examples

Numbers between:

0 to 255 for an IPv4 Address

0 to FFFF for an IPv6 Address

10.77.240.225 (IPv4 Address)

001:DB8:0:2AA:FF:C0A8:0:640A (IPv6 Address)

Asterisk (*) as wildcard denoting all numbers from 0 to 255 in an IPv4 Address and 0 to FFFF in an IPv6 Address.

10.*.*.240 (IPv4 Address)

001:*:0:2AA:FF:*:*:* (IPv6 Address)

Range of numbers in the [StartingNumber-EndingNumber] format, where:

StartingNumber and EndingNumber should be numbers between 0 to 255 in an IPv4 Address and 0 to FFFF in an IPv6 Address

StartingNumber should not be greater than or equal to EndingNumber

10.77.[220-240].[210-220] (IPv4 Address)

001:DB8:0:[EE-FF]:FF:C0A8:0:[100-AAF] (IPv6 Address)

The following are the invalid examples of IP Address range:

10.77.[250-200].221

10.77.200-250.221

001:DB8:0:[EEEE-FF]:FF:C0A8:0:[D-5]

001:DB8:0:AA-BB:FF:C0A8:0:[D-5]


The octets in an IP Address filter can also contain the combination of wildcard characters and range of numbers. Some examples of IP Address filter combinations include:

10. 77.[210-230].*

10.77.*.[110-210]

001:DB8:*:*:FF:[C0A-DD8]:0:[5-D]

[10-20]:[10-20]:[A-F]:2:4:*:*:*

.When you define more than one rule for IP Address filter, these rules work together.

For example, if you specify 10.77.*.* and 10.77.210.* as two rules for IP Address inclusion filter, then all the devices matching 10.77.*.* is discovered. The rule 10.77.210.* will never be applied.

Regular Expressions in Filter Rules

Discovery filters based on DNS Domain, SysObjectID, and SysLocation supports regular expressions.

You can use the following characters in regular expressions:

Character
Description
Purpose

.

Period

Matches any character

(

Opening parenthesis

Marks the beginning of a group of matched characters

)

Closing parenthesis

Marks the end of a group of matched characters

*

Asterisk

Matches zero or more occurrences of a regular expression specified earlier

+

Plus character

Matches one or more occurrences of a regular expression specified earlier

\

Trailing slash

Identifies a special character within a regular expression


Examples of Regular Expressions in Filter Rules

SysObjectID based filter rules

To include all devices with SysObjectID starting with .1.3.6.1.4. , you must enter a regular expression \.1\.3\.6\.1\.4\.(.)* as an inclusion filter rule.

To exclude all devices with SysObjectID starting with .1.3.6.1.4.n., where n is any number, you must enter a regular expression \.1\.3\.6\.1\.4\.(.)+ as an exclusion filter rule.

DNS Domain based filter rules

To include all devices whose domain names end with .cisco.com, you must enter a regular expression (.)+\.cisco\.com as an inclusion filter rule.

To exclude all devices whose domain names contain .cisco., you must enter a regular expression (.)+\.cisco\.(.)+ as an exclusion filter rule.

SysLocation based filter rules

To include all devices whose SysLocation name starts with Che, you must enter a regular expression Che(.)* as an inclusion filter rule.

To exclude all devices whose SysLocation name starts with SAN, you must enter a regular expression SAN(.)* as an exclusion filter rule.

Specifying Discovery Filter Settings

To configure Device Discovery filter settings:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Either:

Click the Configure link next to the Filter Settings field.

If you have not configured the Filter settings earlier, this link will not be available. Instead, the status will be displayed as Not Configured.

Or

a. Click the Configure button.

The Module Settings page appears.

b. Click Next.

You cannot click the Next button unless you have selected one or more Device Discovery modules. See Configuring Discovery Module Settings for more information on selecting Device Discovery modules.

The Seed Devices Settings page appears.

c. Click Next.

You cannot click the Next button unless you have configured at least one seed device. See Configuring Seed Device Settings for more information to configure seed device settings.

The SNMP Settings page appears.

d. Click Next.

You cannot click the Next button unless you have configured at least one set of SNMP credentials. See Configuring SNMP Settings for more information to configure SNMP settings.

The Filter Settings page appears.

Step 3 Select a filter from Use Filter drop-down list box.

The supported filters are:

IP Address

DNS Domain

SysObjectID

SysLocation

Step 4 Select either Include Devices or Exclude Devices.

Step 5 Click Add to introduce a row.

Step 6 Enter a value in the row based on the filter type you have selected in the Use Filter drop-down list box.

See Patterns in IP Address Filter Rules and Important Notes on Configuring Discovery Filters before you enter a value for the filter rule.

If you have selected a SysObjectID filter, you can either:

Enter a value in the text field.

Or

Click Select to open the Device Type Selector and select a sysObjectID for the available devices.

You can select only one sysObjectID at a time from the Device Type Selector.

Step 7 Click Add to introduce another row to define another rule.

To delete a rule, select the corresponding row and click Delete.

Step 8 Click any one of the following:

Next to configure Global Discovery Settings. See Configuring Global Discovery Settings for more information.

Finish to apply the settings and exit the wizard.

Cancel to exit the wizard.

Back to navigate to the previous pages and change the Device Discovery settings.


Configuring Global Discovery Settings

Common Services Device Discovery supports the Jump Router Boundaries option by default. The Jump Router Boundaries option extends Device Discovery beyond the boundaries set by routers within the network.

Device Discovery may take longer if you do not selectively choose the boundaries by excluding specific IP Addresses.

You can configure the other Device Discovery settings in the Global Discovery Settings page.

To configure the Global Device Discovery settings:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Either:

Click the Configure link next to the Global Settings field.

If you have not configured the Global settings earlier, this link will not be available. Instead, the status will be displayed as Not Configured.

Or

a. Click the Configure button.

The Module Settings page appears.

b. Click Next.

You cannot click the Next button unless you have selected one or more Device Discovery modules. See Configuring Discovery Module Settings for more information on selecting Device Discovery modules.

The Seed Devices Settings page appears.

c. Click Next.

You cannot click the Next button unless you have configured at least one seed device. See Configuring Seed Device Settings for more information to configure seed device settings.

The SNMP Settings page appears.

d. Click Next.

You cannot click the Next button unless you have configured at least one set of SNMP credentials. See Configuring SNMP Settings for more information to configure SNMP settings.

The Filter Settings page appears.

e. Click Next.

The Global Settings page appears.

Step 3 Enter the values in the following fields in the Global Settings page.

Global Settings
Description

Preferred DCR Display Name

You can set the display name of the discovered devices in DCR as any one of the following:

IP Address—Preferred management IP Address of the device.

Hostname—DNS resolvable name of preferred management IP Address.

FQDN — Fully Qualified Domain Name consisting a hostname and a domain name.

Select the appropriate radio button in the Preferred DCR Display Name panel.

The hostname of the device is set as the preferred DCR display name by default.

When you select the preferred management IP Address as None, the hostname of the device is added as the display name in DCR.

Update DCR Display Name

Select this checkbox if you want to update the display name of the devices that already exist in DCR, in the next Device Discovery cycle.

For example, consider a device which is discovered by Common Services Device Discovery, exists in DCR with the display name as its hostname.

If you change the Preferred DCR Display Name as IP Address for the next Device Discovery, Common Services Device Discovery will update the display name of the device as its IP Address in DCR after the next Device Discovery.

The display name of devices are not overwritten in the future Device Discovery cycles if you have not selected this option.

Preferred Management IP

Select one of the following options as preferred Management IP address of the device:

Use LoopBack Address

Select this option to manage a device in the address assigned to the loopback interface.

If there are multiple loopback IP addresses, the highest loopback address is used to manage the device.

Resolve By Name

Common Services Device Discovery uses Domain Name Services (DNS), if available, to perform device name lookups.

Select this option to do name resolution using the device name.

Resolve By SysName

Select this option to contact the DNS Server to pick up the device hostname.

None

Select this option if you do not want to manage the devices with preferred management IP Address.

When you select this option, the devices are added in DCR with their IP Addresses.

The Resolve By Name option is the default option for this field.

When the preferred management IP Address is set to None, the dual stack devices discovered from the network, are added to DCR with the IP Address available on the neighbor device lists.

Select a Default Credential Set

Select a default credential set name or select Policy configuration from the drop-down list box, if you want to add the discovered devices with the default credentials in DCR.

See Configuring Default Credential Sets and Configuring Default Credential Set Policy for more information on creating default credential sets and policies.

E-mail

Enter a valid e-mail ID in this field.

Multiple e-mail IDs are also allowed in this field.

The system uses the e-mail ID to notify about:

Status of immediate or scheduled Device Discovery jobs upon their completion.

New Device Discovery schedules.

Stopped Device Discovery jobs


Warning There may be a problem in sending e-mails when you have enabled virus scanner in the CiscoWorks Server.

Add Discovered Devices to a Group

Select this checkbox if you want to add the discovered devices to a group.

You can later select the devices in the group you have configured and update device credentials.

Group Name

Displays the name of the group if you have selected already.

You can also change the group name.

Click Select to open the Select a Group popup window. In this window, you can either:

Specify a new group name

or

Select an existing group from the list of user-defined groups using the Group Selector.

At the end of Device Discovery cycle, all reachable devices discovered will be added to the group you have selected.

However, all reachable devices discovered will be added only to All Devices group if:

The Grouping Server is down

CiscoWorks server is in DCR Slave mode


Step 4 Click any one of the following:

Next to view the summary of Device Discovery settings in the Device Discovery Settings page.

Back to navigate to the previous pages and change the Device Discovery settings.

Finish to save the settings and exit the Discovery Settings wizard.

Cancel to exit the wizard.


Viewing Discovery Settings Summary

The Discovery Settings wizard displays a summary of following settings you have configured:

Module Settings

Seed Device Settings

SNMP Settings

Filter Settings

Global Settings

To view the summary of Device Discovery settings:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click Configure to enter into the Discovery Settings wizard.

Step 3 Configure one or more of the following settings:

Module Settings. See Configuring Discovery Module Settings for information.

Seed Device Settings. See Configuring Seed Device Settings for information.

SNMP Settings. See Configuring SNMP Settings for information.

Filter Settings. See Configuring Discovery Filter Settings for information.

Global Settings. See Configuring Global Discovery Settings for information.

Step 4 Click Next.

The Discovery Settings Summary page appears with the summary of Device Discovery settings.

Step 5 Click any one of the following:

Back to navigate to the previous pages and change the Device Discovery settings.

Finish to apply the settings and exit the Discovery Settings wizard.

Cancel to exit the Discovery Settings wizard.


Viewing Device Discovery Settings

To view the summary of Device Discovery settings, go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears with the following fields:

Field
Description

Module Settings

Displays a Configure link that leads to Module Settings page.

See Configuring Discovery Module Settings for more information.

Seed Device Settings

Displays the status as Not Configured for the first time.

If you have configured Seed Device Settings earlier, this field displays a link by name Configure.

Clicking Configure leads to Seed Devices Settings page.

See Configuring Seed Device Settings for more information.

SNMP Settings

Displays the status as Not Configured for the first time.

If you have configured Seed Device Settings earlier, this field displays a link by name Configure.

Clicking Configure leads to SNMP Settings page.

See Configuring SNMP Settings for more information.

Filter Settings

Displays the status as Not Configured for the first time.

If you have configured Filter Settings earlier, this field displays a link by name Configure.

Clicking Configure leads to Filter Settings page.

See Configuring Discovery Filter Settings for more information.

Global Settings

Displays the status as Not Configured for the first time.

If you have configured Global Settings earlier, this field displays a link by name Configure.

Clicking Configure leads to Global Settings page.

See Configuring Global Discovery Settings for more information.

Modules Selected

Displays the Device Discovery modules which you have selected in the Module Settings page, separated by commas.

Use DCR as Seed List

Displays:

Yes if you have selected this option to specify seed devices.

No if you have not selected this option.

Preferred Management IP

Displays the preferred management IP address name you have selected in the Global Settings page.

Preferred DCR Display Name

Displays the preferred DCR display name you have selected in the Global Settings page.

Update DCR Display Name

Displays:

Yes if you have selected this option to update the display name in DCR after the next Device Discovery cycle.

No if you have not selected this option.

Use DCR Default Credentials

Displays:

Yes if you have selected to use the default credentials.

No if you have not selected to use the default credentials.

E-mail

Displays the e-mail address you have configured in the Global Settings page.

See Configuring Global Discovery Settings for more information on E-mail option.

Add Discovered Devices to a Group

Displays:

Yes if you have selected to add discovered devices to a group.

No if you have not selected to add discovered devices to a group.

Selected Group Name

Displays the name of the group selected to add discovered devices at the end of a Device Discovery.

The group name selected will be displayed in the format
/User Defined Groups/Group Name in a single or multi-server setup.

Configure (button)

Allows you to enter into Discovery Settings wizard and configure Device Discovery settings.

See Configuring Device Discovery Settings for more information.

Start Discovery (button)

The Device Discovery starts as an immediate job.

Once the Device Discovery is started and running, the Start Discovery button is changed to Stop Discovery.

See Starting Device Discovery for more information.


Starting Device Discovery

Before you start Device Discovery, ensure that you have configured all the required settings.

To start Device Discovery:


Step 1 Do any one of the following:

Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery.

The Device Discovery Summary page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Or

Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Settings.

The Discovery Settings Summary page appears.

Step 2 Click Start Discovery.

Device Discovery starts as an immediate job.

You can also view the status of Device Discovery from CS Job Browser page. To go to Common Services Job Browser page, click Server > Admin > Job Browser from the Common Services application.


After Device Discovery has started running, the Start Discovery button is changed to Stop Discovery.

You can stop Device Discovery by clicking Stop Discovery. E-mail notification is sent to the e-mail address configured on stopping the Device Discovery job. You can also stop Device Discovery jobs from CS Job Browser page.

Stopping Device Discovery may take a while to terminate all the threads and CSDiscovery process. Hence the Stop Discovery button also takes a while to change to Start Discovery.

Scheduling Device Discovery

You can schedule one or more Device Discovery jobs in Common Services. The optimum Device Discovery schedule depends on the size of network and changes in the network.

Before you schedule a Device Discovery job, read the following:

Only one Device Discovery job can run at a time.

When you schedule Device Discovery jobs, ensure that the schedule time does not overlap each other. Otherwise, one of the Device Discovery jobs may fail.

You should configure the Device Discovery settings before you schedule a Device Discovery job. Otherwise, the system displays an error message when you try add a schedule. However, you can edit the Device Discovery settings for the scheduled job later.

From the Discovery Schedule page, you can:

Add a Device Discovery schedule. See Adding Device Discovery Schedule for details.

Modify a Device Discovery schedule. See Editing Device Discovery Schedule for details.

Delete a Device Discovery schedule. See Deleting Device Discovery Schedule for details.

Navigate to CS Job Browser page. See Viewing the Status of Device Discovery Schedules for details.

Maintain multiple Device Discovery Settings for multiple schedules. See Maintaining Multiple Discovery Settings for Multiple Scheduled Jobs for details.

View the Discovery Settings configured for the selected Device Discovery Schedule. See Viewing Discovery Settings for Selected Discovery Schedule for details.

Edit the Discovery Settings for the selected Device Discovery Schedule. See Viewing Discovery Settings for Selected Discovery Schedule for details.

Adding Device Discovery Schedule

To add a Device Discovery schedule:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Schedule.

The Discovery Schedule page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click Add.

The Add Discovery Schedule popup window appears.

The Device Discovery schedules are dependent of Device Discovery Settings. You cannot click the Add button if you have not configured Device Discovery Settings.

The Add button is disabled on a fresh installation of Common Services in CiscoWorks Server.

Step 3 Select a value in the Hour and Min drop-down lists to specify the time when the Device Discovery should start.

You should specify the time in 24-hour format.

Step 4 Select the days of the week on which the Device Discovery is to be scheduled, in the Recurrence Pattern field.

Step 5 Enter a description in the Job Description field. This is optional.

You cannot edit the description entered in this field later.

Step 6 Click Schedule.

The Device Discovery schedule is created and assigned with a job ID. Email notification is sent to the email address you have configured in the Discovery Settings wizard.


Editing Device Discovery Schedule

To edit a Device Discovery schedule:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Schedule.

The Discovery Schedule page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select a Device Discovery schedule from the list.

Step 3 Click Edit.

The Edit Discovery Schedule popup window appears.

Step 4 Edit the values in the Hour and Min drop-down list, if required.

Step 5 Select the days of the week on which the Device Discovery is to be scheduled, in the Recurrence Pattern field.

Step 6 Click Schedule to save the changes.


Deleting Device Discovery Schedule

To delete a Device Discovery schedule:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Schedule.

The Discovery Schedule page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select a Device Discovery schedule from the list.

Step 3 Click Delete.

The Delete Confirmation dialog box appears.

Step 4 Click OK.

The selected Device Discovery schedule is deleted from the list of schedules.


Caution Before you remove a Device Discovery schedule, ensure if it is completed. Otherwise, if the Device Discovery job is running, deleting the schedule will stop the job first and then will remove it.

Viewing the Status of Device Discovery Schedules

You can navigate to Common Services Job Browser page from the Discovery Schedule page to view the latest status of Device Discovery jobs.

To do so:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Schedule.

The Discovery Schedule page appears.

Step 2 Click the link provided at the bottom of the page.

The Job Browser page displays the Device Discovery jobs.


Maintaining Multiple Discovery Settings for Multiple Scheduled Jobs

Before creating a scheduled job, you must configure the Device Discovery settings. You can edit the settings for scheduled jobs later and maintain different settings for different jobs.

To view the existing Device Discovery settings for a selected job, see Viewing Discovery Settings for Selected Discovery Schedule.

To edit the Device Discovery settings for a selected job, see Editing Discovery Settings for Selected Discovery Schedule.

Viewing Discovery Settings for Selected Discovery Schedule

You can view the Discovery settings used to create the selected Discovery Schedule job.

To do so:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Schedule.

The Discovery Schedule page appears.

Step 2 Select a Discovery schedule from the list.

Step 3 Click View Settings.

The View Discovery Settings dialog box appears.

Step 4 Click OK to return to the Discovery Schedule page after you have view the schedule.


Editing Discovery Settings for Selected Discovery Schedule

You can edit the Discovery Settings used to create the selected Discovery Schedule job.

To do so:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Schedule.

The Discovery Schedule page appears.

Step 2 Select a Discovery schedule from the list.

Step 3 Click Edit Settings.

The Module Settings page of Discovery Settings wizard appears.

Step 4 Edit the required module settings and click Next.

The Seed Devices Settings page appears.

Step 5 Edit the required seed devices settings and click Next. If you do not want to proceed further, click Finish.

The SNMP Settings page appears.

Step 6 Edit the SNMP settings and click Next. If you do not want to proceed further, click Finish.

The Filter Settings page appears.

Step 7 Edit the Filter settings and click Next. If you do not want to proceed further, click Finish.

The Global Settings page appears.

Step 8 Edit the Global settings and click Next. If you do not want to proceed further, click Finish.

The Discovery Settings Summary page appears.

Step 9 Click Finish to return to Discovery Schedule page.


Viewing Device Discovery Details

You can view the details of recently completed Device Discovery and the status of currently running Device Discovery job in Common Services.

This section contains the following:

Viewing Device Discovery Summary

Total Devices Discovered

Reachable Devices

Unreachable Devices

Devices Added to DCR

Devices Updated to DCR

Viewing Device Discovery Summary

To view a summary of recently completed Device Discovery, go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery.

The Device Discovery Summary page appears with the following fields:

Field
Description

Discovery Status

Displays the current status of the Device Discovery job. The status of the Device Discovery job could be any of the following:

Recent Discovery Information Not Found—This status is displayed:

After a fresh installation of Common Services.

If no immediate or scheduled backup Device Discovery jobs are available.

If the recent Device Discovery job fails.

Initializing—This status is displayed immediately after you start Device Discovery.

At the start of Device Discovery, a URN is published to get the latest status of Device Discovery.

If there are any errors in publishing the URN or in receiving the latest Device Discovery summary, Device Discovery status may not be updated.

Running—This status is displayed when the Device Discovery is running.

Stopping—This status is displayed after the completion of Device Discovery and before the CSDiscovery process is stopped.

Completed—This status is displayed when:

The last Device Discovery job is completed successfully.

The Device Discovery is stopped.

Discovery Start Time

Displays the starting date and time of Device Discovery.

The date is displayed in Long Date format.

For example, the start time is displayed as
Thu Aug 09 04:35:34 IST 2007.

Discovery End Time

Displays the completion date and time of Device Discovery.

The Device Discovery time may differ across the network depending on the size and the changes in the network.

Total Devices Discovered

Displays the total number of devices discovered by the recent Device Discovery job.

When you click the number displayed, the Total Devices Discovered window opens. See Total Devices Discovered for more information.

Reachable Devices

Displays the number of devices which are SNMP reachable.

When you click the number displayed, the All Reachable Devices window opens. See Reachable Devices for more information.

Unreachable Devices

Displays the number of devices which are not SNMP reachable.

When you click the number displayed, the All Unreachable Devices details opens. See Unreachable Devices for more information.

Devices Newly Added to DCR

Displays the number of devices that are newly added to DCR by Common Services Device Discovery.

When you click the number displayed, the Devices Added to DCR window opens. See Devices Added to DCR for more information.

Devices Updated to DCR

Displays the number of devices that are updated in DCR by Common Services Device Discovery.

When you click the number displayed, the Devices Updated to DCR Devices window opens. See Devices Updated to DCR for more information.


You can use the refresh icon provided in the Device Discovery Summary page to view the latest Device Discovery status.

Total Devices Discovered

You can view the details of all devices that are discovered by Common Services Device Discovery.

See Activities Performed From Device Discovery Details Windows for other activities you can perform from the Total Devices Discovered details window.

To see the details of all the discovered devices:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery.

The Device Discovery Summary page appears.

Step 2 Click the number displayed in the Total Devices Discovered field.

The Total Devices Discovered popup window opens with the following details:

Field
Description

IP Address

Preferred management IP address of the device.

The IP address can be any of the following depending upon your Global Device Discovery settings:

Loopback address

Address resolved from DNS lookup

Address resolved from Sysname

System Name

System name of the device.

SysObjectID

sysObjectID value.

Found By Modules

Displays the name of the Device Discovery modules that discover this device during a Device Discovery cycle.

For example, if a device is discovered by CDP and ARP modules, this field displays CDP, ARP.

This field displays the value as System if the device is discovered by the System Device Discovery module.

Neighbors

Displays the IP Addresses of the neighboring devices separated by commas.

The neighbors are displayed only when devices are discovered by Cisco Discovery Protocol module. Otherwise, this field is blank.

Status

Displays the status of the device as either Reachable or Unreachable.



Reachable Devices

You can view the details of all reachable devices that are discovered by Common Services Device Discovery.

See Activities Performed From Device Discovery Details Windows for other activities you can perform from the Reachable Devices details window.

To see the details of the reachable devices:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery.

The Device Discovery Summary page appears.

Step 2 Click the number displayed in the Reachable Devices field.

The Reachable Devices popup window opens with the following details:

Field
Description

IP Address

Management IP address of the device returned from Device Discovery.

System Name

System name of the device.

SysObjectID

sysObjectID value.

Found By Modules

Displays the name of the Device Discovery modules that discover this device during a Device Discovery cycle.

For example, if a device is discovered by CDP and ARP modules, this field displays CDP, ARP.

This field displays the value as System if the device is discovered by the System Device Discovery module.

Neighbors

Displays the IP Addresses of the neighboring devices separated by commas.

The neighbors are displayed only when devices are discovered by Cisco Discovery Protocol module. Otherwise, this field is blank.

Status

Displays the status of the device as Reachable.



Unreachable Devices

You can view the details of all devices that are not reachable by Common Services Device Discovery.

See Activities Performed From Device Discovery Details Windows for other activities you can perform from the Unreachable Devices details window.

To see the details of the unreachable devices:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery.

The Device Discovery Summary page appears.

Step 2 Click the number displayed in the Unreachable Devices field.

The Unreachable Devices popup window opens with the following details:

Field
Description

IP Address

Management IP address of the device.

System Name

System name of the device. This value is blank in the report for all unreachable devices.

SysObjectID

sysObjectID value. This value is blank in the report for all unreachable devices.

Found By Modules

Displays the name of the Device Discovery modules that are used to discover this device during a Device Discovery cycle.

This field displays the value as System if the device is discovered by the System Device Discovery module.

Status

Displays the status of the device as Unreachable.



Devices Added to DCR

You can view the details of devices that are added to DCR by Common Services Device Discovery.

See Activities Performed From Device Discovery Details Windows for other activities you can perform from the Devices Added to DCR details window.

To see the details of devices that are newly added to DCR:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery.

The Device Discovery Summary page appears.

Step 2 Click the number displayed in the Devices newly Added to DCR field.

The Devices Added to DCR popup window displays the following details:

Field
Description

IP Address

Management IP address of the device returned from Device Discovery.

Display Name

Display name of the device.

The display name can be any of the following depending upon your Global Device Discovery settings:

IP Address

Hostname

Fully Qualified Domain Name

Hostname

Hostname of the device. DCR does a DNS lookup to update the hostname of devices.

Domain Name

Domain name to which the device belongs.

SysObjectID

sysObjectID value.

Device Type

Category, Series, and Model information of devices in DCR.

For example, Device Type displays Cisco 3000 Router, Cisco Catalyst 8150 CSR Switch and so on.



Devices Updated to DCR

You can view the details of devices that are updated in DCR by Common Services Device Discovery.

See Activities Performed From Device Discovery Details Windows for other activities you can perform from the Devices Added to DCR details window.

To see the details of devices that are updated in DCR:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery.

The Device Discovery Summary page appears.

Step 2 Click the number displayed in the Devices Updated to DCR field.

The Devices Updated to DCR popup window opens with the following details:

Field
Description

IP Address

Management IP address of the device.

The IP address can be any of the following depending upon your Global Device Discovery settings:

Loopback address

Address resolved from DNS lookup

Address resolved from Sysname

Display Name

Display name of the device.

The display name can be any of the following depending upon your Global Device Discovery settings:

IP Address

Hostname

Hostname + Domain Name

Hostname

Hostname of the device.

Domain Name

Domain name to which the device belongs.

SysObjectID

sysObjectID value.

Device Type

Category, Series, and Model information of devices in DCR.

For example, Device Type displays Cisco 3000 Router, Cisco Catalyst 8150 CSR Switch and so on.



Activities Performed From Device Discovery Details Windows

You can perform the following activities from the Device Discovery details window:

Sort the records in ascending order or descending order of any fields.

Use the navigation buttons provided to navigate between the pages, if the Device Discovery details window has more records.

View the Device Discovery details in a printer-friendly format.

Export the Device Discovery details to a file of CSV or PDF format.

Set the number of records to be displayed per page, as desired. You can set the number as 20, 50, 100, or 500.

To export the Device Discovery details window:


Step 1 Click the Export button on top-right of the window.

The Exporting Report dialog box opens.

Step 2 Select the required radio button to export the report either in PDF or in CSV format.

Step 3 Enter the numbers of rows you want to export.

For example, if you want to export the first 10 rows and fourteenth row, you should enter 1-10,14 in the text field.

Step 4 Click OK.


Configuring Discovery Logging

You can enable the debugging option for components or modules of Common Services Device Discovery without restarting the services. When you enable the debugging option for a selected component, the log levels in the csdiscovery.properties file is changed to DEBUG and the debug messages are recorded into the CSDiscovery.log file.

You can only enable or disable the debugging option. You cannot choose to set different log levels such as INFO,WARNING, FATAL and ERROR.

The following Device Discovery components can be enabled or disabled for debugging:

Discovery Framework

Data Collector

Discovery Util

System Module

Cluster Moduler

ARP Module

AUS Module

Credential Module

Neighbor Module

Pingsweep Module

RouterPeer Module

RT Module

CSDiscoveryAdaptor

The debugging option for all the Device Discovery components is disabled by default.

To enable the debugging option for the Common Services Device Discovery components:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Discovery > Discovery Logging Configuration.

The Discovery Logging Configuration page appears.

If LMS Portal is installed on CiscoWorks Server, you can also navigate to this page from the LMS Portal home page.

Step 2 Select one or more Discovery modules or components from the Disabled Modules list box.

Step 3 Click Add to add the components to the Enabled Modules list box.

Step 4 Click Apply.

Debugging is enabled for all the components listed in the Enabled Modules list box. The changes will come into effect after 60 seconds.


To disable the debugging option, move the selected component from the Enabled Modules list box to Disabled Modules list box using the Remove button.

Managing Devices

The Device Management option in Device and Credentials Administration helps you manage the list of devices and their credentials. Device Management helps you in:

Adding Devices

Deleting Devices

Editing Device Credentials

Editing Device Identity

Importing Devices and Credentials

Exporting Devices and Credentials

Excluding Devices

Viewing Devices List

You can use:

Device Selector to search and select the devices for performing device management tasks. See Configuring Device Selector for more information.

Refresh button to refresh and view the updated device information in local mode. In ACS mode, the refresh button helps to update the device cache and synchronize with ACS server. You need not log into CiscoWorks Server again to view the updated device information when in ACS mode.


Note The Device Management UI is not visible in a DCR Slave machine.


Adding Devices

You can use this feature to add devices, device properties or attributes, and device credentials to the Device and Credential Admin.

You should have the required privileges to add devices to DCR. Your login determines whether you can use this option.

To add devices to the device list:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Management.

The Device Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

The Device Management user interface helps you perform operations on Standard devices, Cluster Managed devices and Auto Update devices. Operations on Auto Update Servers can be performed only at the Auto Update Server Management user interface.

The Device Summary window displays the devices and groups in DCR Administration.

Step 2 Click Add.

The Device Properties page appears. The Device Information dialog box provides four device management types:

Standard Type

Auto Update Type

Cluster Managed Type

CNS Managed Type

You can add more than one device at a time. However, you cannot add devices of different management types.


Standard Type

To add devices and credentials using Standard type:


Step 1 Select Standard from the Select A Management Type drop-down list box.

Step 2 Enter the Device IP address, the host name, domain name, the device display name, and the device type in the corresponding fields.

To select the Domain Name and the DeviceType, click Select and choose from the list.

DCR uses a device record to represent a Cluster. A Cluster can be added in the Standard Management option by selecting the Device Type field as Cisco Cluster Management Suite.

DSBU Clusters added this way, can then be selected in Cluster Managed Type, for the field Cluster.

You can add a Cisco CNS Configuration Engine under the Standard Management type by selecting the Device Type field as Cisco CNS Configuration Engine. The Cisco CNS Configuration Engine added under the Standard type can be selected in the CNS Server field in the CNS Managed type.

After a Cisco CNS Configuration Engine or DSBU Cluster is successfully added, it will appear under
Network Management > Other Network Management Products > Cisco CNS Configuration Engine/Cisco Cluster Management Suite, in the Device Selector.

Step 3 Click Add to List

The device is added to the Added Device List in the window.

To remove the device from the Device List, select the device and click Remove from List.

Step 4 Select either Policy configuration or a default credential set in the Select a Default Credential Set drop-down list box, if you want to use the default credentials to access the devices.

You can select a default credential set only when you have configured at least one default credential set. See Configuring Default Credentials for more information.

If you have opted to use the default credentials, the primary credentials, secondary credentials,
Rx Boot Mode credentials, SNMP credentials, and HTTP credentials will be populated with the corresponding default values. You can click Finish to add the devices with default credentials or proceed further to make changes to the value of the credentials.

If you do not want to use the default credentials, select No Default in the Select a Default Credential Set drop-down list box.

Step 5 Click Next.

The Standard Credentials page appears.

Step 6 Enter the following credentials in the Standard Credentials page.

Primary Credentials (Username, Password, Enable Password)

Secondary Credentials (Username, Password, Enable Password)

Rx Boot Mode Credentials (Username, Password)

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

Re-enter the value of the password in Verify field.

If you do not want to proceed, click Finish.

Step 7 Click Next.

The SNMP Credentials page appears.

Step 8 Enter the following credentials in the SNMP Credentials page:

SNMPv2c/SNMPv1 Credentials (Read-Only Community String, Read-Write Community String)

SNMPv3 Credentials (Mode, Username, Authentication Password, Authentication Algorithm, Privacy Password, Privacy Algorithm, Engine ID)

You must select the SNMPv3 checkbox to enter the SNMPv3 Credentials. By default, these fields are disabled. When the SNMPv3 checkbox is selected, the default SNMPv3 mode is AuthPriv.

Re-enter the value of Authentication Password and Privacy Password in the Verify fields.

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

If you do not want to proceed, click Finish.

Step 9 Click Next.

The HTTP Settings page appears.

Step 10 Enter the following credentials in the HTTP Settings dialog box.

Primary HTTP Credentials (Username, Password)

Re-enter the value of the password in Verify field.

Secondary HTTP Credentials (Username, Password)

Re-enter the value of the password in Verify field.

Other Attributes (HTTP Port, HTTPS Port, Certificate Common Name, Current Mode)

Select the HTTP or HTTPS option for current connection mode.

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

If you do not want to proceed, click Finish.

Step 11 Click Next.

The User Defined Fields dialog box appears.

Step 12 Enter your choices for User Defined Fields.

By default, Device and Credential Admin provides the option to define four attribute fields for a device. These fields are used to store additional user-defined data for the device.

The attribute fields that appear here can be changed in the User Defined Fields page. Click Device and Credentials > Admin > User Defined Fields from the Common Services application to open the User Defined Fields page.

Step 13 Click Finish

A message appears that the devices are added successfully in DCR.

When all the devices are not added in DCR, the Device Status Summary appears. See Device Addition Status Summary for more information.

Step 14 Click OK.

The Device Summary page appears with the updated device group information.


Auto Update Type

You can use this feature to add, edit, and delete devices managed using Auto Update Server.

The Auto Update Server managed device has its own attributes and credentials just like normal devices in DCR. In addition, it will have the following attributes:

Device Identity: The string value that uniquely identifies the device in parent Auto Update Server.

The DCR Device ID of the parent Auto Update Server record.

To add devices and credentials using Auto Update type:


Step 1 Select the Auto Update from the Select A Management Type drop-down list box.

Step 2 Enter the Device Type, Display Name, Auto Update Device ID, Host Name, Domain Name, and IP address in the corresponding fields.

To select Auto Update Server, Domain Name, and the Device Type click Select and select from the resulting popup windows. For Auto Update Server managed devices, Display Name and Device-Identity are enough for identity.

DCR uses a device record to represent an Auto Update Server. You can also add an Auto Update Server in the Auto Update Server Management page. Auto Update Server added in this way can then be selected for the Auto Update Server field in the Device Properties wizard.

Step 3 Click Add to List.

The device gets added to the Added Device List in the window.

To remove the device from the Device List, select the device and click Remove from List.

Step 4 Select either Policy configuration or a default credential set in the drop-down list box, if you want to use the default credentials to access the devices.

You can select a default credential set only when you have configured at least one default credential set. See Configuring Default Credentials for more information.

If you have opted to use the default credentials, the primary credentials, secondary credentials,
Rx Boot Mode credentials, SNMP credentials, and HTTP credentials will be populated with the corresponding default values.

If you do not want to use the default credentials, select No Default in the Select a Default Credential Set drop-down list box.

You can click Finish to add the devices with default credentials or proceed further to make changes to the value of the credentials.

Step 5 Click Next.

The Standard Credentials page appears.

Step 6 Enter the following credentials in the Standard Credentials page.

Primary Credentials (Username, Password, Enable Password)

Secondary Credentials (Username, Password, Enable Password)

Rx Boot Mode Credentials (Username, Password)

Re-enter the value of the password in Verify field.

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

If you do not want to proceed, click Finish.

Step 7 Click Next.

The SNMP Credentials page appears.

Step 8 Enter the following credentials in the SNMP Credentials page:

SNMPv2c/SNMPv1 Credentials (Read-Only Community String, Read-Write Community String)

SNMPv3 Credentials (Mode, Username, Authentication Password, Authentication Algorithm, Privacy Password, Privacy Algorithm, Engine ID)

You must select the SNMPv3 checkbox to enter the SNMPv3 Credentials. By default, these fields are disabled. When the SNMPv3 checkbox is selected, the default SNMPv3 mode is AuthPriv.

Re-enter the value of Authentication Password and Privacy Password in the Verify fields.

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

If you do not want to proceed, click Finish.

Step 9 Click Next.

The HTTP Settings page appears.

Step 10 Enter the following credentials in the HTTP Settings dialog box.

Primary HTTP Credentials (Username, Password)

Re-enter the value of the password in Verify field.

Secondary HTTP Credentials (Username, Password)

Re-enter the value of the password in Verify field.

Other Attributes (HTTP Port, HTTPS Port, Certificate Common Name, Current Mode)

Select the HTTP or HTTPS option for current connection mode.

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

If you do not want to proceed, click Finish.

Step 11 Click Next.

The Auto Update Server Credential Template dialog box appears.

Step 12 Enter the Auto Update Server managed device credentials (Username, Password) in the corresponding fields.


Note These are the credentials to login to the Auto Update Server — not to access the managed device.


Re-enter the value of the password in Verify field.

Step 13 Click Next.

The User Defined Fields dialog box appears.

Step 14 Enter your choices for UDFs.

By default, Device and Credential Admin provides the option to define four attribute fields for a device. These fields are used to store additional user-defined data for the device.

The attribute fields that appear here can be changed in the User Defined Fields page. Click Device and Credentials > Admin > User Defined Fields from the Common Services application to open the User Defined Fields page.

Step 15 Click Finish.

A message appears that the devices are added successfully in DCR.

When all the devices are not added in DCR, the Device Status Summary appears. See Device Addition Status Summary for more information.

Step 16 Click OK.

The Device Summary page appears with the updated device group information.


Cluster Managed Type

DCR supports Cisco Clusters and their member devices using a mix of standard and additional attributes and credentials.

To add devices and credentials using Cluster Managed type:


Step 1 Select Cluster Managed from the Select A Management Type drop down list box.

Step 2 Enter Device Type, Display Name, Device IP address, Device Host Name, Domain Name, Cluster, and Member Number in the corresponding fields. For member devices, member number and display name are enough for identity.

The Member Number field is mandatory. The Member Number is the number of the Cluster member. This number represents the order in which the device is added into the cluster.

Also, Cluster needs to be added before a Cluster Managed device.

For example, if a device X belongs to cluster Y, first add the Cluster Y, and then add the Cluster Managed device X.

Step 3 Click Add to List.

The device is added to the Added Device List in the window.

To remove a device from the Device List select the device and click Remove from List.

Step 4 Select either Policy configuration or a default credential set in the Select a Default Credential Set drop-down list box, if you want to use the default credentials to access the devices.

You can select a default credential set only when you have configured at least one default credential set. See Configuring Default Credentials for more information.

If you have opted to use the default credentials, the primary credentials, secondary credentials,
Rx Boot Mode credentials, SNMP credentials, and HTTP credentials will be populated with the corresponding default values.

If you do not want to use the default credentials, select No Default in the Select a Default Credential Set drop-down list box.

If you do not want to proceed further, click Finish.

Step 5 Click Next.

The User Defined Field dialog box appears.

Step 6 Enter your choices for User Defined Fields.

By default, Device and Credential Admin provides the option to define four attribute fields for a device. These fields are used to store additional user-defined data for the device.

The attribute fields that appear here can be changed in the User Defined Fields page. Click Device and Credentials > Admin > User Defined Fields from the Common Services application to open the User Defined Fields page.

Step 7 Click Finish.

A message appears that the devices are added successfully in DCR.

When all the devices are not added in DCR, the Device Status Summary appears. See Device Addition Status Summary for more information.

Step 8 Click OK.

The Device Summary page appears with the updated device group information.


CNS Managed Type

To add devices and credentials using CNS Managed type:


Step 1 Select CNS Managed from the Select A Management Type drop-down list box.

Step 2 Enter the Device IP address, the hostname, and the domain name.

The display name you want for the device in reports or graphical displays in the corresponding fields.

You can also enter or select the domain name.

Step 3 Select the CNS Server and the device type by clicking Select and choosing from the list.

You can add a Cisco CNS Configuration Engine in the Standard Management option by selecting the Device Type field as Cisco CNS Configuration Engine.

If you add a Cisco CNS Configuration Engine in this way, you can select these engines in the CNS Managed option, for the CNS Server field.

After a Cisco CNS Configuration Engine is successfully added, it appears under
Network Management > Other Network Management Products > Cisco CNS Configuration Engine, in the Device Selector.

CNS Server and Display Name are mandatory.

Step 4 Click Add to List.

The device is added to the Added Device List in the page.

To remove a device from the Device List select the device and click Remove from List.

Step 5 Select either Policy configuration or a default credential set in the Select a Default Credential Set drop-down list box, if you want to use the default credentials to access the devices.

You can select a default credential set only when you have configured at least one default credential set. See Configuring Default Credentials for more information.

If you have opted to use the default credentials, the primary credentials, secondary credentials,
Rx Boot Mode credentials, SNMP credentials, and HTTP credentials will be populated with the corresponding default values. You can click Finish to add the devices with default credentials or proceed further to make changes to the value of the credentials.

If you do not want to use the default credentials, select No Default in the Select a Default Credential Set drop-down list box.

Step 6 Click Next.

The Standard Credentials page appears.

Step 7 Enter the following credentials in the Standard Credentials page.

Primary Credentials (Username, Password, Enable Password)

Secondary Credentials (Username, Password, Enable Password)

Rx Boot Mode Credentials (Username, Password)

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

Re-enter the value of the password in Verify field.

If you do not want to proceed further, click Finish.

Step 8 Click Next.

The SNMP Credentials page appears.

Step 9 Enter the following credentials in the SNMP Credentials page:

SNMPv2c/SNMPv1 Credentials (Read-Only Community String, Read-Write Community String)

SNMPv3 Credentials (Mode, Username, Authentication Password, Authentication Algorithm, Privacy Password, Privacy Algorithm, Engine ID)

You must select the SNMPv3 checkbox to enter the SNMPv3 Credentials. By default, these fields are disabled. When the SNMPv3 checkbox is selected, the default SNMPv3 mode is AuthPriv.

Re-enter the value of Authentication Password and Privacy Password in the Verify fields.

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

If you do not want to proceed, click Finish.

Step 10 Click Next.

The HTTP Settings page appears.

Step 11 Enter the following credentials in the HTTP Settings dialog box.

Primary HTTP Credentials (Username, Password)

Re-enter the value of the password in Verify field.

Secondary HTTP Credentials (Username, Password)

Re-enter the value of the password in Verify field.

Other Attributes (HTTP Port, HTTPS Port, Certificate Common Name, Current Mode)

Select the HTTP or HTTPS option for current connection mode.

If you have opted to use the default credentials, these credentials will be populated with the default values from DCR. You can edit them and enter your own values.

If you do not want to proceed, click Finish.

Step 12 Click Next.

Step 13 Enter your choices for User Defined Fields.

By default, Device provides the option to define four attribute fields for a device. These fields are used to store additional user-defined data for the device.

The attribute fields that appear here can be changed in the User Defined Fields page. Click Device and Credentials > Admin > User Defined Fields from the Common Services application to open the User Defined Fields page.

Step 14 Click Finish.

A message appears that the devices are added successfully in DCR.

When all the devices are not added in DCR, the Device Status Summary appears. See Device Addition Status Summary for more information.

Step 15 Click OK.

The Device Summary page appears with the updated device group information.


Device Addition Status Summary

There may be few devices that are not added in DCR. The Device Addition Status report appears when all the devices you have added in the user interface are not added in DCR.

The Device Addition Status report contains the following fields:

Field
Description

Number of devices added

Displays the number of devices added in DCR.

Number of error devices

Displays the number of error devices.

If there is an error encountered during the device addition into DCR, the devices are added into error devices list.

For example, if you add the device with a DSBU Cluster Member number that already exists in DCR, the device will not be added in DCR but added into error devices list. You should add the devices after rectifying the errors.

Number of duplicate devices

Displays the number of devices whose attribute are the same as the attributes of the devices in DCR.

A device is considered as a duplicate if:

The Display Name of a device is the same as that of any other device.

The Host Name and Domain Name combination of a device is the same as that of another device.

Number of devices not configured in ACS

Displays the number of devices that are added in DCR but not authorized in the ACS Server.

This field appears only when you have configured your CiscoWorks Server on ACS mode.


A link is provided for the number of devices displayed for all these fields.

The links for number of devices added, number of error devices, and number of duplicate devices displayed. The link launches the Add Device List Report with the device name and the status of device addition.

The link provided for the number of devices not configured in ACS displays the Devices Not Configured in ACS report.

Deleting Devices

You can delete device information from DCR using this feature.

You can select the devices from the Device Selector and delete either all of them or only the devices that are not managed by applications. When a device is deleted, it also gets deleted from all the applications that use DCR.

You should have the required privileges to delete devices from DCR. Your login determines whether you can use this option.

If you have configured in ACS mode, you should have the following privileges on ACS Server to delete the devices:

Privileges to perform the delete devices task

Device level authorization

To delete devices:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Management.

The Device Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select one or more devices from the Device Selector and click Delete.

The Delete Devices Confirmation dialog box opens with the following details:

Number of devices selected for deleting.

Number of devices that are managed by applications in the current DCR domain.

Step 3 Select any one of the following options in the Delete Devices Confirmation dialog box:

Delete only the device(s) not managed by Applications

Select this option when you want to delete the devices that are not managed by one or more applications. This option is enabled only when you have chosen to delete one or more devices from the device selector that are managed by applications.

Delete all the device(s) selected

Select this option when you want to delete all the selected devices from DCR including the devices managed by applications. However, the device information still remains in the application databases.

Step 4 Click Continue.

All information about the selected devices are deleted from DCR. There may be few devices that are deleted from DCR. See Delete Status Report for more information.

A message appears stating that the devices are deleted successfully.

The devices deleted are also removed from the device selector. If you have selected larger number of devices to delete, the system may take few minutes to refresh the group information in the device selector.


Delete Status Report

In ACS mode, there may be few devices that are not deleted in DCR. You should verify whether you have the device level authorization to delete the devices on ACS Server.

When any of the devices selected is not deleted from DCR, the Device Deletion Status popup window appears with the following summary:

Number of devices deleted

Number of devices not authorized to delete

Editing Device Credentials

You can edit device information for a single device or for multiple devices using this feature. To edit device information:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials  > Device Management.

The Device Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select one or more devices from the Device Selector and click Edit Credentials.

The Credentials Set Selection dialog box appears.

Step 3 Select a default credential name or Policy Configuration from the Select a Credential Set to Edit drop-down list box.

If you do not want to use the default credentials, select No Default in the Select a Default Credential Set drop-down list box.

Step 4 Select either one of the following options:

Overwrite All Device Credentials—Overwrites the existing credentials of selected devices with the credentials of the default credential set.

Apply Only Missing Device Credentials—Retains the existing credentials of selected devices. This option applies the credential values defined in the default credential set for only missing or empty credentials.

Step 5 Click Next.

The Standard Credentials dialog box appears with the credential values that you have defined before.

If you have selected the Select and Edit Credentials option and do not want to proceed, click Finish.

Step 6 Edit the following credentials depending upon your requirement:

Primary Credentials (Username, Password, Enable Password)

Secondary Credentials (Username, Password, Enable Password)

Rx Boot Mode Credentials (Username, Password)

Auto Update Server Managed Device Credentials (Username, Password)

If you edit the password values of any credentials, you should re-enter the password values in their corresponding Verify fields.

Any changes made here will apply to all devices selected in Step 2. This has one exception.

However, if in Step 2, you have selected devices belonging to different device management types, the changes made will apply only to devices of the appropriate type. That is, if a standard-device credential is changed, only the standard devices selected in Step 2 are affected.

If you have completed editing, and do not want to proceed, click Finish.

Step 7 Click Next.

The SNMP Credentials page appears.

Step 8 Edit one or more of following credentials depending upon your requirement:

SNMPv2c/SNMPv1 Credentials (Read-Only Community String, Read-Write Community String)

SNMPv3 Credentials (Mode, Username, Authentication Password, Authentication Algorithm, Privacy Password, Privacy Algorithm, Engine ID)

You must select the SNMPv3 checkbox to enter or edit the SNMPv3 Credentials. By default, these fields are disabled. When the SNMPv3 checkbox is selected, the default SNMPv3 mode is AuthPriv.

Re-enter the value of Authentication Password and Privacy Password in the Verify fields.

If you have completed editing, and do not want to proceed, click Finish.

Step 9 Click Next if you want to edit HTTP Settings.

The HTTP Settings Page opens.

Step 10 Edit one or more credentials depending upon your requirement:

Primary HTTP Credentials (Username, Password)

Secondary HTTP Credentials (Username, Password)

Other Attributes (HTTP Port, HTTPS Port, Certificate Common Name, Current Mode)


Note Select the HTTP or HTTPS option for current connection mode.


Re-enter the values in the Verify fields.

If you have completed editing, and do not want to proceed, click Finish.

Step 11 Click Next if you want to edit User Defined Fields.

The User Defined Fields window appears. You can edit these fields and click Finish after you complete editing.


Auto Update Servers cannot be edited here. Even if they are selected in Step 2, they will not be affected. See Editing Auto Update Server for details on editing Auto Update Server information.

Management Type for a device is defined while you add the device to DCR. You cannot change the Management Type for the device through the edit flow. For example, you cannot change:

Cisco Cluster Management Suite to any other Management Type and vice versa

Cisco CNS Configuration Engine to any other Management Type and vice versa

Editing Device Identity

You can edit Device Identity information for a single device in DCR. The Display Name and the Host Name/Domain Name combination must be unique for each device in DCR. When you edit a device, it will be considered as a duplicate if any one of the following occur:

The Display Name of a device is the same as the Display Name of any other device

The Host Name/Domain Name combination of a device is the same as that of any other device

Auto Update Device ID is the same as Auto Update Device ID of any other device (when the device is AUS managed)

Cluster and Member Number are the same as that of any other device (when the device is Cluster managed)

To edit the Device Identity information:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials  > Device Management.

The Device Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select one or more devices from the Device Selector to edit their identity information.

Step 3 Click Edit Identity.

The Device Properties dialog box appears with the list of selected devices, and attributes of the first device in the list.

Step 4 Select a device from the device list to edit its identity information.

The current attributes are automatically populated in the device information fields.

Step 5 Edit the device information, on the right pane.

You can edit the following information:

Device Type

Display Name

Device Identity (Auto Update Device ID, Auto Update Server, CNS Server, Host Name, Domain Name and IP Address)

Cluster Information (Cluster, Member Number)

You can edit only one device at a time.

Step 6 Select another device from the device list to edit the identity information.

Step 7 Click Apply after you have entered the settings for all the desired devices.


Importing Devices and Credentials

You can import device lists, device properties or attributes and device credentials to the DCR and populate DCR using this feature.

You can:

Import Using Device and Credential Admin Interface

or

Import Using CLI

Import Using Device and Credential Admin Interface

To import devices using Device and Credential Admin Interface:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Management.

The Device Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click Bulk Import.

The Import Devices popup window appears.

The options to import device information into DCR are:

Import From a File. See Importing From a File for information.

Import From Local NMS. See Importing From Local NMS for information.

Import From Remote NMS. See Importing From Remote NMS for information.


If you import device information from a file, ensure that:

Each device must have at least two mandatory attributes including the Display Name.

The mandatory attributes are: Display Name, and Management IP address or Host Name or Device Identity.

For DSBU member devices, DSBU member number and display name are enough for identity.

For AUS managed devices Display Name and Device-Identity are enough. For a CNS managed device, CNS Server is a mandatory attribute.

If you do not know the sysObjectID of the device, specify it as UNKNOWN. If you specify the sysObjectID, the corresponding mdf_type will be automatically updated by DCR.

Specify the correct dcr_device_type of the device. The possible values are:

0—Standard Device

1—DSBU Cluster

3—AUS

4—CNS Configuration Engine

In case of proxy devices (devices that are managed by DSBU cluster or AUS or CNS), make sure that the manager (parent) and managed (child) devices are linked properly. For the proxy managed devices, specify the correct Parent ID attribute field. The following are the parent attributes:

parent_dsbu_id for DSBU cluster members

parent_aus_id for AUS managed devices

parent_cns_id for CNS managed devices

If the import file type is xml, make sure that it conforms with the dtd available at NMSROOT/objects/dcrimpexp/conf/device.dtd.

Importing From a File

To import from a file:


Step 1 Enter the file name.

Or

Browse the file system and select the file using the Browse tab.

Step 2 Select CSV or XML file formats, as required.

Only CSV2.0 and CSV3.0 file formats are supported.

Step 3 Select either Use data from Import source or Use data from DCR, to resolve conflicts during import.

If you select Use data from Import source, the credentials from the import source will be used, and credentials for the device in DCR will be modified.

If you select Use data from DCR, the device credentials in DCR will be used.

Step 4 Schedule the task. To do this:

a. Select the RunType from the drop-down list.

You can schedule importing the devices immediately or schedule the import for a later time. The scheduling can be periodic (daily, weekly, or monthly) or for a single instance (once).

b. Select the date from the date picker.

The date picker displays the date from the client system.

Step 5 Enter the Job information, if you have scheduled the task for a later time.

a. Enter a brief description about the import task in the Job Description field.

b. Enter a valid e-mail ID in the E-mail field to notify you about the status of import. You can enter multiple e-mail addresses separated by comma.

Step 6 Select either Policy configuration or a default credential set in the Select a Default Credential Set drop-down list box, if you want to use the default credentials to access the devices.

If you do not want to use the default credentials, select No Default in the Select a Default Credential Set drop-down list box.

You can select a default credential set only when you have configured at least one default credential set. See Configuring Default Credentials for more information.

If your import source does not have the required device credentials and if you have opted to use default credentials, the device information will be imported into DCR with the values of default credentials.

If your import source has the required device credentials and if you have opted to use default credentials, the device information will be imported into DCR with the values specified in the import source.

For example, if the default credential set has Standard and SNMP credentials and if your import source has only the Standard credentials, the device will be populated in DCR with the Standard credentials entered in your import source and SNMP credentials configured in the default credential set.

See Configuring Default Credentials for more information.

Step 7 Click Import.

A message appears that the import job has been scheduled successfully, if you have scheduled an import job.


Importing From Local NMS

To import from Local NMS:


Step 1 Select the Network Management System type from the NMS type drop-down list.

HPOV and Netview are supported.

See Installing and Getting Started With CiscoWorks LAN Management Solution 3.2 for information on supported Network Management Systems.

Step 2 Enter the install location of the NMS type selected in the Install Location field or click the Browse button to select the install location.

The following table provides you the examples to enter the install location:

NMS Type
Platform
Example to enter Install Location

HP OpenView Network Node Manager

Solaris

/opt/OV

Windows

C:\Program Files\HP OpenView

Netview

Solaris

/usr/OV

Windows

C:\usr\OV


Step 3 Select either Use data from Import source or Use data from DCR, to resolve conflicts during import.

Step 4 Schedule the task.

To do this:

a. Select the RunType from the drop-down list.

You can schedule importing the devices immediately or schedule the import for a later time. The scheduling can be periodic (daily, weekly, or monthly) or for a single instance (once).

b. Select the date from the date picker.

The date picker displays the date from the client system.

Step 5 Enter the Job information, if you have scheduled the task for a later time.

a. Enter a brief description about the import task in the Job Description field.

b. Enter a valid e-mail ID in the E-mail field to notify you about the status of import. You can enter multiple e-mail addresses separated by comma.

Step 6 Select either Policy configuration or a default credential set in the Select a Default Credential Set drop-down list box, if you want to use the default credentials to access the devices.

If you do not want to use the default credentials, select No Default.

You can select a default credential set only when you have configured at least one default credential set. See Configuring Default Credentials for more information.

If your import source does not have the required device credentials and if you have opted to use default credentials, the device information will be imported into DCR with the values of default credentials.

If your import source has the required device credentials and if you have opted to use default credentials, the device information will be imported into DCR with the values specified in the import source.

For example, if the default credential set has Standard and SNMP credentials and if your import source has only the Standard credentials, the device will be populated in DCR with the Standard credentials entered in your import source and SNMP credentials configured in the default credential set.

See Configuring Default Credentials for more information.

Step 7 Click Import.

A message appears that the import job has been scheduled successfully, if you have scheduled an import job.


Importing From Remote NMS

Before you import from the remote NMS, ensure that:

The server running third-party NMS (HPOV, NetView) application is reachable from the Cisco Works Server.

The remote server running 3rd party NMS accepts rsh connections and has a local user who has permission to run executables, such as ovtopodump within the 3rd party NMS. This user should have permissions to log into the NMS Server without a password. Also, the .rhosts file should be modified to enable login without password.

If you are importing from a remote NMS on host 2 to host 1 (CiscoWorks Server), you need to add the following entries in the .rhosts file of host2: host1.domain.com SYSTEM (on Windows); where SYSTEM is a built-in Local System account.

For example, if you are importing from a remote NMS on XYZ.cisco.com to ABC.cisco.com, you need to add ABC.cisco.com SYSTEM host1.domain.com casuser (on Solaris).

To import from a remote NMS:


Step 1 Select the Network Management System type from the NMS type drop-down list.

HPOV and Netview are supported.

See Installing and Getting Started With CiscoWorks LAN Management Solution 3.2 for information on supported Network Management Systems.

If you select ACS, enter:

ACS Server Name or IP address in the Host Name field.

ACS admin username in the User Name field.

ACS admin user password in the Password field.

Port number (default is 2002) in the Port field.

HTTP or HTTPs protocol in the Protocol field.

Step 2 Select the Operating System type from the OS type drop-down list.


Note Windows is not supported for HPOV and NetView


Step 3 Enter the Host name, User name, and Install location in the corresponding fields.

Make sure that you give the install location of the selected NMS type.

For example, enter:

/opt/OV — for HP Openview NNM (Network Node Manager)

/usr/OV — for NetView

Step 4 Select either Use data from Import source or Use data from DCR, to resolve conflicts during import.

Step 5 Schedule the task. To do this:

a. Select the RunType from the drop-down list.

You can schedule importing the devices immediately or schedule the import for a later time. The scheduling can be periodic (daily, weekly, or monthly) or for a single instance (once).

b. Select the date from the date picker.

The date picker displays the date from the client system.

Step 6 Enter the Job information, if you have scheduled the task for a later time.

a. Enter a brief description about the import task in the Job Description field.

b. Enter a valid e-mail ID in the E-mail field to notify you about the status of import. You can enter multiple e-mail addresses separated by comma.

Step 7 Select either Policy configuration or a default credential set in the Select a Default Credential Set drop-down list box, if you want to use the default credentials to access the devices.

If you do not want to use the default credentials, select No Default.

You can select a default credential set only when you have configured at least one default credential set. See Configuring Default Credentials for more information.

If your import source does not have the required device credentials and if you have opted to use default credentials, the device information will be imported into DCR with the values of default credentials.

If your import source has the required device credentials and if you have opted to use default credentials, the device information will be imported into DCR with the values specified in the import source.

For example, if the default credential set has Standard and SNMP credentials and if your import source has only the Standard credentials, the device will be populated in DCR with the Standard credentials entered in your import source and SNMP credentials configured in the default credential set.

See Configuring Default Credentials for more information.

Step 8 Click Import.

A message appears that the import job has been scheduled successfully, if you have scheduled an import job.


Import Status Report

The Import Status Report appears at the end of each immediate import operation. The report contains information on:

Newly Imported Devices

This field shows the number of devices that are newly imported during the bulk import operation.

Devices Not Imported

This field shows the devices that are not imported.

The devices that have not been imported might fall under one of the following categories:

Devices
Description

Excluded Devices

Devices that are excluded based on the Exclude device list uploaded by the user. These devices will not be imported into DCR.

Duplicate Devices

Devices whose attribute are same as one of the devices in DCR. A device is considered duplicate if:

The Display Name of a device is the same as that of any other device.

The Host Name and Domain Name combination of a device is the same as that of another device.

Conflicting Devices

Devices that are both in the import source and in DCR but differ in their attributes.

If you choose the Use Data from Import Source Conflict Resolution Option, the following message appears:

Conflicting Devices (DCR CHANGED)

The device in DCR will be updated with the attributes from the import source.

If you choose Use Data from Device and Credential Repository Conflict Resolution Option, the following message appears:

Conflicting Devices (DCR NOT CHANGED)

The device in DCR will not be updated with attribute from the import source.

Error Devices

If DCR encounters error during a device import, the device will be added to the Error Devices list.

Click the Error Devices link in the Import Status Report to see the Error Device List Report. Error Device List Report provides the reason for the failure. Import the device after rectifying the errors.

Management IP address, Host Name, Device Identity, and Display Name are mandatory attributes while importing.

For DSBU member devices, DSBU member number and display name are enough for identity.

For AUS managed devices Display Name and Device-Identity are enough.


Sample CSV Files and XML Files

You can use CSV 2.0 or CSV 3.0 file or XML formats for import.

You can also perform a DCR Export operation to generate sample CSV or XML files. See Exporting Devices and Credentials for more information.

You should not delete any line from the CSV file generated by DCR export utility including the lines starting with ; (semi colon). However, you can add comments in the CSV file as new lines beginning with ; character.

If you use manually created CSV files for DCR import, we recommend that the CSV files should be in the same format of the files generated by DCR Export utility.

This section provides the following:

Sample CSV 2.0 File

Sample CSV 3.0 File

Sample CSV 3.0 File for Auto Update Server Managed Devices

Sample CSV 3.0 File for Cluster Managed Devices

Sample XML File (Standard)

Sample XML File for Auto Update Server Managed Devices

Sample XML File for Cluster Managed Devices

View Mapping CSV 2.0 to CSV 3.0 Fields to see the details on mapping.

Sample CSV 2.0 File

;
; This file is generated by the export utility
; If you edit this file, be sure you know what you are doing
;
Cisco Systems NM data import, source = export utility; Version = 2.0; Type = Csv
;
; Here are the columns of the table.
;   Columns 1 and 2 are required.
;   Columns 3 through 19 are optional.
; Col# = 1: Name (including domain or simply an IP)
; Col# = 2: RO community string
; Col# = 3: RW community string
; Col# = 4: Serial Number
; Col# = 5: User Field 1
; Col# = 6: User Field 2
; Col# = 7: User Field 3
; Col# = 8: User Field 4
; Col# = 9; Name = Telnet password
; Col# = 10; Name = Enable password
; Col# = 11; Name = Enable secret
; Col# = 12; Name = Tacacs user
; Col# = 13; Name = Tacacs password
; Col# = 14; Name = Tacacs enable user
; Col# = 15; Name = Tacacs enable password
; Col# = 16; Name = Local user
; Col# = 17; Name = Local password
; Col# = 18; Name = Rcp user
; Col# = 19; Name = Rcp password
;
; Here are the rows of data.
;
172.20.118.156,public,,FHH080600dg,,,,,,,,,,,,,,,
172.20.118.150,public,,FHH0743W022,,,,,,,,,,,,,,,

Sample CSV 3.0 File

; This file is generated by DCR Export utility
Cisco Systems NM Data import, Source=DCR Export; Type=DCRCSV; Version=3.0
;
;Start of section 0 - Basic Credentials
;
;HEADER: 
management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_d
evice_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_
password,snmp_v3_engine_id,snmp_v3_auth_algorithm,snmp_v3_priv_password,snmp_v3_priv_algor
ithm,rxboot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_e
nable_password,http_username,http_password,http_mode,http_port,https_port,cert_common_name
,secondary_username,secondary_password,secondary_enable_password,secondary_http_username,s
econdary_http_password
;
10.77.203.55,,,,10.77.203.55,UNKNOWN,0,UNKNOWN,,,userap1,roZes1,,MD5,roZes11,AES128,,,,,,,
,,,,,,,,,
10.77.203.142,,,,10.77.203.142,UNKNOWN,0,UNKNOWN,,,userap2,roZes2,,SHA-1,roZes22,3DES,,,,,
,,,,,,,,,,,
10.77.209.74,,,,10.77.209.74,UNKNOWN,0,UNKNOWN,,,v3user,roZes123,,MD5,roZes123,DES,,,,,,,,
,,,,,,,,
10.77.203.210,,,,10.77.203.210,UNKNOWN,0,UNKNOWN,,,v3user4,ROzES123,,SHA-1,ROzES123,AES256
,,,,,,,,,,,,,,,,

;End of CSV file

Note For a complete list of attributes and their description, use the lsattr command in dcrcli. See Listing the Attributes for usage details.


Sample CSV 3.0 File for Auto Update Server Managed Devices

; This file is generated by DCR Export utility
Cisco Systems NM Data import, Source=DCR Export; Type=DCRCSV; Version=3.0
;
Start of section 0 - Basic Credentials
;
;HEADER: 
management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_d
evice_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_
password,snmp_v3_engine_id,snmp_v3_auth_algorithm,snmp_v3_priv_password,snmp_v3_priv_algor
ithm,rxboot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_e
nable_password,http_username,http_password,http_mode,http_port,https_port,cert_common_name
,secondary_username,secondary_password,secondary_enable_password,secondary_http_username,s
econdary_http_password
;
10.77.203.55,,,,10.77.203.55,UNKNOWN,0,UNKNOWN,,,userap1,roZes1,,MD5,roZes11,AES128,,,,,,,
,,,,,,,,,
10.77.203.142,,,,10.77.203.142,UNKNOWN,0,UNKNOWN,,,userap2,roZes2,,SHA-1,roZes22,3DES,,,,,
,,,,,,,,,,,
10.77.209.74,,,,10.77.209.74,UNKNOWN,0,UNKNOWN,,,v3user,roZes123,,MD5,roZes123,DES,,,,,,,,
,,,,,,,,
10.77.203.210,,,,10.77.203.210,UNKNOWN,0,UNKNOWN,,,v3user4,ROzES123,,SHA-1,ROzES123,AES256
,,,,,,,,,,,,,,,,
;
;Start of section 1 - AUS proxy
;
;HEADER: 
management_ip_address,host_name,domain_name,device_identity,display_name,aus_username,aus_
password,aus_url
;
1.1.1.1,ons_host1,cisco.com,AUS_ID,ONS1,admin,admin,
10.10.10.1,aus_server,cisco.com,,AUS_SERV1,admin,admin,autoupdate/AutoUpdateServlet
;
;Start of section 2 - AUS managed
;
;HEADER: 
management_ip_address,host_name,domain_name,device_identity,display_name,parent_aus_id
;
1.1.1.1,ons_host1,cisco.com,AUS_ID,ONS1,display_name=AUS_SERV1
;End of CSV file

Sample CSV 3.0 File for Cluster Managed Devices

; This file is generated by DCR Export utility
Cisco Systems NM Data import, Source=DCR Export; Type=DCRCSV; Version=3.0
;
;Start of section 0 - Basic Credentials
;
;HEADER: 
management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_d
evice_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_
password,snmp_v3_engine_id,snmp_v3_auth_algorithm,snmp_v3_priv_password,snmp_v3_priv_algor
ithm,rxboot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_e
nable_password,http_username,http_password,http_mode,http_port,https_port,cert_common_name
,secondary_username,secondary_password,secondary_enable_password,secondary_http_username,s
econdary_http_password
;
10.77.203.55,,,,10.77.203.55,UNKNOWN,0,UNKNOWN,,,userap1,roZes1,,MD5,roZes11,AES128,,,,,,,
,,,,,,,,,
10.77.203.142,,,,10.77.203.142,UNKNOWN,0,UNKNOWN,,,userap2,roZes2,,SHA-1,roZes22,3DES,,,,,
,,,,,,,,,,,
10.77.209.74,,,,10.77.209.74,UNKNOWN,0,UNKNOWN,,,v3user,roZes123,,MD5,roZes123,DES,,,,,,,,
,,,,,,,,
10.77.203.210,,,,10.77.203.210,UNKNOWN,0,UNKNOWN,,,v3user4,ROzES123,,SHA-1,ROzES123,AES256
,,,,,,,,,,,,,,,,
;
;Start of section 3 - DSBU managed
;
;HEADER: management_ip_address,host_name,domain_name,device_identity,display_name,
dsbu_member_number,parent_dsbu_id
;
1.1.1.1,ons_dev_1,cisco.com,,ONS1,1,display_name=cluster
;End of CSV file

Mapping CSV 2.0 to CSV 3.0 Fields

The following table provides a mapping between the fields in CSV 2.0 and CSV 3.0:

CSV 2.0
CSV 3.0

Name (including domain or only an IP address)

host_name and display_name

RO community string

snmp_v2_ro_comm_string

RW community string

snmp_v2_rw_comm_string

Serial Number

Not used in CSV 3.0

User Field 1

user_defined_field_0

User Field 2

user_defined_field_1

User Field 3

user_defined_field_2

User Field 4

user_defined_field_3

Telnet password

primary_password or secondary_password

Enable password

primary_enable_password or secondary_enable_password

Enable secret

primary_enable_password or secondary_enable_password

Tacacs user

primary_username

Tacacs password

primary_password

Tacacs enable user

Not used in CSV 3.0

Tacacs enable password

primary_enable_password

Local user

primary_username or secondary_username

Local password

primary_password or secondary_password

Rcp user

Not used in CSV 3.0

Rcp password

Not used in CSV 3.0


The order of preference used to set these values in CSV 3.0:

If Tacacs username, password, enable password are set, then these values will be set as primary_username, primary_password and primary_enable_password.

If Local username and password are set, then the values will be set as primary_username or secondary_username and primary_password or secondary_password.

The local username and password are matched to secondary_username and secondary_password if primary_username and primary_password is already set with Tacacs credentials.

If Telnet password, Enable password, and Enable secret are set, then the values will be set as primary_password or secondary_password, and primary_enable_password or secondary_enable_password (for both Enable password, and Enable secret).

The Telnet password, Enable password, and Enable Secret are set to secondary credentials, if the primary_password and primary_enable_password are already set with Tacacs or Local credentials.

Sample XML File (Standard)

<?xml version="1.0"?>
<DEVICES>
	<DEVICE>
		 <SET Name="Basic Credentials">
                <DEVATTRIB Name="management_ip_address">10.77.203.55</DEVATTRIB>
                <DEVATTRIB Name="host_name">Switch6009</DEVATTRIB>
                <DEVATTRIB Name="domain_name">cisco.com</DEVATTRIB>
                <DEVATTRIB Name="display_name">10.77.203.55</DEVATTRIB>
                <DEVATTRIB Name="sysObjectID">UNKNOWN</DEVATTRIB>
                <DEVATTRIB Name="dcr_device_type">0</DEVATTRIB>
                <DEVATTRIB Name="mdf_type">268438100</DEVATTRIB>
                <DEVATTRIB Name="snmp_v2_ro_comm_string">public</DEVATTRIB>
                <DEVATTRIB Name="snmp_v2_rw_comm_string">private</DEVATTRIB>
                <DEVATTRIB Name="primary_username">lab</DEVATTRIB>
                <DEVATTRIB Name="primary_password">lab</DEVATTRIB>
                <DEVATTRIB Name="primary_enable_password">lab</DEVATTRIB>
                <DEVATTRIB Name="secondary_username">lab</DEVATTRIB>
                <DEVATTRIB Name="secondary_password">lab</DEVATTRIB>
                <DEVATTRIB Name="secondary_enable_password">lab</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_user_id">userap1</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_password">roZes1</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_auth_algorithm">MD5</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_priv_password">roZes11</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_priv_algorithm">AES128</DEVATTRIB>
          </SET> 
	</DEVICE>
</DEVICES>


Note For a complete list of attributes and their description, use the lsattr command in dcrcli. See Listing the Attributes for usage details.


Sample XML File for Auto Update Server Managed Devices

<?xml version="1.0"?>
<DEVICES>
     <DEVICE>
          <SET Name="Basic Credentials">
                <DEVATTRIB Name="management_ip_address">10.77.203.55</DEVATTRIB>
                <DEVATTRIB Name="host_name">Switch6009</DEVATTRIB>
                <DEVATTRIB Name="domain_name">cisco.com</DEVATTRIB>
                <DEVATTRIB Name="display_name">10.77.203.55</DEVATTRIB>
                <DEVATTRIB Name="sysObjectID">UNKNOWN</DEVATTRIB>
                <DEVATTRIB Name="dcr_device_type">0</DEVATTRIB>
                <DEVATTRIB Name="mdf_type">268438100</DEVATTRIB>
                <DEVATTRIB Name="snmp_v2_ro_comm_string">public</DEVATTRIB>
                <DEVATTRIB Name="snmp_v2_rw_comm_string">private</DEVATTRIB>
                <DEVATTRIB Name="primary_username">lab</DEVATTRIB>
                <DEVATTRIB Name="primary_password">lab</DEVATTRIB>
                <DEVATTRIB Name="primary_enable_password">lab</DEVATTRIB>
                <DEVATTRIB Name="secondary_username">lab</DEVATTRIB>
                <DEVATTRIB Name="secondary_password">lab</DEVATTRIB>
                <DEVATTRIB Name="secondary_enable_password">lab</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_user_id">userap1</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_password">roZes1</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_auth_algorithm">MD5</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_priv_password">roZes11</DEVATTRIB>
                <DEVATTRIB Name="snmp_v3_priv_algorithm">AES128</DEVATTRIB>
          </SET> 
          <SET Name="AUS proxy">
                <DEVATTRIB Name="aus_username">admin</DEVATTRIB>
                <DEVATTRIB Name="aus_password">admin</DEVATTRIB>
          </SET>
          <SET Name="AUS managed">
                <DEVATTRIB Name="device_identity">AUS_ID</DEVATTRIB>
                <DEVATTRIB Name="parent_aus_id">display_name=AUS_SERV1</DEVATTRIB>
          </SET>
     </DEVICE>
     <DEVICE>
          <SET Name="Basic Credentials">
                <DEVATTRIB Name="management_ip_address">10.10.10.1</DEVATTRIB>
                <DEVATTRIB Name="host_name">aus_server</DEVATTRIB>
                <DEVATTRIB Name="domain_name">cisco.com</DEVATTRIB>
                <DEVATTRIB Name="display_name">AUS_SERV1</DEVATTRIB>
                <DEVATTRIB Name="sysObjectID">UNKNOWN</DEVATTRIB>
                <DEVATTRIB Name="dcr_device_type">3</DEVATTRIB>
                <DEVATTRIB Name="mdf_type">UNKNOWN</DEVATTRIB>
          </SET>
          <SET Name="AUS proxy">
                <DEVATTRIB Name="aus_username">admin</DEVATTRIB>
                <DEVATTRIB Name="aus_password">admin</DEVATTRIB>
                <DEVATTRIB Name="aus_url">autoupdate/AutoUpdateServlet</DEVATTRIB>
          </SET>
     </DEVICE>
</DEVICES>

Sample XML File for Cluster Managed Devices

<?xml version="1.0"?>
<DEVICES>
     <DEVICE>
          <SET Name="Basic Credentials">
                <DEVATTRIB Name="management_ip_address">1.1.1.1</DEVATTRIB>
                <DEVATTRIB Name="host_name">ons_dev_1</DEVATTRIB>
                <DEVATTRIB Name="domain_name">cisco.com</DEVATTRIB>
                <DEVATTRIB Name="display_name">ONS1</DEVATTRIB>
                <DEVATTRIB Name="sysObjectID">1.3.6.1.4.1.9.1.406</DEVATTRIB>
                <DEVATTRIB Name="dcr_device_type">0</DEVATTRIB>
                <DEVATTRIB Name="mdf_type">273612892</DEVATTRIB>
          </SET>
          <SET Name="DSBU managed">
                <DEVATTRIB Name="dsbu_member_number">1</DEVATTRIB>
                <DEVATTRIB Name="parent_dsbu_id">display_name=cluster1</DEVATTRIB>
          </SET>
     </DEVICE>
     <DEVICE>
          <SET Name="Basic Credentials">
                <DEVATTRIB Name="management_ip_address">10.10.10.1</DEVATTRIB>
                <DEVATTRIB Name="host_name">host1</DEVATTRIB>
                <DEVATTRIB Name="domain_name">cisco.com</DEVATTRIB>
                <DEVATTRIB Name="display_name">cluster1</DEVATTRIB>
                <DEVATTRIB Name="sysObjectID">Unknown</DEVATTRIB>
                <DEVATTRIB Name="dcr_device_type">1</DEVATTRIB>
                <DEVATTRIB Name="mdf_type">278283831</DEVATTRIB>
          </SET>
     </DEVICE>
</DEVICES>

Exporting Devices and Credentials

This feature helps you in exporting a list of device and their credentials into a file. The device list can be obtained from the Device Selector, or from a CSV file.

You can view the list of attributes that can be exported and edit the Export Format file to specify the credentials you need to export. See Listing the Attributes for viewing the list of attributes.

You can:

Export Using Device and Credential Admin Interface

or

Export Using CLI

The device information is exported to files in CSV (only CSV 3.0) and XML formats only. See Sample CSV Files and XML Files for sample CSV and XML files generated by the export utility.

Specifying Device Credentials for Export

The device attributes that are exported are specified in the Export Format files Export_Format_CSV.xml and Export_Format_XML.xml located at the NMSROOT\objects\dcrimpexp\conf directory.

By default, all the device attributes are exported. See Device Attributes for a list of device attributes.

You can:

Edit the Export Format files to include UDF names in the export device attributes list.

Enable or disable the option of exporting device credentials to the export format file. See Device Credentials for a list of device credentials that are exported if you enable this option.

We recommend that you edit the Export format files only when you:

Add the UDF information in the export device attributes list.

Change or delete the UDF names when you rename or delete the UDFs respectively in the Device and Credentials Administration user interface.

See Configuring User Defined Fields for more information on configuring UDFs.

Sample Export Format File with Device Attributes Only

<?xml version="1.0" ?> 
<EXPORT_FORMAT>
<GROUP Name="Basic Credentials"> 
management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_d
evice_type,mdf_type,http_mode,http_port,https_port,cert_common_name
</GROUP> 
<GROUP Name="AUS proxy"> 
management_ip_address,host_name,domain_name,device_identity,display_name,aus_username,aus_
password,aus_url,aus_port</GROUP> 
<GROUP Name="AUS managed"> 
management_ip_address,host_name,domain_name,device_identity,display_name,parent_aus_id 
</GROUP> 
<GROUP Name="DSBU managed"> 
management_ip_address,host_name,domain_name,device_identity,display_name,dsbu_member_numbe
r,parent_dsbu_id</GROUP> 
<GROUP Name="CNS managed"> 
management_ip_address,host_name,domain_name,device_identity,display_name,parent_cns_id,cns
_config_id,cns_event_id,cns_image_id</GROUP> 
</EXPORT_FORMAT>

Sample Export Format File with Device Attributes and Device Credentials

<?xml version="1.0" ?> 
<EXPORT_FORMAT>
<GROUP Name="Basic Credentials"> 
management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_d
evice_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_
password,snmp_v3_engine_id,snmp_v3_auth_algorithm,snmp_v3_priv_password,snmp_v3_priv_algor
ithm,rxboot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_e
nable_password,http_username,http_password,http_mode,http_port,https_port,cert_common_name
,secondary_username,secondary_password,secondary_enable_password,secondary_http_username,s
econdary_http_password
</GROUP> 
<GROUP Name="AUS proxy"> 
management_ip_address,host_name,domain_name,device_identity,display_name,aus_username,aus_
password,aus_url,aus_port</GROUP> 
<GROUP Name="AUS managed"> 
management_ip_address,host_name,domain_name,device_identity,display_name,parent_aus_id 
</GROUP> 
<GROUP Name="DSBU managed"> 
management_ip_address,host_name,domain_name,device_identity,display_name,dsbu_member_numbe
r,parent_dsbu_id</GROUP> 
<GROUP Name="CNS managed"> 
management_ip_address,host_name,domain_name,device_identity,display_name,parent_cns_id,cns
_config_id,cns_event_id,cns_image_id</GROUP> 
</EXPORT_FORMAT>

Adding User Defined Field Names to Export Format Files

You should add the UDF names in the Export Format file to export the additional information about devices stored in their user-defined fields.

Suppose if you want to export the device information stored in the user_defined_field_0, user_defined_field_1, user_defined_field_2 and user_defined_field_3 fields, you should edit the Export Format file and change the Basic Credentials group as follows:

<GROUP Name="Basic Credentials"> 
management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_d
evice_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_
password,snmp_v3_engine_id,snmp_v3_auth_algorithm,snmp_v3_user_id_authpriv,snmp_v3_passwor
d_authpriv,snmp_v3_auth_algorithm_authpriv,snmp_v3_priv_password,snmp_v3_priv_algorithm,rx
boot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_enable_p
assword,http_username,http_password,http_mode,http_port,https_port,cert_common_name,user_d
efined_field_0,user_defined_field_1,user_defined_field_2,user_defined_field_3 </GROUP>

If you rename the user_defined_field_3 to udf3 in the user interface, you should change the Basic Credentials section in the Export Format file as follows:

<GROUP Name="Basic Credentials"> 
management_ip_address,host_name,domain_name,device_identity,display_name,sysObjectID,dcr_d
evice_type,mdf_type,snmp_v2_ro_comm_string,snmp_v2_rw_comm_string,snmp_v3_user_id,snmp_v3_
password,snmp_v3_engine_id,snmp_v3_auth_algorithm,snmp_v3_priv_password,snmp_v3_priv_algor
ithm,rxboot_mode_username,rxboot_mode_password,primary_username,primary_password,primary_e
nable_password,http_username,http_password,http_mode,http_port,https_port,cert_common_name
,user_defined_field_0,user_defined_field_1,user_defined_field_2,udf3</GROUP>

Export Using Device and Credential Admin Interface

To export device credentials using Device and Credential Admin Interface:


Step 1 Select Common Services > Device and Credentials > Device Management.

The Device Management page appears.

Step 2 Click Export.

The Device Export dialog box appears.

You can use either of the following device selection methods:

Select from Device Selector

Select this option if you want to export devices from DCR to the file that you specify in the Output File Information field. You can select the required devices from the Device Selector of the Device Export dialog box.

Get Device List from File

Select this option if you want to export devices from a CSV file that is already present in the server, to the file you specify in the Output File Information field.

You can use this option when the CSV file contains only partial device credentials, and you want to get the full list of credentials. The input CSV file checks for data in DCR, and exports the data to the output file.

Get Device List from Group

Select this option if you want to export all devices from the selected groups, to the file you specify in the Output File Information field.

This device selection method is useful when you want to run a scheduled export job. All new devices added to the selected groups are also automatically exported during the future scheduled jobs.

If you choose to select from the Device Selector:

a. Select the devices to be exported from the Device Selector.

b. Enter the location for the output file in the Output File Information panel field or click Browse to select the location.

c. Select either CSV or XML as your output file format.

If you choose to get the device list from a file:

a. From the Input File Selection Panel, click Browse to browse the file system and select the input file [in CSV format] to get the device list.

b. Enter the location for the output file in the Output File Information panel field or click Browse to select the location.

c. Select either CSV or XML as your output file format.

d. From the Device Selector, select the devices for which you need to export credentials.

If you choose to get the device list from groups:

a. Select the groups whose devices to be exported from the Group Selector.

b. Enter the location for the output file in the Output File Information panel field or click Browse to select the location.

c. Select either CSV or XML as your output file format.

d. From the Device Selector, select the devices for which you need to export credentials.

Step 3 Select Export Device Credentials if you want to export the device credentials along with the device attributes.

The device credentials including the passwords are exported to the output file in clear text format if you select this option.

A confirmation message appears.

Step 4 Click OK to continue.

Step 5 Select Send Device Export Report as an E-mail to send the Exported Devices report as an attachment.

If the report exceeds the maximum attachment size limit configured in System Preferences page, you may not receive the attachment. You will receive the e-mail notification that provides a hyperlink to the System Preferences page.

You should select the Enable Attachment option and enter a larger size in the Maximum Attachment Size field in the System Preferences page to receive the e-mail attachments. See Modifying System Preferences for details on configuring maximum and minimum size of attachments.

Step 6 Schedule the task.

To do this:

a. Select the Run Type from the drop-down list.

You can schedule export immediately or schedule the export for a later time. The scheduling can be periodic (daily, weekly, or monthly) or only for a single instance.

b. Select the date from the date picker.

The date picker displays the date from the client system.

Step 7 Enter a description about the job in the Job Description field.

Step 8 Enter an e-mail address or multiple e-mail addresses separated by comma in the E-mail field.

E-mail notifications and the report attachments are sent to the e-mail addresses entered in this field. selected.

Step 9 Click Export.

If you schedule an immediate device export, the job starts immediately.


You must populate DCR with devices before you export credentials from DCR using Get Device List from File option.


Note We recommend that you use this option to export up to a maximum of 1000 devices.


Excluding Devices

This feature allows you to specify a file that contains the list of devices that should not be added to DCR using Add or Import operations.

During the Add or Import operations, DCR ensures that the device being added or imported is not listed in the Exclude Device List.

You can also remove the list of devices that are excluded earlier using the Exclude operation.

The file containing the list of excluded devices should be in CSV format. See A Sample CSV Exclude File for a sample CSV file used for Exclude operation.

You can exclude devices by specifying any one or more of the following fields in the CSV file:

management_ip_address

host_name and domain_name

device_identity

If you are using a CSV file generated by the DCR Export utility to exclude devices from Add or Import operations, make sure to remove the sections related to AUS Managed, Cluster Managed and CNS Managed devices from the CSV file.

To exclude devices from Add or Import operations:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Management.

The Device Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click Exclude.

The Upload Exclude Devices File dialog box appears.

Step 3 Enter the file name or click Browse to browse the file system and select the file.

The file that needs to be uploaded must be in CSV format.

Step 4 Click Apply to upload the file.

The system displays a message that the devices are excluded successfully.


A Sample CSV Exclude File

; This file is generated by DCR Export utility
Cisco Systems NM Data import, Source=DCR Export; Type=DCRCSV; Version=3.0 
;
;Start of section 0 - Basic Credentials
;
;HEADER: management_ip_address,host_name,domain_name,device_identity
;
,Dev1Hostname,,
10.1.0.60,,,
,,,AUSID1
,Dev2Hostname,cisco.com,
;

;End of CSV file

Viewing Devices List

You can view the devices in the Device List Report using this feature.

To view devices in the Device List Report:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Device Management.

The Device Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select the devices you want from the Device Summary list and click View.

The Device List Report dialog box appears.

Step 3 Select the device.

Step 4 Click View.


Managing Auto Update Servers

Auto Update Servers have the following credentials:

Auto Update Server URL

Username

Password


Note The Auto Update Server Management UI is not visible in a DCR Slave machine.


Auto Update Server management feature helps you in:

Adding Auto Update Server

Editing Auto Update Server

Deleting Auto Update Server

Adding Auto Update Server

To add Auto Update Server:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Auto Update Server Management.

The Auto Update Server Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click Add.

The Auto Update Server dialog box appears.

Step 3 Enter the Display Name, Domain Name, IP address, Host, Port, URN, User name, and password in the corresponding fields. Re-enter the password in the Verify field.

DCR uses a device record to represent a Auto Update Server.

An Auto Update Server added in the Auto Update Server Management UI can be selected for the field Auto Update Server when you add devices using the Auto Update management type.

Step 4 Click OK.


Editing Auto Update Server

To edit Auto Update Server:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Auto Update Server Management.

The Auto Update Server Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select the device you want to edit from the list and click Edit.

The Auto Update Server dialog box appears.

Step 3 Edit Display Name, Domain Name, IP address, Port, URN, User name, and Password fields.

Step 4 Click OK.


Deleting Auto Update Server

To delete Auto Update Servers:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Auto Update Server Management.

The Auto Update Server Management page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select the device you want to delete from the list.

Step 3 Click Delete.

The Device Deletion Confirmation dialog box opens.

Step 4 Click OK to confirm delete AUS Update Servers.


Generating Device and Credential Admin Reports

You can use this feature to generate and view Device and Credential Admin reports. Common Services includes a Report Generator that provides detailed reports on device lists in DCR.

You should have the necessary privileges to generate DCR reports. Your login name determines whether you can use this option.

You can generate the DCR Reports only on a DCR Master or a DCR Standalone server. The DCR reports UI is not visible in a DCR Slave machine.

The following DCR reports are available:

Device List Report

Audit Report

Excluded Devices Report

Imported Device List Report

Devices Not Configured In ACS Report

To generate reports:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Reports.

The Report Generator page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click the report link in the Available Reports pane to expand the list of available DCR reports.

Step 3 Select a report from the Reports list.

Step 4 Click Generate Reports to view the selected report.

The Report window appears with the summary of details.


You can perform the following activities from the Reports window:

Sort the records in ascending order or descending order of any fields.

Use the navigation buttons provided to navigate between the report pages, if the generated reports has more records.

View the report in a printer-friendly format.

Export the report to a file of CSV or PDF format.

Set the number of records to be displayed per report page, as desired. You can set the number as 20, 50, 100, or 500.

To export the report:


Step 1 Click the Export button on top-right of the DCR Report list.

The Exporting Report dialog box opens.

Step 2 Select the required radio button to export the report either in PDF or in CSV format.

Step 3 Enter the numbers of rows you want to export.

For example, if you want to export the first 10 rows and fourteenth row, you should enter 1-10,14 in the text field.

Step 4 Click OK.


Device List Report

The DCR Device List Report displays the complete list of all devices.

In CiscoWorks local mode, this report displays the information of all devices in the repository.

In ACS mode, this report displays only the information of devices that are configured in ACS. You can view list of devices that are yet to be configured in ACS using the Devices Not Configured In ACS Report report.

To generate the Device List Report:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Reports.

The Report Generator page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click the report link in the Available Reports pane to expand the list of available DCR Reports.

Step 3 Click Device List Report from the list of reports.

Step 4 Select one or more of the following options available in the Information pane on the right. This is optional.

Include All Identity Attributes — Displays the information about the identity information of all devices in DCR.

Include User Defined Attributes — Displays the information about UDFs defined for devices.

If you do not select either of these options, the generated report displays only the Display Name and Device Type.

Step 5 Click Generate Reports to view the selected report.

The Report window appears with the following details:

Type of Attributes In the Report
Item
Description

Mandatory Display Attributes

Display Name

Device name, as you want it to be represented in graphical displays and other reports.

Device Type

Category, Series, and Model information of devices in DCR.

For example, Device Type displays Cisco 3000 Router, Cisco Catalyst 8150 CSR Switch and so on.

Identity Attributes

IP Address

Management IP Address used to access the devices.

Domain Name

Domain name of the device.

Host Name

Hostname of the device.

AUS Device ID

Device ID of the devices managed by Auto Update Server.

User Defined Attributes

All User Defined Fields (UDF).

Displays the information of all user-defined data in separate columns.



Audit Report

The Audit Report displays the complete device list in DCR within a specified period of time.

In ACS mode, this report displays the list of devices that are configured or updated in the Cisco Secure ACS Server within a specified period of time.

To generate the Audit Report:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Reports.

The Report Generator page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click the report link in the Available Reports pane to expand the list of available DCR Reports.

Step 3 Click Audit Report from the list of reports.

Step 4 Select a date range to generate the device list for a specific period of time.

Use the calendar icon displayed to enter a From Date and a To Date. The To Date should be later than the From Date.

The calendar displays the date from the client system.

Step 5 Click Generate Reports to view the selected report.

The Report window appears with the following details:

Item
Description

Device

Display name of devices.

Changed Information

Description of the device information modified.

For example, when a device is added to DCR, this field displays Device Added. When a device is removed from DCR, this field displays Device Deleted.

Date & Time

Date and time when the device information is changed. The date and time is displayed in yyyy-mm-dd hh:mm:ss format.

User

Login name of the user who has modified the device information in DCR.



Excluded Devices Report

The Excluded Devices Report displays the list of devices that should not be added in DCR.

During the Add or Import operations, DCR ensures that the device being added or imported is not listed in the Excluded Device List.

To generate the Excluded Devices Report:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Reports.

The Report Generator page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click the report link in the Available Reports pane to expand the list of available DCR Reports.

Step 3 Click Excluded Devices Report from the list of reports.

Step 4 Click Generate Reports to view the selected report.

The Report window appears with the following device information:

IP Address

Hostname


Imported Device List Report

The Imported Device List Report displays the information about the devices that are imported into DCR from any one of the following import sources:

Import File

Local NMS

Remote NMS

See Importing Devices and Credentials for more information.

To generate the Imported Device List Report:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Reports.

The Report Generator page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click the report link in the Available Reports pane to expand the list of available DCR Reports.

Step 3 Click Import Status Report from the list of reports.

Step 4 Click Generate Reports to view the selected report.

The Report window appears with the following details.

Item
Description

Display Name

Device name, as you want it to be represented in graphical displays and other reports.

Host Name

Hostname of the device.

IP Address

Management IP Address used to access the devices.

AUS Device ID

Device ID of the devices managed by Auto Update Server.

Device Type

Category, Series, and Model information of devices in DCR.

For example, Device Type displays Cisco 3000 Router, Cisco Catalyst 8150 CSR Switch and so on.



Devices Not Configured In ACS Report

The report displays the list of devices in DCR that need to be configured in ACS. You can generate this report only when the AAA mode is set to ACS.

The list shown by this report might not be accurate in the following cases:

If the ACS Admin Name/ ACS Admin Password given in the AAA Setup page is not correct.

If there is an HTTP protocol mismatch between the ACS configuration in the CiscoWorks Server and the actual ACS settings.


Note You cannot export IPv6 devices to ACS server. IPv6 devices are considered as unauthorized devices in ACS.


You must correct any ACS configuration mismatch before you generate this report. You can use the Refresh button to update the device cache and synchronize with ACS server. You need not re-login into CiscoWorks Server to view the updated device information.

To generate the Devices Not Configured in ACS report:


Step 1 Go to the CiscoWorks home page and select Common Services > Device and Credentials > Reports.

The Report Generator page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Click the report link in the Available Reports pane to expand the list of available DCR Reports.

Step 3 Click Devices that are not configured in ACS report from the list of reports.

Step 4 Click Generate Reports to view the selected report.

The Report window appears with the following details.

Item
Description

Display Name

Name of the device.

Attributes

IP Address and Hostname of the device.



Configuring Device Selector

The improved Device Selector allows you to search the devices in DCR. It helps to locate the devices and perform the various device management tasks quickly. With this improved Device Selector, you need not remember the device type or application group hierarchy to locate the devices.

The devices are categorized under the Device Type based groups, User Defined groups, Subnet Based groups, Application Specific groups or under All Groups.

You can define the settings of the Device Selector pane to customize the display of devices and the order of display. You can customize the top level groups, sub-groups and the list of devices displayed under each group using the Group Customization option.

The Group Ordering option allows you to specify the order of display in which the groups are seen in the Device Selector pane. See Device Selector Settings for more information.

The Device Selector Settings are specific to each user. You can search for devices using a Simple search or an Advanced search. See Searching Devices for more information.

Tool tips are also provided for devices that contain long names so that you do not have to scroll horizontally to see the complete device name.

This section contains the following information:

Using Device Selector

Selecting Devices for Device Management Tasks

Searching Devices

Device Selector Settings

Using Device Selector

The Device Selector is used to select devices to perform various device management tasks. This lists all devices in a group. The Display Name of the devices entered when you have added the devices in DCR is displayed as the device name in the Device Selector pane.


Note If you have configured your CiscoWorks Server in AAA mode, the devices will be listed based on your role and associated privileges that are defined in Cisco Secure ACS.


The Device Selector contains the following components:

Component Name
Description

Search Input

Enter your search expression in this text field.

You can enter a single device name or multiple device names in this field. You can enter the following as search inputs for searching multiple devices:

Comma separated list of full device names

Device names with wildcard characters ? and * to search for multiple devices matching the text string entered in this input field.

The wildcard character ? matches single character in a device name and the wildcard character * matches multiple character in a device name.

Combination of comma separated list of device names, and device names with wildcard characters.

See Performing Simple Search for more information.

Search

Use this icon to perform a Simple search of devices, after you have entered your search input. See Performing Simple Search for more information.

Advanced Search

Use this icon to perform an Advanced search of devices. See Performing Advanced Search for more information.

All

This tab lists all the top-level device groups and the device names under each group in a hierarchical format (tree view).

The top-level device groups include:

All Devices

Device Type Groups

Subnet Groups

User Defined Groups

Application Specific Groups (such as Campus Specific and RME Specific)

See Understanding Device Groups for more information on types of device groups.

Search Results

This tab displays all your Simple or Advanced search results and you can select all devices, clear all devices, or select a few devices from the list.

The Simple search results are based on the display name of the devices added to DCR. The Advanced search results are based on the grouping attributes of the application's grouping services server.

Selection

This tab lists all the devices that you have selected in the All or Search Results tab or through a combination of both. You can also use this tab to deselect the devices you have already selected.

You can perform more than one search and can accumulate your selection of devices.


The Device Selector displays the number of devices selected by you at the bottom. When you click the link provided, it launches the Selection Tab.

Tool tips are also provided for devices that contain long names so that you do not have to scroll horizontally to see the complete device name.

Selecting Devices for Device Management Tasks

You can select devices to perform various device management tasks such as editing device credentials and viewing device credentials, using any of these methods:

Selecting Devices From All Tab

Selecting Devices From Search Results

Combination of Selection From All Tab and Search Results

Selecting Devices From All Tab

The All tab lists the top-level device groups and the device names under each group in a hierarchical format (tree view).

You can select the devices from the tree view. The Selection tab shows the flat list of selected devices from the All tab.

You should expand the nodes of the top-level device groups and sub groups to see the list of devices within a group and select the devices you want. We recommend that you do not expand and leave the multiple group nodes open at a time. This may affect the performance of the device selector.

Selecting Devices From Search Results

You can perform a Simple Search or an Advanced Search, and the search results are displayed under the Search Results tab. You can select the devices you want from the Search Results tab. The Selection tab and the All tab, display the devices you have selected from the Search Results tab.


Note You can perform more than one search and can accumulate your selection of devices.


Combination of Selection From All Tab and Search Results

You can select the devices from the All tab and add more devices to the Selection list from the Simple or Advanced search results in the Search Results tab.

The Selection tab displays the accumulated list from both All and Search Results tabs.

You can enter another search criteria and select more devices. The selected devices are accumulated in the Selection tab.

Searching Devices

With the improved Device Selector, you can search the devices by performing a Simple search or an Advanced search. In both cases, you do not need to remember the name of the devices and the groups in which the devices are grouped.


Note The search string is not case sensitive in Common Services.


This section contains the following:

Performing Simple Search

Performing Advanced Search

Performing Simple Search

You can enter your search criteria in the Search Input field and search for the devices using the Search icon. The search results are based on the display name of the devices added in DCR.

Note the following points when you perform a Simple search.

You can enter a comma separated list of device names to search for multiple devices.

You can use the wildcard characters * and ? to search for multiple devices that match the text string entered in this input field. Multiple wild card characters are allowed in a search string.

You can use the combination of comma separated list of device names and wildcard characters in the device names to search for multiple devices.

If you are not using the wild card characters, make sure that you enter the full device name.

For example, when you enter device2?, *.cisco1,*device10* as search input, the system displays:

Device names starting with device2 and with only one character after device2

Device names ending with .cisco1

Device names containing the text string device10

Performing Advanced Search

Use the Advanced Search icon to open the Advanced Search popup window and specify a set of rules for performing an Advanced search. The advanced search is based on the grouping attributes of the application's grouping server.

For example, when you launch an Advanced Search from Campus Manager Device Selector, the attributes of the Campus Manager grouping server appears.

You can create a rule in the Advanced Search dialog box by either:

Using Expressions

or

Using Rule Text Fields

You can verify whether the rule you have entered is correct using the Check Syntax button, and reset the rule you have created using the Clear button.

Using Expressions

You can use expressions to form a rule in the Advanced Search Dialog box. Each rule expression contains:

Device Type — Object type used for forming a group. All expressions start with the string Device

Variables — Device attributes used to form a device group. The list of variables for advanced search are Category, DeviceIdentity, DisplayName, DomainName, HostName, ManagementIpAddress, MDFId, Model, Series, SystemObjectID, and the user-defined data, if any.

The device attributes listed in Variables list box are specific to Common Services only. The list of device attributes are different across CiscoWorks applications. The Advanced Search window in the Device Selector of CiscoWorks applications displays the respective device attributes as variables.

Operators — Various operators to be used with the rule. The list of operators includes equals, contains, startswith, and endswith. The list of operators changes dynamically with the value of the variable selected.

For the ManagementIpAddress variable, you can select the range operator other than the standard list of operators. The range operator enables you to search for devices of the specified range of IP Addresses. SeeUsing IP Address Range to Form a Search Rule for more information.

Value — Value of the variable. The value field changes dynamically with the value of the variable and operator selected, and this may be a text field or a list box.

After you define the rule settings, click Add Expression to add the rule expression.

You can also enter multiple rule expressions using the logical operators. The logical operators include OR, EXCLUDE and AND.

Using IP Address Range to Form a Search Rule

The range operator enables you to search the devices of the specified range of IP Addresses. You can select the range operator only for the ManagementIpAddress variable.

You should enter the range of IP Addresses in the Value field, to create a search rule based on IP Address ranges.

When you enter the IP Address range in the text field, you should:

Specify the range with permissible values for one or more octets in the IP Address.

The minimum limit in the range is 0 and the maximum limit is 255.

Use the hyphen character (-) as a separator between the numbers within a range.

Specify the range of IP Addresses within the [ and ] characters to create a group rule.

For example, you can enter 10.10.10.[0-255] or 10.10.[0-255].[0-255] in the Value field.

You should not:

Enter numbers lesser than 0 and greater than 255 in the IP Address range.

Enter any other characters other than the range separator (-).

Enter the value of highest limit in the range as less than the value of smallest limit number. For example, you should not enter 10.10.10.[8-4].

Example for forming a Search Rule Using Expressions

For example, if you want to search all the devices in the network whose display name contains TestDevice or their IP Addresses within the range 10.10.210.207 to 10.10.212.247, you must perform the following:


Step 1 Click the Advanced Search icon in the Device Selector pane.

The Define Advanced Search Rule dialog box appears.

Step 2 Create a search rule expression. To do so:

a. Select Variable as DisplayName

b. Select Operator as equals

c. Enter the Value as TestDevice

Step 3 Click Add Rule Expression.

The rule is added into the Rule Text.

Step 4 Create another rule expression. To do this:

a. Select OR as the logical operator

b. Select Variable as ManagementIPAddress

c. Select Operator as range

d. Enter the Value as 10.10.[210-212].[207-247]

Step 5 Click Add Rule Expression.

The rule is appended into the Rule Text.

Step 6 Click Search to display the devices that satisfies the specified rule in the Device Selection dialog box.


Using Rule Text Fields

You can use Rule Text Fields to directly enter a rule without building any expressions. Ensure the rule you create follows the syntax Object type.Variable Operator Value.

You can also enter multiple rule expressions using the logical operators.

For example, if you want to search all the devices in the network whose display name contains TestDevice or their SysObjectIDs start with 1.3.12.1.4, you must construct a rule as follows:

Device.DisplayName contains "TestDevice" OR Device.SystemObjectID startswith "1.3.12.1.4"


Note We recommend that you use expressions to construct a complex rule instead of creating them using the Rule Text field. Use the Rule Text field to make any minor edits to the constructed rule.


Additional Notes

Read the following notes before you perform a advanced search:

You cannot use wild card characters in the Value field. Instead you can use the operator as startswith or contains.

You can use Check Syntax button, when you add or modify a rule manually.

You must delete the complete rule expression including the logical operator, when you delete a portion of your rule.

The search string is case-insensitive.

Device Selector Settings

The devices are categorized under the Device Type groups, User Defined groups, Subnet groups, Application specific groups or under All groups.

You can define the settings of the Device Selector pane to customize the display of devices and the order of display. These configurations are specific to each user and you can save them.

The devices are displayed in the appropriate category based on your roles and privileges. All the devices will be listed to the administrator role.

This section has the following information:

Understanding Device Groups

Customizing Device Grouping

Customizing Display Order of Device Groups

Understanding Device Groups

The Device Selector pane displays the following top-level device groups:

All Devices

Device Type Groups

Subnet Groups

User Defined Groups

Application Specific Groups

All Devices

The All Devices Group displays all the devices in the application in the alphabetical order of their display names. The display names are defined when you have added the devices in DCR.

Device Type Groups

The Device Type Groups displays all devices in groups and subgroups based on their Device Category, Series and Model. By default, the device grouping is based on their Device Categories such as Routers, Switches and Hubs.

The Device Category Groups folder can contain devices in subgroups based on their Device Series. For example, the Device Category Group Router can contain devices (Routers) in subgroups Cisco 7000 Router Series and Cisco 12000 Router Series.

The Device Series subgroup can contain subgroups of devices based on their Model. For example, the subgroup Cisco 12000 Router Series can contain the devices Cisco 12012 Router and Cisco 12816 Router.

See Customization of Device Type Groups for information on customizing the display of devices under Device Type Groups.

Subnet Groups

You can see Subnet Groups, only when Campus Manager is installed. It contains device groups from the Campus Manager application.

In a Multi Server setup, when two or more servers are installed with the Campus Manager application, then the Subnet Groups from all the servers will be aggregated and displayed under the Subnet Groups folder in the Device Selector pane.

See Customization of Subnet Groups for information on customizing the display of devices under this group.

User Defined Groups

The User Defined Groups are created by users to administer the applications. The User Defined Groups are created in Groups Administration window based on defined group rules.

All User Defined Groups (shared groups) from all application group hierarchies are collated and shown as subgroups under this group. In a Multi Server Setup, the top level User Defined Groups will be named as User Defined Groups@Server Name.

When there are more than one User Defined Group with the same name, the Device Selector displays all of them. You have to use the Tooltip to find the source server where the User Defined Group is created.


Tip We recommend you to provide unique and meaningful names to User Defined Groups when you create them to avoid the display of multiple User Defined Groups with the same name.


See Customization of User Defined Groups for information on customizing the display of devices under this group.

Application Specific Groups

The Application Specific Groups list the groups based on device types or states specific to CiscoWorks applications. These application specific groups are not needed in other applications.

By default, the Application Specific Groups are displayed in the Device Selector pane of respective applications.

For example, RME Device Selector displays RME as the top level (application) group and sub device groups specific to device states in RME such as Normal Devices and Pre-deployed Devices.

In a Multi Server setup, the top level Application Specific Groups will be displayed as Application@Server Name.

For example, the Campus Manager and RME Application Groups will be displayed as Campus@Host1, Campus@Host2 in the Campus Manager Device Selector pane.

You can customize the Device Selector to display all the Application Groups from the local server or all peer servers in the Device Selector pane of all CiscoWorks applications, in a Multi-Server setup. The Application Specific Groups are displayed in the Device Selector pane of all applications, only when the particular application is installed.

For example, in a server setup with two servers Host1 and Host2, the Device Selector pane of all applications displays Campus@Host1, Campus@Host2, RME@Host1, RME@Host2, DFM@Host1 and DFM@Host2 groups.


Note DFM Application Groups are not shared with any applications and will not be displayed in Device Selector of Common Services or any applications like RME and Campus. DFM Application Groups will be displayed only in the Device Selector of DFM application.


See Customization of Application Specific Groups for information on customizing the display of devices under this group.

Customizing Device Grouping

You can customize the device grouping and display the customized device groups in the Device Selector pane. See Understanding Device Groups for more information on Device Groups.

You can use the Group Customization option to customize the display of device groups.

This section contains:

Customization of Device Type Groups

Customization of Subnet Groups

Customization of User Defined Groups

Customization of Application Specific Groups

Customization of Device Type Groups

You can display or hide the Device Type Groups folder in the Device Selector pane using the Group Customization option. You can customize the Device Type Based Groups folder to display:

All devices in groups, based on their Device Category only

All devices in groups and subgroups, based on their Device Category and Series

All devices in groups and subgroups, based on their Device Category, Series and Model

By default, the Device Type Group folder displays the devices in sub groups based on their category only.

To display the devices in groups based on their Device Category:


Step 1 Go to the CiscoWorks home page and select Device and Credentials > Device Selector Settings > Group Customization from the Common Services application.

The Group Customization page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Check the Show Category Groups check box from the Device Type Based Groups panel.

Step 3 Click Apply to save your changes or click Restore Defaults to restore the default values.


To display the devices in groups and subgroups based on their Device Category and Series:


Step 1 Go to the CiscoWorks home page and select Device and Credentials > Device Selector Settings > Group Customization from the Common Services application.

The Group Customization page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Check the Show Series Groups check box from the Device Types Based Groups panel.

When you check the Show Series Groups check box, the Show Category Groups checkbox will also be checked automatically and will be disabled.

Step 3 Click Apply to save your changes or click Restore Defaults to restore the default values.


To display the devices in groups and subgroups based on their Device Category, Series and Model:


Step 1 Go to the CiscoWorks home page and select Device and Credentials > Device Selector Settings > Group Customization from the Common Services application.

The Group Customization page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Check the Show Model Groups check box from the Device Type Based Groups panel.

When you check the Show Model Groups check box, the Show Category Groups and Show Series Groups checkboxes will also be checked automatically and will be disabled to you.

Step 3 Click Apply to save your changes or click Restore Defaults to restore the default values.


To hide the display of Device Type Based Folders from the Device Selector Pane:


Step 1 Go to the CiscoWorks home page and select Device and Credentials > Device Selector Settings > Group Customization from the Common Services application.

The Group Customization page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Go to the Device Type Based Groups Panel and uncheck all the checkboxes.

Step 3 Click Apply to save your changes.


Customization of Subnet Groups

The Subnet Groups contains device groups from the Campus Manager application. By default, the Subnet Based Groups folder is not displayed in the Device Selector pane.

You can customize the Device Selector pane to display the Subnet Based Groups folder using the Group Customization option.

To display the devices under Subnet Based groups in the Device Selector Pane:


Step 1 Go to the CiscoWorks home page and select Device and Credentials > Device Selector Settings > Group Customization from the Common Services application.

The Group Customization page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Check the Show Subnet Groups at the First Level check box from the Subnet Based Groups Panel.

Step 3 Click Apply to save your changes or click Restore Defaults to restore the default values.


Customization of User Defined Groups

You can customize the User Defined Groups folder in the Device Selector pane to contain the following:

Only User Defined Groups created by you in the local server

Only User Defined Groups created by you in all Peer Servers in a Multi Server setup

All User Defined Groups created by any user in the local server

All User Defined Groups created by any user in all Peer Servers in a Multi Server setup

By default, you can view all the User Defined Groups (irrespective of any user) created in the local server in the Device Selector pane.

To display only the User Defined Groups created by you:


Step 1 Go to the CiscoWorks home page and select Device and Credentials > Device Selector Settings > Group Customization from the Common Services application.

The Group Customization page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select My User Defined Groups from the Show drop down list box in the User Defined Groups panel.

Step 3 Select either:

Local CiscoWorks Server from the From drop down list to display the User Defined Groups created by you in the local server.

Or

All Peer CiscoWorks Servers from the From drop down list box to display the User Defined Groups created by you in all the servers in a Multi-server setup.

In a Standalone Server Setup, the From drop down list box contains only Local CiscoWorks Server list item.

Step 4 Click Apply to save your preferences.


To display all the User Defined Groups created by all users:


Step 1 Go to the CiscoWorks home page and select Device and Credentials > Device Selector Settings > Group Customization from the Common Services application.

The Group Customization page appears.

Alternatively, you can navigate to this page from the LMS Portal home page if you have installed the LMS Portal application on CiscoWorks Server.

Step 2 Select All User Defined Groups from the Show drop down list box in the in the User Defined Groups panel.

Step 3 Select either:

Local CiscoWorks Server from the From drop down list to display the User Defined Groups in the local server.

Or

All Peer CiscoWorks Servers from the From drop down list box to display the User Defined Groups in all the servers in a Multi-server setup.

In a Standalone Server Setup, the From drop down list box contains only Local CiscoWorks Server list item.

Step 4 Click Apply to save your preferences.


Customization of Application Specific Groups

The Application Specific Groups folder in the Device Selector Pane contains the device groups specific to the application.

You can customize the Application Specific Groups folder in the Device Selector pane to contain the following:

Only the application specific groups in the local server — For example, you can see only the RME Groups created in the local server, in RME Workflows and DFM Groups created in the local server in DFM Workflows.

Only the application specific groups in all Peer Servers in a Multi-Server setup — You can see the RME Groups created in all Peer Servers, in RME Workflows.

For example, you can see RME@Master, RME@Slave1, and RME@Slave2 as the top level groups in the Device Selector pane.

All the application groups created in the local server — You can see the Application Groups created in the local server, as the top level groups in the Device Selector pane.

For example, you can see Campus, DFM and RME if the applications are installed on a CiscoWorks Server.

All the application groups created in all Peer Servers in a Multi-Server setup — You can see the Application Groups created in all Peer Servers as the top level groups in the Device Selector pane.

For example, you can see RME@Master, Campus@Master, RME@Slave1, Campus@Slave1, RME@Slave2, and DFM@Slave2 as the top level groups in the Device Selector pane irrespective of the application workflow.

By default, you can view the application groups created in the local server only in the Device Selector pane of the respective applications.

To display only local application groups in the Device Selector Pane: