Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

CSV file format for deleting devices

Unanswered Question
Mar 24th, 2003
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
rmushtaq Mon, 03/24/2003 - 17:21
User Badges:
  • Blue, 1500 points or more

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


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.


This Discussion