Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller remote-log

config switch-controller remote-log

Configure logging by FortiSwitch device to a remote syslog server.

config switch-controller remote-log

Description: Configure logging by FortiSwitch device to a remote syslog server.

edit <name>

set status [enable|disable]

set server {string}

set port {integer}

set severity [emergency|alert|...]

set csv [enable|disable]

set facility [kernel|user|...]

next

end

config switch-controller remote-log

Parameter

Description

Type

Size

Default

status

Enable/disable logging by FortiSwitch device to a remote syslog server.

option

-

disable

Option

Description

enable

Enable logging by FortiSwitch device to a remote syslog server.

disable

Disable logging by FortiSwitch device to a remote syslog server.

server

IPv4 address of the remote syslog server.

string

Maximum length: 63

port

Remote syslog server listening port.

integer

Minimum value: 0 Maximum value: 65535

514

severity

Severity of logs to be transferred to remote log server.

option

-

information

Option

Description

emergency

Emergency level.

alert

Alert level.

critical

Critical level.

error

Error level.

warning

Warning level.

notification

Notification level.

information

Information level.

debug

Debug level.

csv

Enable/disable comma-separated value (CSV) strings.

option

-

disable

Option

Description

enable

Enable comma-separated value (CSV) strings.

disable

Disable comma-separated value (CSV) strings.

facility

Facility to log to remote syslog server.

option

-

local7

Option

Description

kernel

Kernel messages.

user

Random user-level messages.

mail

Mail system.

daemon

System daemons.

auth

Security/authorization messages.

syslog

Messages generated internally by syslogd.

lpr

Line printer subsystem.

news

Network news subsystem.

uucp

UUCP server messages.

cron

Clock daemon.

authpriv

Security/authorization messages (private).

ftp

FTP daemon.

ntp

NTP daemon.

audit

Log audit.

alert

Log alert.

clock

Clock daemon.

local0

Reserved for local use.

local1

Reserved for local use.

local2

Reserved for local use.

local3

Reserved for local use.

local4

Reserved for local use.

local5

Reserved for local use.

local6

Reserved for local use.

local7

Reserved for local use.

config switch-controller remote-log

config switch-controller remote-log

Configure logging by FortiSwitch device to a remote syslog server.

config switch-controller remote-log

Description: Configure logging by FortiSwitch device to a remote syslog server.

edit <name>

set status [enable|disable]

set server {string}

set port {integer}

set severity [emergency|alert|...]

set csv [enable|disable]

set facility [kernel|user|...]

next

end

config switch-controller remote-log

Parameter

Description

Type

Size

Default

status

Enable/disable logging by FortiSwitch device to a remote syslog server.

option

-

disable

Option

Description

enable

Enable logging by FortiSwitch device to a remote syslog server.

disable

Disable logging by FortiSwitch device to a remote syslog server.

server

IPv4 address of the remote syslog server.

string

Maximum length: 63

port

Remote syslog server listening port.

integer

Minimum value: 0 Maximum value: 65535

514

severity

Severity of logs to be transferred to remote log server.

option

-

information

Option

Description

emergency

Emergency level.

alert

Alert level.

critical

Critical level.

error

Error level.

warning

Warning level.

notification

Notification level.

information

Information level.

debug

Debug level.

csv

Enable/disable comma-separated value (CSV) strings.

option

-

disable

Option

Description

enable

Enable comma-separated value (CSV) strings.

disable

Disable comma-separated value (CSV) strings.

facility

Facility to log to remote syslog server.

option

-

local7

Option

Description

kernel

Kernel messages.

user

Random user-level messages.

mail

Mail system.

daemon

System daemons.

auth

Security/authorization messages.

syslog

Messages generated internally by syslogd.

lpr

Line printer subsystem.

news

Network news subsystem.

uucp

UUCP server messages.

cron

Clock daemon.

authpriv

Security/authorization messages (private).

ftp

FTP daemon.

ntp

NTP daemon.

audit

Log audit.

alert

Log alert.

clock

Clock daemon.

local0

Reserved for local use.

local1

Reserved for local use.

local2

Reserved for local use.

local3

Reserved for local use.

local4

Reserved for local use.

local5

Reserved for local use.

local6

Reserved for local use.

local7

Reserved for local use.