FortiLog CLI reference

CLI commands

 

 

CLI commands

The FortiLog CLI commands include:

execute branch

get branch

set branch

unset branch

execute branch

Use execute to run static commands, to reset the FortiLog unit to factory defaults, to back up or restore FortiLog configuration files, and to reboot or shut down the FortiLog system.

Table 4: execute command architecture

 

 

reload <return>

 

 

 

 

 

 

 

 

 

restore

config <string> <xxx.xxx.xxx.xxx> <return>

 

 

 

 

 

 

image <string> <xxx.xxx.xxx.xxx> <return>

 

 

 

 

 

 

 

 

 

 

backup

config <name_str> <xxx.xxx.xxx.xxx> <return>

 

execute

 

 

 

 

reboot <return>

 

 

 

 

 

 

 

 

 

factoryreset <return>

 

 

 

 

 

 

 

 

 

save

config <return>

 

 

 

 

 

 

 

shutdown <return>

 

 

 

 

 

 

 

 

 

formatlogdisk <return>

 

 

 

 

 

 

 

 

 

 

 

 

 

Commands

 

 

Description

 

 

 

 

 

 

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 saved configuration file.

 

 

 

 

 

execute restore config <string>

 

Restore system settings from tftp server.

 

<xxx.xxx.xxx.xxx>

 

• <string> is the configuration file name on the tftp server.

 

 

 

 

• <xxx.xxx.xxx.xxx> is the IP address of the tftp server.

 

execute restore image <string>

 

Restore system images from tftp server.

 

<xxx.xxx.xxx.xxx>

 

• <string> is the image file name on the tftp server.

 

 

 

 

• <xxx.xxx.xxx.xxx> is the IP address of the tftp server.

 

execute backup config <name_str>

 

Backup system settings to tftp server.

 

<xxx.xxx.xxx.xxx>

 

• <name_str> is the system configuration file name.

 

 

 

 

• <xxx.xxx.xxx.xxx> is the IP address of the tftp server.

 

execute reboot

 

 

Restart the FortiLog system.

 

 

 

 

 

execute factoryreset

 

Set the FortiLog system back to factory defaults.

 

 

 

 

 

execute save config

 

Save the FortiLog system configuration.

 

 

 

 

 

execute shutdown

 

Shut down the FortiLog system.

 

 

 

 

 

execute formatlogdisk

 

Format the local log hard disk.

 

 

 

 

 

FortiLog Administration Guide

05-16000-0082-20050115

91

Page 91
Image 91
Fortinet FortiLog-800, FortiLog-100, FortiLog-400 manual Execute branch, FortiLog CLI commands include