cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
0
Helpful
1
Replies

Discovery from export

Hi,

is it possible to add devices to DCR automatically from the CLI?

Pratically if I export all the devices using cwcli utility in CSV format, can I import those devices to the inventory with the same format (CSV) .

I want to put this command in the automated Windows task

thank you

Fabrizio

1 ACCEPTED SOLUTION

Accepted Solutions
Svetlana Radzevich
Cisco Employee

We have dcrcli to work with DCR.

In order to import you should use:

dcrcli> exp fn=test ft=csv

In order to export them you should use:

dcrcli>impFile fn=test ft=csv cr=file

In order to have access to dcrcli, you should run from $NMSRoot\bin: dcrcli -u admin.

Svetlana

View solution in original post

1 REPLY 1
Svetlana Radzevich
Cisco Employee

We have dcrcli to work with DCR.

In order to import you should use:

dcrcli> exp fn=test ft=csv

In order to export them you should use:

dcrcli>impFile fn=test ft=csv cr=file

In order to have access to dcrcli, you should run from $NMSRoot\bin: dcrcli -u admin.

Svetlana

View solution in original post

Content for Community-Ad