Created on
12-28-2022
11:19 PM
Edited on
09-07-2025
11:23 PM
By
Anthony_E
Description | This article describes how to use an automation stitch to shut down the WAN interface if SLA fails. |
Scope | FortiGate. |
Solution |
In this setup, port1 is the WAN interface.
CLI reference:
config system automation-trigger edit "trigger-port1DOWN" set event-type event-log set logid 22933 config fields edit 1 set name "interface" set value "port1" next edit 2 set name "healthcheck" set value "SLA8888FGT1" next end next end
config system automation-action edit "port1DOWN" set action-type cli-script set script "config system interface edit port1 set status down end" set accprofile "super_admin" next end
config system automation-stitch edit "stitch-port1DOWN" set trigger "trigger-port1DOWN" config actions edit 1 set action "port1DOWN" set required enable next end next end
date=2022-12-29 time=10:51:33 eventtime=1672282293501050307 tz="+0800" logid="0113022933" type="event" subtype="sdwan" level="notice" vd="root" logdesc="SDWAN SLA notification" eventtype="Health Check" healthcheck="SLA8888FGT1" interface="port1" probeproto="ping" newvalue="dead" msg="SD-WAN health-check member initial state."
date=2022-12-29 time=10:51:34 eventtime=1672282294142945722 tz="+0800" logid="0100020099" type="event" subtype="system" level="warning" vd="root" logdesc="Interface status changed" action="interface-stat-change" status="DOWN" msg="Link monitor: Interface port1 was turned down" |
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.