12-01-2022 12:34 AM
Hello Everyone,
Can anyone help me with the API Script, that we can through change the PSK for one of the SSID on the 9800 WLC?
hope a great day for all of you
Best regards,
Solved! Go to Solution.
12-01-2022 08:10 AM - edited 12-01-2022 08:10 AM
Hi
Use RESTCONF and the Cisco-IOS-XE-wireless-wlan-cfg module. To change the PSK for a specific profile, just PATCH https://{{WLC-IP}}/restconf/data/Cisco-IOS-XE-wireless-wlan-cfg:wlan-cfg-data/wlan-cfg-entries/wlan-cfg-entry={{PROFILE_NAME}} with the following payload:
{
"Cisco-IOS-XE-wireless-wlan-cfg:wlan-cfg-entry": {
"psk": "YOUR NEW PSK"
}
}
HTH
Marcel
12-01-2022 08:10 AM - edited 12-01-2022 08:10 AM
Hi
Use RESTCONF and the Cisco-IOS-XE-wireless-wlan-cfg module. To change the PSK for a specific profile, just PATCH https://{{WLC-IP}}/restconf/data/Cisco-IOS-XE-wireless-wlan-cfg:wlan-cfg-data/wlan-cfg-entries/wlan-cfg-entry={{PROFILE_NAME}} with the following payload:
{
"Cisco-IOS-XE-wireless-wlan-cfg:wlan-cfg-entry": {
"psk": "YOUR NEW PSK"
}
}
HTH
Marcel
12-05-2022 01:30 AM
Hello Marcel,
thank you for your cooperation
Yes, I tried the provided script on my personal WLC and it worked fine.
thank you again
have a great day
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