09-24-2013 10:10 AM - edited 07-04-2021 12:55 AM
Hi all,
I have around 500 access point managed by NCS with their original names (APmacaddress).
I have them all configured in our IPAM system and have DNS names.
I want to change all the AP names to the DNS ones... Is there a easier way to do so?
Thanks!!
Sent from Cisco Technical Support iPad App
Solved! Go to Solution.
09-24-2013 10:19 AM
I'd do it as a CLI template myself. Export the AP names and then push the change down
config ap name < new name > < old name>
HTH,
Steve
------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered
09-24-2013 09:43 PM
Use Excel and create a script to concatinate your list of OLD APs to the NEW APs.
09-26-2013 12:37 AM
Now, will the names will be changed in Prime Infrastructure automatically or will they be duplicated with the new names?
WCS/CPI will monitor the MAC address of the AP so there's no "double entry". When you change the name of the AP, CPI will possibly take around 5 minutes to reflect the changes.
09-24-2013 10:19 AM
I'd do it as a CLI template myself. Export the AP names and then push the change down
config ap name < new name > < old name>
HTH,
Steve
------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered
06-07-2021 06:21 AM
I am actually New to using CLI templates on Cisco Prime, Can you suggest me how to do it using Cisco Prime 3.7.X it looks confusing.
Thank You
06-07-2021 07:32 AM
I would just use an excel file to generate the commands and paste that to the cli. No need for Prime to mass populate ap names.
06-07-2021 08:27 AM
I am running into an issue where I am Copy&pasting from excel to controller CLI extra spaces are inserted between the words, when I issue config ap name <new name> <old name> that prompts CLI to reject my renaming command
06-07-2021 08:47 AM
Can you provide the excel file so we can review it.
06-07-2021 08:50 AM
Have you tried copying it from excel to a text editor then to the device cli?
06-07-2021 08:58 AM
Actually I just figured it out, I was not using " " between columns while using the concatenate function.
when I did those changes =(CONCAT(A1," ",B1," ",C1)) and pasted the contents from it to CLI the spaces came out even and it got executed perfectly, Thank you for your help. I appreciate it.
06-07-2021 09:50 AM
Cool... the way I do it is with the " " between the cells, however, you can also add a trailing whitespace at the end of the cell, but if others don't know, the commands will not take.
06-07-2021 12:56 PM
I find the CONCAT function unnecessarily cumbersome. You can just do a simple formula ="config ap name " & A1 & " " & B1
03-26-2023 08:31 AM - edited 03-26-2023 08:36 AM
Gotta love the consistency here...
Looks like it's currently ap name <current name> name <new name>.
Looking at automating it in Python myself, but see each IOS version the format of the "show ap summary" changes, so it's difficult to do. Used to be the "ap status" was the last field; now the location field has moved to the end, so gotta parse it by "first field after an IP address...".
(Create a table of MAC to name before mounting. Python loads that table, and periodically lists all AP's. If the name is "non-standard", ie. starts with "AP" it's new. If it IS registered and not downloading, then look up the mac address in the table, and set the name... Rinse and repeat every 10 minutes or so while AP's being set up...)
03-26-2023 10:04 AM
09-24-2013 09:43 PM
Use Excel and create a script to concatinate your list of OLD APs to the NEW APs.
09-25-2013 02:18 AM
OK thanks! This will probably be the best way to do it...
Now, will the names will be changed in Prime Infrastructure automatically or will they be duplicated with the new names?
Again, thanks for the quick reply!!
Sent from Cisco Technical Support iPad App
09-26-2013 12:37 AM
Now, will the names will be changed in Prime Infrastructure automatically or will they be duplicated with the new names?
WCS/CPI will monitor the MAC address of the AP so there's no "double entry". When you change the name of the AP, CPI will possibly take around 5 minutes to reflect the changes.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide