Cisco Systems 4.1 Dust Collector User Manual


 
3-57
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 3 Adding and Troubleshooting Devices Using Device Management
Device List Manipulation Service
Getting the Device IP Address
Using the DLMS function you can get the device IP address of the specified devices.
Note View Permission Report (Common Services > Server > Reports) to check if you have the required
privileges to perform this task.
The sample XML File for Editing Device and Credentials for all Devices in Device and Credential
Repository (dlmsGetDeviceIPaddress.xml):
<?xml version="1.0"?>
<!DOCTYPE request SYSTEM "D:\\dlms\\dtdexternal.dtd">
<request responseFormat="xml">
<!-- the value for responseFormat could be xml or csv -->
<authentication name="admin" pwd='YWRtaW4='/>
<!-- pwd is 64-based encoded -->
<source>
<host>CiscoWorks-Server</host>
<product>CiscoWorks:RME</product>
<version>2.0</version>
<description>Using DLMS for getting the device IP Address</description>
</source>
<getDeviceIPAddresses>
<!-- <![CDATA[ ... ]]> is needed for the text holding special charactors, such as &, <, >,
', ", -->
</getDeviceIPAddresses>
The example below is a perl code that calls the DLMS URL and passes in the content of an XML file:
perl d:\dlms\dlms.pl CiscoWorks-Server dlmsdlmsSetDeviceCredentials.xml
The DLMS output for getting the device IP address is:
Cisco Systems NM data import, source = Get Devices IP Addr; Version = 2.0; Type
= Csv
;
; Here are the columns of the table.
; Col# = 1: Name (including domain or simply an IP)
; Col# = 2 or above: IP addresses
;
; Here are the rows of data.
;
CE-507:192.168.27.16,
192.168.38.9-UBR925:192.168.38.9,