AOS-CX Job Scheduler
This post shows how to set up a scheduled job to automate repetitive tasks on Aruba AOS-CX switch.
In my case, I needed to reload my door intercom once a month to clear its cache and improve its response time, so I configured a job that resets the device by disabling the port and PoE, then re-enabling them after a short delay.
Configure the required task:
job RESET_INTERCOM desc Reset Door Intercom Station 10 cli interface 1/1/48 20 cli no link-poe 30 delay 10 cli link-poe
We can configure any commands we want, with a delay between each one and order them with sequence numbers, which is very useful when we would like to change or add commands on anĀ already configured job.
Here I’ve specified interface 1/1/48, disabled the link status and PoE (no link-poe), then re-enabled them after a 10-second delay (delay 10).
Now let’s configure the required schedule:
schedule RESET_INTERCOM 10 job RESET_INTERCOM trigger on 00:00 monthly 1 start 2026-08-12
This schedule runs the job on the first day of every month at 12:00 AM, starting now and continuing indefinitely.
We have many more options, such as triggering the job at a specific time (one-shoot), every periodic interval or by calendar with count base or indefinitely duration.