Description | This article describes that an automation stitch can be used to run a CLI script and bounce the FortiGate interface right after the FortiGate restart |
Scope | FortiGate. |
Solution |
To configure the Automation Stitch, go To Security Fabric -> Automation and select 'Create New Automation Stitch'.
In this guide, a specific FortiOS event log will be used. To create the trigger select Add Trigger and then + Create. Under Miscellaneous, choose the FortiOS Event Log then add an event. Choose the log 'FortiGate started'. This log is generated every time the FortiGate boots up. Select 'OK' to Save.
Select OK to Save.
Apply the Trigger and Action created:
Configure a delay (in seconds) in case the automation does not run. The delay is the interval between the start-up process of FortiGate and the CLI command execution.
In CLI:
config system automation-trigger edit "FORTIGATE_BOOTUP"
config system automation-action edit "Interface_Reset"
config system automation-stitch |
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 2024 Fortinet, Inc. All Rights Reserved.