Example, 355 example – Fortinet 100A User Manual

Page 355

Advertising
background image

Log & Report

syslogd setting

FortiGate-100A Administration Guide

01-28007-0068-20041203

355

Example

This example shows how to enable logging to a remote syslog server, configure an IP
address and port for the server, and set the facility type to user.

config log syslogd setting

set status enable
set server 220.210.200.190
set port 601
set facility user

end

This example shows how to display the log setting for logging to a remote syslog
server.

get log syslogd setting

This example shows how to display the configuration for logging to a remote syslog
server.

show log syslogd setting

If the show command returns you to the prompt, the settings are at default.

Table 32: Facility types

Facility type

Description

alert
audit
auth

security/authorization messages

authpriv

security/authorization messages (private)

clock

clock daemon

cron

cron daemon performing scheduled commands

daemon

system daemons running background system processes

ftp

File Transfer Protocol (FTP) daemon

kernel

kernel messages

local0 – local7

reserved for local use

lpr

line printer subsystem

mail

email system

news

network news subsystem

ntp

Network Time Protocol (NTP) daemon

syslog

messages generated internally by the syslog daemon

Advertising