Fortinet black logo

CLI reference

execute reload

execute reload

If you set your console to batch mode, use this command to flush the current configuration from system memory and reload the configuration from a previously saved configuration file.

You can also use this command to reload individual daemons that have crashed, in this syntax:

execute reload [{httpd | ...}]

where [{httpd | ...}] is the name of the daemon you want to restart.

For example, if HTTP and HTTPS access are enabled but you cannot get a connection response on the GUI, although you can still connect via SSH and ping. So you know that FortiAI has not crashed entirely. If you do not want to reboot as this would interrupt SMTP, you can try to restart the HTTP daemon only.

execute reload httpd

Restart httpd?

Do you want to continue? (y/n)y

Reloading httpd....done

This command does not check if the daemon actually exists. If the command does not execute in a few seconds, it is possible that the daemon might not exist.

Syntax

execute reload [<daemon_name>]

execute reload

If you set your console to batch mode, use this command to flush the current configuration from system memory and reload the configuration from a previously saved configuration file.

You can also use this command to reload individual daemons that have crashed, in this syntax:

execute reload [{httpd | ...}]

where [{httpd | ...}] is the name of the daemon you want to restart.

For example, if HTTP and HTTPS access are enabled but you cannot get a connection response on the GUI, although you can still connect via SSH and ping. So you know that FortiAI has not crashed entirely. If you do not want to reboot as this would interrupt SMTP, you can try to restart the HTTP daemon only.

execute reload httpd

Restart httpd?

Do you want to continue? (y/n)y

Reloading httpd....done

This command does not check if the daemon actually exists. If the command does not execute in a few seconds, it is possible that the daemon might not exist.

Syntax

execute reload [<daemon_name>]