Fortinet black logo
7.0.3

Adding meta fields to SD-WAN templates

Adding meta fields to SD-WAN templates

After you create meta fields, add the meta fields to the SD-WAN template for interfaces to use.

To add meta fields to SD-WAN templates:
  1. Go to Device Manager > Provisioning Templates > SD-WAN Templates.

    The SD-WAN template named sdwan-branch is displayed.

  2. Double-click the SD-WAN template to open it for editing.

    In the Interface Members section, the interfaces are displayed.

  3. Add the $(gateway) meta field to interfaces:
    1. Double-click the port2 interface to open it for editing.

      The Edit SD-WAN Interface Member dialog box is displayed.

    2. In the Gateway IP box, select $(gateway), and click OK.
    3. Repeat this procedure for port3.

  4. Add the $(vpn-dc) meta field to interfaces:
    1. Double-click the vpn-dc1-1 interface to open it for editing.

      The Edit SD-WAN Interface Member dialog box is displayed.

    2. In the Gateway IP box, select $(vpn-dc), and click OK.
    3. Repeat this procedure for vpn-dc1-2.

    The interfaces now use meta fields to define gateway IP addresses.

  5. Click OK to save the template.
  6. Install the policy to the FortiGate devices.

    The configuration should not change. You can review the installation preview before installing to confirm no configuration changes.

Adding meta fields to SD-WAN templates

After you create meta fields, add the meta fields to the SD-WAN template for interfaces to use.

To add meta fields to SD-WAN templates:
  1. Go to Device Manager > Provisioning Templates > SD-WAN Templates.

    The SD-WAN template named sdwan-branch is displayed.

  2. Double-click the SD-WAN template to open it for editing.

    In the Interface Members section, the interfaces are displayed.

  3. Add the $(gateway) meta field to interfaces:
    1. Double-click the port2 interface to open it for editing.

      The Edit SD-WAN Interface Member dialog box is displayed.

    2. In the Gateway IP box, select $(gateway), and click OK.
    3. Repeat this procedure for port3.

  4. Add the $(vpn-dc) meta field to interfaces:
    1. Double-click the vpn-dc1-1 interface to open it for editing.

      The Edit SD-WAN Interface Member dialog box is displayed.

    2. In the Gateway IP box, select $(vpn-dc), and click OK.
    3. Repeat this procedure for vpn-dc1-2.

    The interfaces now use meta fields to define gateway IP addresses.

  5. Click OK to save the template.
  6. Install the policy to the FortiGate devices.

    The configuration should not change. You can review the installation preview before installing to confirm no configuration changes.