03-28-2012 06:51 AM - edited 03-10-2019 06:57 PM
Hi, I need to identify a method to modify a large number of network devices in ACS 5.3, with name, type and location update.
Is export/import the best solution ?
thanks
renato
Solved! Go to Solution.
03-28-2012 08:55 AM
Hi Renato,
Export/import is a good option already.
Another option are Python shell scripts:
http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/sdk/cli_imp_exp.html
Regards,
Federico
03-28-2012 08:55 AM
Hi Renato,
Export/import is a good option already.
Another option are Python shell scripts:
http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.3/sdk/cli_imp_exp.html
Regards,
Federico
03-28-2012 12:53 PM
Import / Export is the easiest
Do the following
Network Resources > Network Devices and AAA Clients and press "Export" and start Export. Will save the data into into a csv file. The csv file has an entry for each network device divided to fields. The header is the top line and must be unchanded.
Now there is one extra step. Since you want to modify existing entries you also need to add an existing field in the csv file/header to allow a new name to be entered. This allows an existing entry for a network device, identified by its name, to be given a new name and so needs an additional column to be added to the csv
Therefore (assume using Excel)
- Insert a new column in the Excel spreadsheet after that with the name
- In header add the following "Updated name:String(64):Required"
- in each device entry add the new name for any device to be renamed. If no device is to be renamed need to reenter the same name. So best to copy contents of first column to the second
Now
- Press "File Operations" -> Select "Update" -> Next -> Next -> Enter name of import file and then Finish
03-30-2012 05:31 AM
Thank you very much for the answer !
It's clear for the name update, but for the location and type input ?
Do I need to add fields in the header ?
thanks
renato
03-30-2012 05:39 AM
You do not need to fields to the header for location and type input and can just edit the exisitng values for these fields
This is only done for the name field since the name field is used to identify the network device. Therefore must always identify the exisitng record and give the existing name as well as the new one. For all other fields, including location and device type, the old value is not requried
06-22-2012 03:22 AM
Hi, ACS 5.3 patch 5, the file operation/update fails with "import failed, please try again later".
No changes, any suggest ?
thank you in advance
greatings
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide