Fortinet FortiGate 4000 Betriebsanweisung

Seite von 390
366
01-28006-0012-20041105
Fortinet Inc.
CLI configuration
Log & Report
Example
This example shows how to enable logging to a FortiLog unit, set the FortiLog IP 
address, add a local ID, and add a pre-shared key for an IPSec VPN tunnel.
config log fortilog setting
set status enable
set server 192.168.100.1
set localid net_host_c
set psksecret J7fram54AhTWmoF5
end
This example shows how to display the log setting for logging to a FortiLog unit.
get log fortilog setting
This example shows how to display the configuration for logging to a FortiLog unit.
show log fortilog setting
If the show command returns you to the prompt, the settings are at default.
syslogd setting
Use this command to configure log settings for logging to a remote syslog server.
You can configure the FortiGate unit to send logs to a remote computer running a 
syslog server.
Command syntax pattern
config log syslogd setting
set <keyword> <variable>
config log syslogd setting
unset <keyword>
get log syslogd setting
show log syslogd setting
Note: The only command keyword for syslog setting that is not represented in the web-
based manager is the facility keyword. 
 log syslogd setting command keywords and variables
Keywords and 
variables
Description
Default
Availability
csv 
{disable | enable}
Enter enable to enable the FortiGate unit 
to produce the log in Comma Separated 
Value (CSV) format. If you do not enable 
CSV format the FortiGate unit produces 
plain text files.
disable
All models.