Технические ссылки для Cisco Cisco Prime Network Registrar 8.1

Скачать
Страница из 316
ExportDevice 
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide 
     61 
Parameter 
Required 
Description 
-v 
No 
Produces verbose output. 
File Format 
The format for the export file is as follows.   
Note:  This is the same format that the 
ImportDevice
 CLI requires. 
Col 
Field 
Accepted Values 
Required 
IP Address 
The IP address of the device and its device 
interfaces delimited by ‘|’. 
Yes 
Address Type 
The Address type of the device. 
Yes 
Hostname 
The hostname of the device. 
Yes 
Device Type 
The device’s device type. 
Yes 
Hardware Type 
The device’s hardware type. 
No 
Mac Address 
The Mac Address of the device and its device 
interfaces delimited by ‘|’ 
No 
Resource Record Flag 
“true” if the device is to automatically create an ‘A’ 
or ‘AAAA’ record upon import, ‘false’ if not. 
No 
Domain Name 
The device’s domain name. 
No 
Container Name 
The container name the device is located in. 
Yes 
Domain Type 
The device’s domain type. 
No 
Description 
The device’s description. 
No 
User Defined Fields 
The device’s user defined field and values delimited 
by ‘|’ 
No 
Aliases 
The device’s alias names 
No 
Duplicate warning 
‘False’ if this is a duplicate, ‘true’ if not. 
No 
Interface Names 
The device’s interface names 
No 
Exclude from Discovery 
flags 
The flags for excluding the device’s IP addresses 
from host discovery. 
No 
Examples 
This example exports all devices to file named 
exportdevice.csv in the current directory. 
$INCHOME/etc/ExportDevice.sh –u joe –p joepwd –f exportdevice.csv  
This example exports devices that contain an IP address within the range of 
10.0.0.1
 
through 
10.0.0.200 
inclusive, to the file 
exportdevice.csv
$INCHOME/etc/ExportDevice.sh –u joe –p joepwd –f exportdevice.csv  
–r 10.0.0.1/10.0.0.200  
This example exports devices that are located in the container named 
Exton
 to the file 
exportdevice.csv
$INCHOME/etc/ ExportDevice.sh –u joe –p joepwd –f exportdevice.csv –c Exton