Commandline configuration for the IAP is not supported and should not be used, unfortunately....
If you want to have an AP talk to a controller, convert it, using the Maintenence Tab first, then the setenv commands will work when it is converted to a campus AP.