Fortinet white logo
Fortinet white logo

CLI Reference

config system digital-io alert

config system digital-io alert

Description: Configure digital I/O alerts on FEV models.

config system digital-io alert
  edit <name>
    set poll-period <integer>
    set input-digital <digital name>
    set alert-trigger-state {no-alert | high | low | both}
    set report [enable | disable]
    set report-type [snmp syslog]
    set gpio-name <string>
    set low-state-name <string>
    set high-state-name <string>
  next
end 

Sample command:

config system digital-io alert
  edit alert-in-high
    set poll-period 100
    set input-digital in
    set alert-trigger-state high
    set report enable
    set report-type snmp syslog
    set gpio-name in
    set low-state-name low
    set high-state-name high
  next
end
Parameter Description Type Size Default
poll-period The interval between general purpose input output (GPIO) status checks, in milliseconds. integer [10-3600000] 100
input-digital Enter the digital name. option - none
alert-trigger-state The changing state that will trigger the GPIO alert report and action. option - no-alert

Option Description
no-alert No alert.
high The state is changed from low to high.

low

The state is changed from high to low.

both

The state is changed.

report

Enable or disable reporting.

option

-

enable

Option Description
enable Enable reports.
disable Disable reports.

report-type

Select a report type.

option

-

none

Option Description
snmp The event will be reported by the SNMP trap.
syslog The event will be recorded by the syslog.

gpio-name

The input digital name that will be generated in the report log.

string

-

none

low-state-name

The low state name that will be generated in the report log.

string

-

none

high-state-name

The high state name that will be generated in the report log.

string

-

none

config system digital-io alert

config system digital-io alert

Description: Configure digital I/O alerts on FEV models.

config system digital-io alert
  edit <name>
    set poll-period <integer>
    set input-digital <digital name>
    set alert-trigger-state {no-alert | high | low | both}
    set report [enable | disable]
    set report-type [snmp syslog]
    set gpio-name <string>
    set low-state-name <string>
    set high-state-name <string>
  next
end 

Sample command:

config system digital-io alert
  edit alert-in-high
    set poll-period 100
    set input-digital in
    set alert-trigger-state high
    set report enable
    set report-type snmp syslog
    set gpio-name in
    set low-state-name low
    set high-state-name high
  next
end
Parameter Description Type Size Default
poll-period The interval between general purpose input output (GPIO) status checks, in milliseconds. integer [10-3600000] 100
input-digital Enter the digital name. option - none
alert-trigger-state The changing state that will trigger the GPIO alert report and action. option - no-alert

Option Description
no-alert No alert.
high The state is changed from low to high.

low

The state is changed from high to low.

both

The state is changed.

report

Enable or disable reporting.

option

-

enable

Option Description
enable Enable reports.
disable Disable reports.

report-type

Select a report type.

option

-

none

Option Description
snmp The event will be reported by the SNMP trap.
syslog The event will be recorded by the syslog.

gpio-name

The input digital name that will be generated in the report log.

string

-

none

low-state-name

The low state name that will be generated in the report log.

string

-

none

high-state-name

The high state name that will be generated in the report log.

string

-

none