Security

Reply
Occasional Contributor II

Airwave Templates and variables

Greetings,

 

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%
 %endif%

 

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%

 %elseif%
  bandwidth-limit 1024

  %endif%

 

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?

 

TIA

 

G

 

 

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