
FortiLog CLI reference | CLI commands | |
|
|
|
|
|
|
| set system interface config |
|
| stp_passthrough |
|
|
|
|
| set system interface <intf_str> config | Set the interface mode to static. |
| mode static |
|
|
|
|
| set system mainregpage hide | Hide main registration message. |
|
|
|
| set system session_ttl port | Set the session timeout maximum for the port. |
| <port_num> timeout <timeout_int> |
|
|
|
|
| set system session_ttl port | Set a default value for the session time for the port. |
| <port_num> default <default_val> |
|
|
|
|
| set system mainregpage show | Show main registration message. |
|
|
|
| set system opmode active | Set the FortiLog unit to active mode. |
|
|
|
| set system opmode passive | Set the FortiLog unit to passive mode. |
|
|
|
| set system option admintimeout | Enter an idle timeout number in minutes. Idle Timeout controls the amount of |
| <timeout_integer> | inactive time that the |
|
| log in again. |
|
| The default idle time out is 5 minutes. The maximum idle time out is 480 minutes |
|
| (8 hours). |
|
| • <timeout_integer> is the idle timeout number in minutes. |
|
|
|
| set system option authtimeout | Enter an auth timeout number in minutes. Auth Timeout controls the amount of |
| <timeout_integer> | inactive time that the FortiLog unit waits before requiring users to authenticate |
|
| again. |
|
| The default Auth Timeout is 15 minutes. The maximum Auth Timeout is 480 minutes |
|
| (8 hours). |
|
| • <timeout_integer> is auth timeout number in minutes. |
|
|
|
| set system option language | Enter a language for the |
| <language_str> | Simplified Chinese, Japanese, Korean, or Traditional Chinese. |
|
| • <language_str> is the language you choose. |
|
|
|
| set system option refresh {interval | Set system option refresh interval. Enter none to cancel refresh interval. |
| none} |
|
|
|
|
| set system alert_table alert_severity | Set the monitor severity level for alert table. |
| <severity_integer> | 0 = Emergency, 1 = Alert, 2 = Critical, 3 = Error, 4 = Warning. |
|
| The log levels will be up to but not higher than the value you set. |
|
|
|
| get system alert_table alert_period | Set the length of time to keep unacknowledged alerts in number of days between 1 |
| <period_integer> | and 7. |
|
|
|
| set system route <number> dst | Set the FortiLog system route destination IP address and IP address mask. |
| <ipaddress_str> <ipaddressmask_str> | • <ipaddress_str> is the destination IP address. |
|
| • <ipaddressmask_str> is the IP address mask. |
|
|
|
| set system route <number> gw1 | Set the FortiLog system route primary gateway IP address. |
| <xxx.xxx.xxx.xxx> | • <xxx.xxx.xxx.xxx> is the primary gateway IP address. |
|
|
|
| set system route <number> dev1 | Set the FortiLog system route primary device (FortiGate unit) interface name. |
| <intf_name> | • <intf_name> is the primary device interface name. |
|
|
|
| set system route <number> gw2 | Set the FortiLog system route secondary gateway IP address. |
| <xxx.xxx.xxx.xxx> | • <xxx.xxx.xxx.xxx> is the secondary gateway IP address. |
|
|
|
| set system route <number> dev2 | Set the FortiLog system route secondary device (FortiGate unit) interface name. |
| <intf_name> | • <intf_name> is the secondary device interface name. |
|
|
|
| set system time manual date | Set the system time by month, day, and year. |
| <mm/dd/yyyy> |
|
|
|
|
| set system time manual clock | Set the system time by hour, minute, and second. |
| <hh:mm:ss> |
|
|
|
|
FortiLog Administration Guide | 109 |