Cisco Cisco Prime Network Registrar 8.1 Technical References
ImportDhcpServer
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide
23
ImportDhcpServer
Overview
The
ImportDhcpServer
CLI creates DHCP Servers Cisco Prime Network Registrar
IPAM.
Usage
Direct
$INCHOME/jre/bin/java –cp $CLASSPATH com.diamondip.ipcontrol.cli.ImportDhcpServer
–u <adminId> -p <admin password> -f <import_file> [-e <error messages>]
[-r <rejects file>] [-?]
–u <adminId> -p <admin password> -f <import_file> [-e <error messages>]
[-r <rejects file>] [-?]
Via command script (Unix)
$INCHOME/etc/cli/ImportDhcpServer.sh –u <adminId> -p <admin password> -f <import_file>
[-e <error messages>] [-r <rejects file>] [-?]
[-e <error messages>] [-r <rejects file>] [-?]
Via command script (Windows) from the %INCHOME%/etc/cli directory
ImportDhcpServer.cmd –u <adminId> -p <admin password> –f <import_file>
[-e <error messages>] [-r <rejects file>] [-?]
[-e <error messages>] [-r <rejects file>] [-?]
Parameters
Parameter
Required
Description
-u <userId>
Yes
User Id
-p <pwd>
Yes
Password
-?
No
Print help
-f <import filename>
Yes
The name of the CSV file to import. See below for the required
file format.
-r <rejects file>
No
The name of the file that rejected (non-imported) records will be
placed in.
-e <error messages>
No
The name of the file that error messages will be reported in.
File Format
Col
Field
Accepted Values
Required
A
Name
The name of the DHCP Server. This is often the
hostname of the system running the server.
Yes
B
IP Address
The IP Address of the DHCP Server. This must be a
legal IP Address.
Yes
C
Product
The product name of the DHCP Server. This must
be one of the products defined in Cisco Prime
Network Registrar IPAM.
Yes
D
Agent
The Cisco Prime Network Registrar IPAM agent that
manages the server
Yes
E
Default Threshold
The default alert threshold applied to all scopes
managed by this server. This must be a number
between 0 and 100. Defaults to 90.
No
F
Global Sync
Specify TRUE to include this server in Global Sync
tasks. Defaults to false.
No