or
• Import Devices Using CLI
Import Using Device and Credential Interface
To import device information using Device and Credential Admin Interface:
Step 1 Go to the CiscoWorks home page and select Inventory > Device Administration > Add / Import / Manage Devices.
The Device Management page appears.
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
• 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 in Administration Guide for CiscoWorks LAN Management Solution 4.0 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 in Administration Guide for CiscoWorks LAN Management Solution 4.0 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 Installation and Data Migration Guide for CiscoWorks LAN Manager 4.0 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:
Step 3 Select either Use data from Import source or Use data from DCR, to resolve conflicts during import.
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
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 in Administration Guide for CiscoWorks LAN Management Solution 4.0 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 in Administration Guide for CiscoWorks LAN Management Solution 4.0 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 Installation and Data Migration Guide for CiscoWorks LAN Manager 4.0 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).
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 in Administration Guide for CiscoWorks LAN Management Solution 4.0 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 in Administration Guide for CiscoWorks LAN Management Solution 4.0 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.