Cisco Cisco Prime Network Registrar 8.1 Technical References
ExportDeviceResourceRecord
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide
62
ExportDeviceResourceRecord
Overview
The
ExportDeviceResourceRecord
CLI exports a list of the resource records for a
device or group of devices into a specified file. This export will only include resource
records (regardless of type) that are visible on the device’s Resource Record tab within the
user interface. This file can be modified and then used with the
ImportDeviceResourceRecord
CLI or the
ModifyDeviceResourceRecord
CLI.
Usage
Direct
$INCHOME/jre/bin/java –cp $CLASSPATH
com.diamondip.ipcontrol.cli.ExportDeviceResourceRecordCLI –u <adminId>
-p <admin password> -f <export filename> [-i ipaddress] [-n deviceName]
[-d udfName=value] [-m domainName] [-a domaintype] [-r ipaddress1/ipaddress2]
[-e devicetype] [-b blockName] [-c containerName] [-t blocktype] [-h] [-o option] [-?]
[-v]
com.diamondip.ipcontrol.cli.ExportDeviceResourceRecordCLI –u <adminId>
-p <admin password> -f <export filename> [-i ipaddress] [-n deviceName]
[-d udfName=value] [-m domainName] [-a domaintype] [-r ipaddress1/ipaddress2]
[-e devicetype] [-b blockName] [-c containerName] [-t blocktype] [-h] [-o option] [-?]
[-v]
Via command script (Unix)
$INCHOME/etc/ExportDeviceResourceRecord.sh –u <adminId> -p <admin password>
-f <export filename> [-i ipaddress] [-n deviceName] [-d udfName=value] [-m domainName]
[-a domaintype] [-r ipaddress1/ipaddress2] [-e devicetype] [-b blockName]
[-c containerName] [-t blocktype] [-h] [-o option][-?] [-v]
-f <export filename> [-i ipaddress] [-n deviceName] [-d udfName=value] [-m domainName]
[-a domaintype] [-r ipaddress1/ipaddress2] [-e devicetype] [-b blockName]
[-c containerName] [-t blocktype] [-h] [-o option][-?] [-v]
Via command script (Windows) from the %INCHOME%/etc/cli directory
ExportDeviceResourceRecord.cmd –u <adminId> -p <admin password> -f <export filename>
[-i ipaddress] [-n deviceName] [-d udfName=value] [-m domainName] [-a domaintype]
[-r ipaddress1/ipaddress2] [-e devicetype] [-b blockName] [-c containerName]
[-t blocktype] [-h] [-o option][-?] [-v]
[-i ipaddress] [-n deviceName] [-d udfName=value] [-m domainName] [-a domaintype]
[-r ipaddress1/ipaddress2] [-e devicetype] [-b blockName] [-c containerName]
[-t blocktype] [-h] [-o option][-?] [-v]
Parameters
Parameter
Required
Description
-u <userId>
Yes
User Id
-p <pwd>
Yes
Password
-?
No
Print help
-f <export filename>
No
The name of the file to export the data to. If no file name is
specified, results are outputted to the screen.
-c <containerName>
No
Filter. Allows you to filter export based on the name of the
container the device is located in.
-d <udfName=value>
No
Filter. Allows you to filter export based the user defined name
and value the device owns.
-e <devicetype>
No
Filter. Allows you to filter export based the user device type
name.
-i <ipaddress>
No
Filter. Allows you to filter export based the device’s IP
Address.
-m <domain>
No
Filter. Allows you to filter export based on the domain name
of the device.
-a <domaintype>
No
Filter. Allows you to filter export based on the domain type of
the device.
-n <name>
No
Filter. Allows you to filter export based on the device
hostname.