08-04-2014 06:22 PM
I just wanted to share a simple Perl tool I threw together. It's designed to take a list of APs from a CSV file, and throw whitelist and provisioning commands at a controller, saving a whole pile of copy/paste between spreasheets and terminals. Just create the file, launch the script, and take a leisurly lunch while your APs are automatically provisioned!
Please feel free to send me any comments or feature requests.
08-04-2014 06:42 PM
Thanks for this. A bit too late for us, unfortunately, since we just finished provisioning the last large batch of APs today, but we had cobbled something similar together.
My primary suggestion would be to prompt for pass/enpass if not provided, so it isn't passed via the CLI. Also to not require an enable password, since "enable-bypass" may be configured.
10-06-2014 05:35 AM
You'll need to run this from a Linux system (it *might* be possible using perl on windows, but I haven't tried it at all, and suspect some of the modules may be non-trivial to get working).
First, create a CSV file containing your MAC addresses, AP names, and profiles to assign. Take a look at the sample waps.csv from the git repo. I highly reccomend you only start off with one or two to make sure it works for your setup first.
Now you can just run the script, passing it at least your controller name. You can override the defaults for the CSV name and username, and you will be prompted for passwords if you don't provide one. Just run the script with --help to see all of the available options.
04-19-2016 12:45 PM
This is extremely helpful. I'm in the process of adding needed perl mods to try to get this working.
We're swapping old APs with new and this is what I want to use the script for. The AP-Names will be the same. Is it possible to tweak the script so that it looks for and deletes the existing "status Down" AP with the same AP-Name before provisioning? Given that we can't have two APs with teh same name doing this is a critical step.
04-20-2016 07:38 AM
Same here. I don't use control-plane security. Frank, while I could troll thorugh the script to remark the CPS sections would it possible to include a version with this removed?
Thanks for your work on this.