Wired Intelligent Edge

 View Only

Help to automate template changes on over 500 switches in Aruba Central using API

This thread has been viewed 1 times
  • 1.  Help to automate template changes on over 500 switches in Aruba Central using API

    Posted Sep 23, 2024 11:41 AM

    Hi, community!

    I'm facing a challenge and I'd like to know if anyone here has gone through this and found a solution. I need to automate the configuration change on over 500 switches managed in Aruba Central, all using templates.

    Specifically, I need to modify the sFlow configuration line, adjusting it to a new IP. I'm trying to do this using Postman and REST API to connect to the environment. I've successfully retrieved information using the API, but I'm having trouble adding or modifying a line within the template efficiently.

    I've looked up some solutions online and followed the official documentation, which provides URLs to access and modify templates. However, the documentation lacks clear examples of how to perform configuration changes.

    My question is: Has anyone managed to make this kind of automated change to templates and apply it to multiple switches at once? If you could share scripts, API examples, or tips on how to automate this process, it would be a great help!

    My goal is to avoid the manual process of editing templates for each switch. Any insight would be appreciated!

    Thanks in advance for any help or advice!