As noted by jhoward in this thread, there ARE legal ramifications to changing the country code on an AP to a country that AP is not currently in, however if you are moving a RW AP from one country to another or, in my case, shipped an AP with the wrong country code, there is a way to change the code without even rebooting the AP much less wiping the config. My instructions below assume that the AP is managed through Aruba Central and how to get rid of the country code setting within that, so skip the licensing parts and go straight to the command lines if you manage locally.
- Log into Aruba Central and unlicense the AP
- While webbed in, wait for the status on the AP to change to Not Connected
- Console into the AP and type the following commands:
- config t
- virtual-controller-country XX (where XX is the two letter country code)
- exit
- commit apply
- The AP will commit the configuration without rebooting and in a minute, the country code will be changed. Verify this on the webbed in screen.
- By now, the AP should show as "down" in Aruba Central.
- Locate the AP's entry within the Monitoring>Access Points menu by navigating there and clicking on the number above the Down heading.
- Delete the entry by clicking the garbage can all the way to the right of the AP's entry.
- Reassign the license and watch for the AP to connect to Aruba Central again
- When it does, you'll notice the red popup text saying that an new device needs to be imported. Click this pop-up notice and select the virtual controller (which should be the one your AP is under).
- Select Add device to an existing group. Choose the one that the AP was in before. The AP will apply the group settings and reboot.
- After it boots, web into the AP and verify that it connects to Aruba Central and that the country code is the correct one.
Again, DO NOT CHANGE THE COUNTRY CODE TO ANOTHER COUNTRY IF THE AP IS NOT IN SAID COUNTRY. I posted this solution so that others that need to legally change the code have the info to do so.