Created on 07-21-2005 12:00 AM Edited on 10-01-2024 10:05 PM By Anthony_E
Description | This article describes best practices for shutting down or rebooting a FortiGate. |
Scope | FortiGate. |
Solution |
Always shut down the FortiGate operating system properly before turning off the power switch to avoid potential hardware problems.
To power off or restart a FortiGate unit correctly, follow the below steps:
From the CLI, execute one of the below commands depending if it is necessary to perform a shutdown or reboot of the device:
execute shutdown execute reboot
Schedule the shutdown or reboot at a specific time:
Where needed, the automated schedule action for firewall shutdown or reboot can be defined using the following automation stitch: config system automation-action
edit "Automatic_shutdown" set trigger-type scheduled next end
config system automation-stitch edit "Automatic_shutdown" set required enable end end
To configure the schedule for shutdown or reboot from GUI, go to Security Fabric -> Automation and configure 'Action', 'Trigger' and 'Stitch' as below:
In the case of reboot, the only difference is to write on the 'Script' field: exec reboot.
Note: It is necessary to define the trigger hour and trigger minute. The requirement and the command will be executed based on the firewall time. Check the firewall date and time with the following command:
It is also possible to program daily restarts for the FortiGate. It can only be set with the CLI command below (example):
config system global
set daily-restart enable
set restart-time 05:06
Related articles:
|
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.