Using meta field variables
You can use meta field variables in interface templates. When you create a meta field, a variable is automatically created for you. You can use the variable in the interface template.
For information about creating a meta field, see Meta Fields.
To use meta variables in interface templates:
- Go to Device Manager > Provisioning Templates.
The widgets are displayed.
- Display the Interface widget.
- In the tree menu, go to System Templates > Default.
- From the Toggle Widgets menu, select Interface.
The Interface widget is displayed.
- In the Interface widget, create a new Config Interface action that uses the variable.
- In the Interface widget, click +.
- In the Action list, select Config Interface.
- In the Model list, select all.
- In the Interface Name list, type
port2
. - In the IP/Netmask box, type the variable with the IP/netmask, such as
192.162.$(storenumber).254/25
, and click OK.Note that
$(storenumber)
is the variable for the meta field.The action is created.