Fortinet black logo

Admin Guide (FGT-Managed)

Configure SIM-switch based on link health

Configure SIM-switch based on link health

FortiExtender enables you to configure automatic SIM switch based on the link health.

Note

For more information, refer to the CLI Reference Guide.

To use this feature:

  1. Configure an hmon hchk instance:

    config hmon hchk
        edit sim-health
            set protocol ping
            set interval 10
            set probe-cnt 1
            set probe-tm 2
            set probe-target 166.253.42.211
            set interface lte1
            set src-type none
            set filter loss
        next
    end
    		 
  2. Link the auto-switch instance to the config hmon hchk instance:

    FX511FTQ21001152 # config lte setting modem1 auto-switch

    FX511FTQ21001152 (auto-switch) # show

    config lte setting modem1 auto-switch

    set by-disconnect disable

    set by-signal disable

    set by-data-plan disable

    set by-health-monitor enable

    config health-monitor

    set event sim-health

    set fail-cnt 3

    set recovery-cnt 2

    set by-latency enable

    set latency-threshold 150

    set by-jitter enable

    set jitter-threshold 150

    set recover-by-reboot enable

    set max-switches-allowed 4

    set max-switches-interval 1800

    end

Parameter Description

event sim-health

"sim-health" refers to the config hmon hchk instance above.

fail-cnt 3

The link is deemed unusable if three pings have failed.

recovery-cnt 2

The link is considered usable if two pings have succeeded.

by-latency

Enable/Disable latency monitoring on the active SIM card.

latency-threshold

Latency in milliseconds for SLA to make decisions.

by-jitter

Enable/Disable jitter monitoring on the active SIM card.

jitter-threshold

Jitter in milliseconds for SLA to make decisions.

recover-by-reboot [disable|enable]

Enable/Disable. If enabled, the system will reboot if the following two conditions are met:

  • max-switches-allowed

  • max-switches-interval

See below.

max-switches-allowed 5

5 switches

max-switches-interval 1800

Within 1,800 seconds

Configure SIM-switch based on link health

FortiExtender enables you to configure automatic SIM switch based on the link health.

Note

For more information, refer to the CLI Reference Guide.

To use this feature:

  1. Configure an hmon hchk instance:

    config hmon hchk
        edit sim-health
            set protocol ping
            set interval 10
            set probe-cnt 1
            set probe-tm 2
            set probe-target 166.253.42.211
            set interface lte1
            set src-type none
            set filter loss
        next
    end
    		 
  2. Link the auto-switch instance to the config hmon hchk instance:

    FX511FTQ21001152 # config lte setting modem1 auto-switch

    FX511FTQ21001152 (auto-switch) # show

    config lte setting modem1 auto-switch

    set by-disconnect disable

    set by-signal disable

    set by-data-plan disable

    set by-health-monitor enable

    config health-monitor

    set event sim-health

    set fail-cnt 3

    set recovery-cnt 2

    set by-latency enable

    set latency-threshold 150

    set by-jitter enable

    set jitter-threshold 150

    set recover-by-reboot enable

    set max-switches-allowed 4

    set max-switches-interval 1800

    end

Parameter Description

event sim-health

"sim-health" refers to the config hmon hchk instance above.

fail-cnt 3

The link is deemed unusable if three pings have failed.

recovery-cnt 2

The link is considered usable if two pings have succeeded.

by-latency

Enable/Disable latency monitoring on the active SIM card.

latency-threshold

Latency in milliseconds for SLA to make decisions.

by-jitter

Enable/Disable jitter monitoring on the active SIM card.

jitter-threshold

Jitter in milliseconds for SLA to make decisions.

recover-by-reboot [disable|enable]

Enable/Disable. If enabled, the system will reboot if the following two conditions are met:

  • max-switches-allowed

  • max-switches-interval

See below.

max-switches-allowed 5

5 switches

max-switches-interval 1800

Within 1,800 seconds