cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1248
Views
0
Helpful
3
Replies

Automate actions in ACS 5

david_mayor
Level 1
Level 1

Hello,

I wanted to know how to automate actions in ACS 5. In many areas of the UI, we can either create new entries or import many entries with csv files. I wanted to know if it is possible to automate these actions such that the ACS, at regular basis, automatically import new and updated csv files. This will allow to keep the ACS synchronized with other database or files generated by other tools.

Is there a way to script on ACS to do that ?

Thanks a lot,

David

3 Replies 3

Bastien Migette
Cisco Employee
Cisco Employee

Hello David,

The only way I see to do so is to use a SSH script, you can use expect script for example.

To import/export data through CLI, type acs-config and use your GUI credentials:

Then you can use the command import-data.

See the reference here:

http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.1/command/reference/cli_app_a.html#wp1661406

Hope this help.

Hello Bastien,

Thanks a lot for that info that I was not aware of.

However, this does not solve my problem because what I would like to import by script is a list of End Station Filters. It seems this choice is not present in the import-data command, am I right ? Is there a way import lists of pairs of MAC Addresses ? The GUI shows the button "Replace from File" but is there a command to do the same in CLI ?

Thank you very much,

With my best regards.

Hi David,

Unfortunately as far as I know this is know possible. I checked the programming guide, and it seems mac addresses in end station filters is not an object that is importable:

http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.1/sdk/cli_imp_exp.html#wp1060859

The only option I see here is to make a pseudo web client which would interact with ACS thru HTTP, but this could be a bit long to develop.

Regards,

Bastien

Getting Started

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: