Creating a CLI template for branch devices with DHCP gateway assignments
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:
- In FortiManager, go to Device Manager > Provisioning Templates > CLI Templates.
- Click Create New > CLI Template.
- Add the script:
- In the Script Details box, add the following command:
config router static edit 1 set distance 1 set sdwan-zone "WAN1" next end
- Click OK to save the template.
- In the Script Details box, add the following command:
- Add the CLI template to the template group for branch devices.