AP4000 (ap4k) enable/disable radio script

Aruba Employee
Aruba Employee

A couple of things to know: first, the script only works on APs with a firmware version of 2.5.2 or newer; second, the script works on a group basis, so you may choose to create a temporary group (or clone an existing group to preserve the existing settings). 

Without further ado, here are directions for using the AP4000-enable/disable radio script:

1. SSH to the AMP or access the AMP terminal directly.
2. Type 'scripts' to change to the appropriate directory.
3. Run the script (enable_disable_radio_ap4k) using the following syntax:

# enable_disable_radio_ap4k <group_id> <interface#> <enable/disable>

You can determine the group_id in the AMP interface by selecting the group from the list and then observing the URL of the resulting page. You should see something like this:


The number at the end is the id you need. The interface# for the a-radio is 1 (the bg-radio is 2). The last item is simply the word 'enable' or 'disable' depending on which you're doing.

So, if I wanted to disable the a-radio on the APs in the above group, I would issue the following command:

# enable_disable_radio_ap4k 4988 1 disable

And other sample commands:

# enable_disable_radio_ap4k 4988 1 enable (enable a-radio)
# enable_disable_radio_ap4k 4988 2 disable (disable bg-radio)
# enable_disable_radio_ap4k 4988 2 enable (enable bg-radio)

Hopefully, all of the above makes some sense to you. Please feel free to contact us if you have any questions with the procedure.

Version history
Revision #:
1 of 1
Last update:
‎06-10-2014 03:11 PM
Updated by:
Labels (1)