Fortinet white logo
Fortinet white logo

Azure vWAN SD-WAN NGFW Deployment Guide

7.2.0

Creating a CLI template for branch devices with DHCP gateway assignments

Creating a CLI template for branch devices with DHCP gateway assignments

Note

If branch devices have WAN ports configured by DHCP, certain SD-WAN overlay configurations might render the branch devices temporarily unusable. You can create a CLI template to avoid the issue.

To create a CLI template for branch devices with DHCP gateway assignments:
  1. In FortiManager, go to Device Manager > Provisioning Templates > CLI Templates.
  2. Click Create New > CLI Template.
  3. Add the script:
    1. In the Script Details box, add the following command:
      config router static
          edit 1
              set distance 1
              set sdwan-zone "WAN1"
          next
      end

    2. Click OK to save the template.
  4. Add the CLI template to the template group for branch devices.

Creating a CLI template for branch devices with DHCP gateway assignments

Creating a CLI template for branch devices with DHCP gateway assignments

Note

If branch devices have WAN ports configured by DHCP, certain SD-WAN overlay configurations might render the branch devices temporarily unusable. You can create a CLI template to avoid the issue.

To create a CLI template for branch devices with DHCP gateway assignments:
  1. In FortiManager, go to Device Manager > Provisioning Templates > CLI Templates.
  2. Click Create New > CLI Template.
  3. Add the script:
    1. In the Script Details box, add the following command:
      config router static
          edit 1
              set distance 1
              set sdwan-zone "WAN1"
          next
      end

    2. Click OK to save the template.
  4. Add the CLI template to the template group for branch devices.