Q: How to set static parameters(per-ap-settings) in IAP via CLI.
A: In IAP we can set static parameters like, ip-address, netmask, name, wifi0/1 mode etc via CLI rather than logging into "apboot".
Below is a config snip on how to achieve them:
- IAP# ap-env ipaddr myiap
- Do you want to reset the system to take ipaddr into effect(y/n): y
IAP will reboot once "Y" is pressed. Verification can be done using:
- apboot.- login to the apboot of the IAP and run the command "print".
- apboot> printenv
name=myiap
- CLI - run the command "show ap-env"
We can also clear these static parameters by executing the command:
- myiap# clear ap-env-current
- myiap# clear ap-env-backup
- myiap# show ap-env
After clearing the variables, IAP needs to be rebooted.
- 94:b4:0f:c6:9b:1c# show ap-env