11-05-2024 04:50 AM
Hello,
Before updating my Cisco C9120AXE (fw was 16.x) I was used to change the country code with the following commands over SSH:
And it was working as expected.
Now I have upgraded the AP to 17.9 and the configuration of this AP has been reseted. I would like to change the country code over SSH. The above sequence is not working anymore.
I have read in the manual that "ap country" is replaced by "wireless country", but it's not enough to get it working.
Any advice to do that ? Maybe some settings I need to change first to allow the commands to be executed ?
Thanks for feedbacks,
Joel
Solved! Go to Solution.
11-05-2024 06:11 AM
Actually this displays:
ewc#show running-config | inc country
wireless country DE
wireless country GB
ap country FR
So not good. Let suppose I remove the not wanted country codes and I have one line only.
Then, if my understanding is correct I should do each time the following to change the country code over ssh:
Correct ?
11-05-2024 05:23 AM
- Could you tell why "wireless country... " is not working for you and or what errors do you get , a screenshot could be helpful ,
M.
11-05-2024 05:33 AM
I do "show ap name AP84F1.4783.21FC config general" to read the current country code:
Cisco AP Name : AP84F1.4783.21FC
=================================================
Cisco AP Identifier : 84f1.47ad.1160
Country Code : Multiple Countries : FR,DE,GB
Regulatory Domain Allowed by Country : 802.11bg:-E 802.11a:-E 802.11 6GHz:-E
AP Country Code : DE - Germany
Then I do the following to change it:
Then again "show ap name AP84F1.4783.21FC config general" to read the current country code:
Cisco AP Name : AP84F1.4783.21FC
=================================================
Cisco AP Identifier : 84f1.47ad.1160
Country Code : Multiple Countries : FR,DE,GB
Regulatory Domain Allowed by Country : 802.11bg:-E 802.11a:-E 802.11 6GHz:-E
AP Country Code : DE - Germany
Not changed
If I change the country code in the web interface it's working. Not over SSH. I need to do it over SSH.
Thanks
11-05-2024 05:40 AM
- You may need the no wireless country DE , to remove the not needed country codes ,
M.
11-05-2024 05:46 AM
Not bad, this is working to go back to FR, but then it's not working to go back to DE again.
The purpose is to change remotely between several values so I need both directions.
Thanks
11-05-2024 06:01 AM
- Unclear that for me . I think you can also separate them with comma's when needing different country codes to be supported on the controller, however to check if there are no residual commands left over from previous attempts very with :
# show running-config | inc country
Make sure there is only a single line left over when comma's are used.
M.
11-05-2024 05:57 AM - edited 11-05-2024 06:05 AM
@jguittet
config t
wireless country code <Country short name > Ex :United states :US Singapore : SG
end
wr>
show wrieless country configured - verifty the command
11-05-2024 06:11 AM
Actually this displays:
ewc#show running-config | inc country
wireless country DE
wireless country GB
ap country FR
So not good. Let suppose I remove the not wanted country codes and I have one line only.
Then, if my understanding is correct I should do each time the following to change the country code over ssh:
Correct ?
11-05-2024 06:57 AM
- Yes, that is correct,
M.
11-05-2024 06:48 AM
Previous sequence confirmed
Thanks @marce1000
11-10-2024 09:25 AM
AP specific country is set on the AP directly (from CLI as in link above) and also can be set in the AP profile:
ap profile <profile-name>
country XX
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