cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2374
Views
5
Helpful
3
Replies

C9800-80 CLI to set AP location string

bdheaton
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Grendizer
Cisco Employee
Cisco Employee

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.

View solution in original post

3 Replies 3

Scott Fella
Hall of Fame
Hall of Fame
Look at the show run output. You will see the AP along with the policy & tag information. You can just script the commands and send it to the controller.
-Scott
*** Please rate helpful posts ***

Grendizer
Cisco Employee
Cisco Employee

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.

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

Review Cisco Networking for a $25 gift card