Hi All,
I have a few clusters of instants in my airwave group. In template, I have definition of the same wlan profile that I want to use in two different variants:
- 1st variant, triggered by VLAN ID entered in custom_variable_2 field on VC manage page:
%if custom_variable_2%
wlan access-rule "internet"
rule any any match any any any permit
%endif%
%if custom_variable_2%
wlan ssid-profile "internet"
enable
type employee
essid internet
vlan %custom_variable_2%
<rest of config omitted>
%endif%
- 2nd variant GRE tunneled to Controller, triggered by VLAN ID entered in custom_variable_3 field on VC manage page:
%if custom_variable_3%
vpn primary <wlc-ip>
vpn gre-outside
gre per-ap-tunnel
%endif%
%if custom_variable_3%
wlan access-rule "internet"
rule any any match any any any permit
%endif%
%if custom_variable_3%
wlan ssid-profile "internet"
enable
type employee
essid internet
vlan %custom_variable_3%
<rest of config omitted>
%endif%
%if custom_variable_3%
ip dhcp internet
server-type Centralized,L2
server-vlan %custom_variable_3%
disable-split-tunnel
%endif%
Thing is, when I use custom_variable_2, "internet" ssid is configured on cluster. When I use custom_variable_3, no ssid is configured on cluster.
Where do I make mistake while creating conditional custom variables?