I am trying to automate deleting Network Devices from ACS 5.6.
I have delete.csv file with list of devices which I would like to delete:
When I log to ACS via cli and execute command for import delete file I get this output:
.../acsadmin(config-acs)# import-data add device tftp delete.csv delete_res.txt abort-on-error noneCannot start import.Header is incorrect. Download Import Template for required header record.
But when I execute import file from web management, everything goes well:
-------- Summary --------Total Number of Records Processed 2Number of Records Failed 0Number of Records processed successfully 2
So please, is here someone who knows what i do wrong?
Go to Solution.
To delete devices, try the following command:
import-data delete device tftp delete.csv delete-res.txt abort-on-error none
Also, make sure the file file is plain text only. If you're still having problems, enable the following debug:
debug-log mgmt level debug
Then try the operation again, download a support bundle and look at the logs for clues.
View solution in original post
Stupid mistake. Thank you very much.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: