10-08-2020 07:13 AM - edited 07-05-2021 12:37 PM
Is it possible to set the location string for an access point via the CLI? This is the location you can set in the GUI under the General Tab where you can also set the AP name, rather than location relating to Tags. We're recently migrated 2k+ access points from 5508s to a 9800-80 controller and the location strings have all been truncated. Interestingly the non-truncated version is still retained in the capwap config on the individual access points.
Searches though the command reference for all occurrences of location have drawn blanks.
Thanks,
Brian
Solved! Go to Solution.
10-08-2020 08:38 AM
If you want to set AP location, then use this command: (max 32 characters for the location)
9800#ap name XXXXXXX location “XXXXXXXXXX XXXXXXXXXXX”
If you typed more than 32 characters, the 9800 will take it and apply it to the AP and you can check that from the GUI (AP details) or using the cli:
#show ap config general | s Cisco AP Location
But in fact, when you do:
#sh ap sum | i XXXXXXX <-- ap name
You will see the location has been truncated to 32 characters
Once you reboot that AP will show everywhere the first 32 characters only as it was from the above sh ap sum command.
10-08-2020 08:35 AM
10-08-2020 08:38 AM
If you want to set AP location, then use this command: (max 32 characters for the location)
9800#ap name XXXXXXX location “XXXXXXXXXX XXXXXXXXXXX”
If you typed more than 32 characters, the 9800 will take it and apply it to the AP and you can check that from the GUI (AP details) or using the cli:
#show ap config general | s Cisco AP Location
But in fact, when you do:
#sh ap sum | i XXXXXXX <-- ap name
You will see the location has been truncated to 32 characters
Once you reboot that AP will show everywhere the first 32 characters only as it was from the above sh ap sum command.
10-08-2020 09:30 AM
Thanks, that's what I was looking for.
I thought that the length restriction had been lifted, but maybe that was for the old controllers.
Brian
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