Fortinet white logo
Fortinet white logo

CLI Reference

config system automation action

config system automation action

Description: Configure an action for automation stitches.

config system automation action
  edit <Automation Action Name>
    set description <string>
    set action-type {digital-output | sim-switch | modem-reset}
    set digital-io-action-id <digital IO action ID>
    set minimum-interval {integer}
    set modem-id <modem ID>
  next
end 

Sample command:

config system automation action
  edit digital-io-low
    set description digital out low
    set action-type digital-output
    set digital-io-action-id action-out-low
    set minimum-interval 0
  next
end 
Parameter Description Type Size Default
description Describe the automation action. string - none
action-type Set an action type. option - none

Option Description
digital-output Output a digital signal via the digital out pin.

sim-switch

Change the currently active SIM card to an alternate one, enabling the device to connect through a different network or carrier as needed.

modem-reset

Perform a reboot or reset operation on the modem to reinitialize its settings and restore connectivity in case of issues.

digital-io-action-id

If action-type is set to digital-output, you must configure a digital I/O action ID

option

-

none

modem-id

If action-type is set to sim-switch or modem-reset, you must configure a modem ID.

option

-

none

minimum-interval

Limit performing this action to no more than once in this interval (in seconds).

integer

[0 - 2592000], max value 30 days

0

config system automation action

config system automation action

Description: Configure an action for automation stitches.

config system automation action
  edit <Automation Action Name>
    set description <string>
    set action-type {digital-output | sim-switch | modem-reset}
    set digital-io-action-id <digital IO action ID>
    set minimum-interval {integer}
    set modem-id <modem ID>
  next
end 

Sample command:

config system automation action
  edit digital-io-low
    set description digital out low
    set action-type digital-output
    set digital-io-action-id action-out-low
    set minimum-interval 0
  next
end 
Parameter Description Type Size Default
description Describe the automation action. string - none
action-type Set an action type. option - none

Option Description
digital-output Output a digital signal via the digital out pin.

sim-switch

Change the currently active SIM card to an alternate one, enabling the device to connect through a different network or carrier as needed.

modem-reset

Perform a reboot or reset operation on the modem to reinitialize its settings and restore connectivity in case of issues.

digital-io-action-id

If action-type is set to digital-output, you must configure a digital I/O action ID

option

-

none

modem-id

If action-type is set to sim-switch or modem-reset, you must configure a modem ID.

option

-

none

minimum-interval

Limit performing this action to no more than once in this interval (in seconds).

integer

[0 - 2592000], max value 30 days

0