Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure FortiSwitch logging (logs are transferred to and inserted into FortiGate event log).

  config switch-controller switch-log
      Description: Configure FortiSwitch logging (logs are transferred to and inserted into FortiGate event log).
      set status [enable|disable]
      set severity [emergency|alert|...]
  end

config switch-controller switch-log

Parameter Name Description Type Size
status Enable/disable adding FortiSwitch logs to FortiGate event log.
enable: Add FortiSwitch logs to FortiGate event log.
disable: Do not add FortiSwitch logs to FortiGate event log.
option -
severity Severity of FortiSwitch logs that are added to the FortiGate event log.
emergency: Emergency level.
alert: Alert level.
critical: Critical level.
error: Error level.
warning: Warning level.
notification: Notification level.
information: Information level.
debug: Debug level.
option -

Configure FortiSwitch logging (logs are transferred to and inserted into FortiGate event log).

  config switch-controller switch-log
      Description: Configure FortiSwitch logging (logs are transferred to and inserted into FortiGate event log).
      set status [enable|disable]
      set severity [emergency|alert|...]
  end

config switch-controller switch-log

Parameter Name Description Type Size
status Enable/disable adding FortiSwitch logs to FortiGate event log.
enable: Add FortiSwitch logs to FortiGate event log.
disable: Do not add FortiSwitch logs to FortiGate event log.
option -
severity Severity of FortiSwitch logs that are added to the FortiGate event log.
emergency: Emergency level.
alert: Alert level.
critical: Critical level.
error: Error level.
warning: Warning level.
notification: Notification level.
information: Information level.
debug: Debug level.
option -