Created on
12-08-2025
11:29 PM
Edited on
12-19-2025
12:45 AM
By
Jean-Philippe_P
| 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. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.