Cisco Cisco Prime Network Registrar 8.1 기술 참조

다운로드
페이지 316
ExportChildBlock 
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide 
     53 
ExportChildBlock 
Overview 
The 
ExportChildBlock
 CLI exports a list of all the Child Blocks into a specified file.  
This file can be modified and then imported using the 
ImportChildBlock
 CLI. 
Usage 
Direct 
$INCHOME/jre/bin/java –cp $CLASSPATH com.diamondip.ipcontrol.cli.ExportChildBlockCLI  
-u <user> -p <pwd> [-n name] [-i <ipaddress>] [-j <interface] [-d <user defined field 
name=value>] [-r <ipaddressrange>] [-s <status>] [-b <block>] [-c <container>] [-t 
<blocktype>] [-f <export-file>] [-pb <parentBlock>] [-pc <parentContainer>] [-v] [-h] [-
l] [-?] 
Via command script (Unix) 
$INCHOME/etc/ExportChildBlock.sh -u <user> -p <pwd> [-n name] [-i <ipaddress>] [-j 
<interface] [-d <user defined field name=value>][-r <ipaddressrange>][-s <status>] [-b 
<block>] [-c <container>] [-t <blocktype>][-f <export-file>] [-pb <parentBlock>]  
[-pc <parentContainer>] [-v] [-h] [-l] [-?] 
Via command script (Windows) from the %INCHOME%/etc/cli directory 
ExportChildBlock.cmd -u <user> -p <pwd> [-n name] [-i <ipaddress>] [-j <interface] 
[-d <user defined field name=value>][-r <ipaddressrange>][-s <status>] [-b <block>]  
[-c <container>] [-t <blocktype>][-f <export-file>] [-pb <parentBlock>]  
[-pc <parentContainer>] [-v] [-h] [-l] [-?] 
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. 
-n <block name> 
No 
Filter.  Specify the name of a specific block or use the wildcard 
character ‘*’ to perform a partial match on the name.  If the block name 
contains embedded spaces, surround the name with double-quotes “ “. 
-pb < parentBlock > 
No 
Filter. Specify the name of the specific block’s parent or starting 
address followed by /CIDR size 
-pc <parentContainer>  No 
Filter. Specify the name of the specific block’s parent block’s container. 
Only valid when accompanied by –pb option.  Specifying the container 
can help to avoid ambiguity.  A fully qualified container name may be 
supplied. 
-b <block 
address/size> 
No 
Filter.  Specify the CIDR notation of a block.  That is, specify the 
starting IP address for the block, followed by the block size, separated 
by a slash ‘/’.  For example, 10.0.0.0/24.  The wildcard character ‘*’ can 
be used in the start address only. 
-t <block type> 
No 
Filter.  Specify the name of a specific block type or use the wildcard 
character ‘*’ to perform a partial match on the block type name. 
-c <container name> 
No 
Filter.  Specify the name of a specific container or use the wildcard 
character ‘*’ to perform a partial match on the container name.