Technical Tip: Configure Automation stitch when WAN link-monitor status changes from alive to dead
| Description | This article describes how to configure automation stitch to disable and re-enable the WAN interface when the link-monitor changes status from alive to dead. |
| Scope | FortiGate. |
| Solution | config system link-monitor
Configure the automation trigger. In the example below, the automation stitch will only trigger once the link-monitor changes status from 'Alive' to 'Dead'. It will not trigger the automation-stitch if the initial state of the link-monitor is 'Dead'.
config system automation-trigger
GUI:
Configure the automation Action CLI script to disable and enable the WAN port.
config system automation-action edit "Enable WAN port"
Configure the Automation-Stitch:
config system automation-stitch
Set the delay to 10s. Once the automation stitch is triggered, it will disable the interface and enable it back after 10 seconds. |




