Технические ссылки для Cisco Cisco Prime Network Registrar 8.1
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
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
Note: This is the same format that the
ImportDevice
CLI requires.
Col
Field
Accepted Values
Required
A
IP Address
The IP address of the device and its device
interfaces delimited by ‘|’.
Yes
B
Address Type
The Address type of the device.
Yes
C
Hostname
The hostname of the device.
Yes
D
Device Type
The device’s device type.
Yes
E
Hardware Type
The device’s hardware type.
No
F
Mac Address
The Mac Address of the device and its device
interfaces delimited by ‘|’
No
G
Resource Record Flag
“true” if the device is to automatically create an ‘A’
or ‘AAAA’ record upon import, ‘false’ if not.
No
H
Domain Name
The device’s domain name.
No
I
Container Name
The container name the device is located in.
Yes
J
Domain Type
The device’s domain type.
No
K
Description
The device’s description.
No
L
User Defined Fields
The device’s user defined field and values delimited
by ‘|’
No
M
Aliases
The device’s alias names
No
N
Duplicate warning
‘False’ if this is a duplicate, ‘true’ if not.
No
O
Interface Names
The device’s interface names
No
P
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
–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