I have different switches using the same configuration template in Aruba Central. Some switches don't have untagged VLANS on their ports. But because i use variable for this untagged VLAN i get a template ERROR on the switches who don't use that untagged VLAN.
"vlan.508.untagged": "" doesn't work. I get no value ERROR. Null doesn't work either.
Anybody got experience with this. I think the only solution is to use different config templates for every switch. I'm not a json guru, so maybe you can do something else i don't know.
Central templates admit %if variable% type of constructs precisely for this use case. Here are some examples:
routing-profile 10.10.1.0 255.255.255.0 10.10.1.255
routing-profile 10.40.0.0 255.255.255.0 10.40.0.255
routing-profile 10.20.1.0 255.255.255.0 10.20.1.255
routing-profile 10.10.0.0 255.255.255.0 10.10.0.255
routing-profile 10.30.1.0 255.255.255.0 10.30.1.255
routing-profile 10.50.1.0 255.255.255.0 10.50.1.255
routing-profile 10.20.0.0 255.255.255.0 10.20.0.255
routing-profile 10.70.1.0 255.255.255.0 10.70.1.255
routing-profile 10.40.1.0 255.255.255.0 10.40.1.255
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.