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

CSV file format for deleting devices

tbenton
Level 1
Level 1

I have RME 3.4 and use the CSV file format for importing devices into CW2K. Due to a renaming scheme going on thru the network I will need to delete several devices per day from our CW2K servers.

What is the CSV format for the Delete from File found in Administration>Delete from FIle?

I have tried the same as the import from file and normally use the crimport command in unix.. but this does not work when attempting a delete

Anyone know the correct CSV format?????

1 Reply 1

rmushtaq
Level 8
Level 8

Delete from File uses the exact same .csv file that Import From File use.

Ensure that you export device information to a CSV file. The CSV file with the inventory data is saved at the following location: NMSROOT/files/inventory (in case of Windows) and /opt/CSCOpx/files/inventory (in case of UNIX). Edit the CSV file, so that it contains the devices you want to delete from your network.

Either use the GUI or the CLI script:

NMSROOT/bin/perl deleteDevice.pl -[option] filename -u username - p password

Where option:

s Suspend the devices

d Delete the devices

Where:

filename Valid CSV filename that contains the list of devices to be deleted. Only CSV file is supported.

username CiscoWorks server username.

password CiscoWorks server password.