Cisco Cisco Prime Network Registrar 8.1 Technical References
DeleteAggregateBlock
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide
79
Deletions
DeleteAggregateBlock
Overview
The
DeleteAggregateBlock
CLI allows the user to delete an intermediate level
Aggregate block from the block hierarchy. By specifying the block to be deleted, Cisco
Prime Network Registrar IPAM validates and deletes the block. It also adjusts the parent
block assignments of any child blocks.
Usage
Direct
$INCHOME/jre/bin/java –cp $CLASSPATH com.diamondip.ipcontrol.cli.DeleteAggregateBlockCLI
–u <adminId> -p <admin password> -f <import filename> [-r <rejects file>]
[-e <error messages>] [-?]
–u <adminId> -p <admin password> -f <import filename> [-r <rejects file>]
[-e <error messages>] [-?]
Via command script (Unix)
$INCHOME/etc/cli/DeleteAggregateBlock.sh –u <adminId> -p <admin password>
-f <import filename> [-r <rejects file>] [-e <error messages>] [-?]
-f <import filename> [-r <rejects file>] [-e <error messages>] [-?]
Via command script (Windows) from the %INCHOME%/etc/cli directory
DeleteAggregateBlock.cmd –u <adminId> -p <admin password> -f <import filename>
[-r <rejects file>] [-e <error messages>] [-?]
[-r <rejects file>] [-e <error messages>] [-?]
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
Container
The name of the container holding the aggregate
block to be deleted. Names can be in either short
or long format. Short format example: Dallas. Long
format example: Cisco Prime Network Registrar
IPAM/Texas/Dallas.
Long format eliminates ambiguity in cases where
there are duplicate container names.
Yes
B
Start Address
The start address of the aggregate block.
Yes
C
Block Size
The size of the block in short-notation (e.g., 24 for
a 255.255.255.0 network).
Yes