Wireless Access

Reply
Occasional Contributor II
Posts: 18
Registered: ‎03-14-2013

Export APs to rename and update in a controller

As part of a cleanup effort and to standardize our configs, I'm in the process of renaming the APs in all of our offices on multiple controllers.  I'm wondering if there's way to do this in bulk via CSV (export them, change the names and dump back in)?

 

thx!

Scott A. Jones, CCVP
Network Architect
Orrick, Herrington and Sutcliffe LLP
Guru Elite
Posts: 8,456
Registered: ‎09-08-2010

Re: Export APs to rename and update in a controller

You could copy the output of show ap database and paste it into a text file and then use excel to read spaces as columns. This would let you extract the MAC address and name columns. Then you can concat the MAC address or old AP name into the ap-rename command.


Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Occasional Contributor II
Posts: 18
Registered: ‎03-14-2013

Re: Export APs to rename and update in a controller

Cool idea!  I'll try it out and follow-up with my results.

 

Appreciate it

Scott A. Jones, CCVP
Network Architect
Orrick, Herrington and Sutcliffe LLP
Guru Elite
Posts: 8,456
Registered: ‎09-08-2010

Re: Export APs to rename and update in a controller

It might be easier to do a find and replace for a single space and replace with a comma, then save as a CSV.

 

find-replace-commans.png


Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Aruba Employee
Posts: 664
Registered: ‎04-15-2009

Re: Export APs to rename and update in a controller

That will work perfectly. Just remember the APs will reboot when you change their name (or most any of the other provisioning parameters).
Occasional Contributor II
Posts: 18
Registered: ‎03-14-2013

Re: Export APs to rename and update in a controller

Excellent point...i did a small site (<15 devices) and discovered that.  Fortunately it was in California and about 5 am at the time...:smileyhappy:

Scott A. Jones, CCVP
Network Architect
Orrick, Herrington and Sutcliffe LLP
Search Airheads
Showing results for 
Search instead for 
Did you mean: