Occasional Contributor II
Posts: 48
Registered: ‎05-23-2014

Airwave Templates and variables



I am configuring a new template and want to set the avaiable bandwidth for an SSID.


I had hoped to use custom variables similar to


 %if custom_variable_4%
 bandwidth-limit %custom_variable_4%


What i would like to do is use an "Elseif" after the bandwidth-limit command to set the default when custom_variable-4 isnt present.


I have tried



 %if custom_variable_4%
 bandwidth-limit %custom_variable_4%

  bandwidth-limit 1024



When I push the config to the AP/VC and audit it, it fails.


Is there a command similar to "else" that will allow me to apply a default if the chosen variable is empty?







Search Airheads
Showing results for 
Search instead for 
Did you mean: