Fortinet black logo

CLI Reference

shutdown

shutdown

Use this command to prepare the FortiWeb appliance to be powered down by halting the software, clearing all buffers, and writing all cached data to disk.

Power off the FortiWeb appliance only after issuing this command. Unplugging or switching off the FortiWeb appliance without issuing this command could result in data loss.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

execute shutdown

Example

This example shows the reboot command in action.

execute shutdown

The CLI displays the following:

This operation will halt the system

(power-cycle needed to restart)!Do you want to continue? (y/n)


After you enter y (yes), the CLI displays the following:

System is shutting down...(power-cycle needed to restart)


If you are connected to the CLI through a local console, the CLI displays a message when the shutdown is complete.

If you are connected to the CLI through the network, the CLI will not display any notification when the shutdown is complete, as this occurs after the network interfaces have been shut down. Instead, you may notice that the connection times out.

Related topics

shutdown

shutdown

Use this command to prepare the FortiWeb appliance to be powered down by halting the software, clearing all buffers, and writing all cached data to disk.

Power off the FortiWeb appliance only after issuing this command. Unplugging or switching off the FortiWeb appliance without issuing this command could result in data loss.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

execute shutdown

Example

This example shows the reboot command in action.

execute shutdown

The CLI displays the following:

This operation will halt the system

(power-cycle needed to restart)!Do you want to continue? (y/n)


After you enter y (yes), the CLI displays the following:

System is shutting down...(power-cycle needed to restart)


If you are connected to the CLI through a local console, the CLI displays a message when the shutdown is complete.

If you are connected to the CLI through the network, the CLI will not display any notification when the shutdown is complete, as this occurs after the network interfaces have been shut down. Instead, you may notice that the connection times out.

Related topics