Variable as IP address

Parent Previous Next

The general format of the compound template statement is as below:


<%AAA,BBB,CCC,Variables%>



The format of the compound template 'Variables' are as below:


<%AAA,BBB,CCC,VVV,WWW,XXX,YYY,ZZZ%>



The variable portion must be repeated according to the number of variables defined by CCC.


Please have a look at the example files provided as part of the installation as these show practical use of the available features.

IP Variable Examples


Example 1, Repeat a template 4 times while incrementing 3 variables:


<%T:TemplateToRepeat,4,3,<<NetIPAddress>>,<<NetIP>>,256,1,0,<<NetVRRPAddress>>,<<NetIP>>,256,1,1,<<NetPriAddress>>,<<NetIP>>,256,1,2%>



Example 2, Repeat a template 4 times while incrementing 3 variables:


<%T:TemplateToRepeat,4,3,<<NetIPAddress>>,10.0.0.0,256,1,0,<<NetVRRPAddress>>,10.0.0.0,256,1,1,<<NetPriAddress>>,10.0.0.0,256,1,2%>



Example 3, Repeat a template <<RepeatCount>> times while incrementing 1 variables:


<%T:TemplateToRepeat,<<RepeatCount>>,1,<<IncSubnetVar>>,10.1.1.0,256,1,10%>



Example 4, Repeat a template <<RepeatCount>> times while incrementing 1 variables:


<%T:TemplateToRepeat,<<RepeatCount>>,1,<<IncSubnetVar>>,<<IPAddress>>,<<SubnetLen>>,1,3%>