Fortinet white logo
Fortinet white logo

Administration Guide

Using meta field variables

Using meta field variables

You can use metadata variables in interface templates.

For information about creating a meta field, see ADOM-level metadata variables.

To use meta variables in interface templates:
  1. Go to Device Manager > Provisioning Templates > System Templates.
  2. Edit the default template.
  3. Display the Interface widget by clicking Toggle Widgets and enabling Interface.
  4. In the Interface widget, create a new Config Interface action that uses the variable.
    1. In the Interface widget, click Create New.
    2. In the Action list, select Config Interface.
    3. In the Model list, select all.
    4. In the Interface Name list, type port2.
    5. 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 metadata variable.

      The action is created.

Using meta field variables

Using meta field variables

You can use metadata variables in interface templates.

For information about creating a meta field, see ADOM-level metadata variables.

To use meta variables in interface templates:
  1. Go to Device Manager > Provisioning Templates > System Templates.
  2. Edit the default template.
  3. Display the Interface widget by clicking Toggle Widgets and enabling Interface.
  4. In the Interface widget, create a new Config Interface action that uses the variable.
    1. In the Interface widget, click Create New.
    2. In the Action list, select Config Interface.
    3. In the Model list, select all.
    4. In the Interface Name list, type port2.
    5. 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 metadata variable.

      The action is created.