Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).

Airwave Templates and variables

This thread has been viewed 6 times
  • 1.  Airwave Templates and variables

    Posted Nov 13, 2014 11:51 AM

    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