Fortinet white logo
Fortinet white logo

CLI Reference

switch-controller switch-log

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 -

switch-controller switch-log

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 -