This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Wifi SSID PSK password change script

Need a script to create a custom script to change PSK for a specific SSID on a weekly basis. Will need a variable line, since password will be changed weekly, so I can only update variable value for the scheduled job. Below are the CLI commands I am trying to accomplish. Also, when I add yes or empty line at the end, configuration on WLC is still not saved. I know it prompts you if you want to save your config y/n ?

config wlan disable 24

config wlan security wpa akm psk set-key ascii "left Turkey 78952" 24

config wlan enable 24

save config

yes