Fortinet white logo
Fortinet white logo

CLI Reference

config system alarm

config system alarm

Configure alarm.

config system alarm
    Description: Configure alarm.
    set status [enable|disable]
    set audible [enable|disable]
    config groups
        Description: Alarm groups.
        edit <id>
            set period {integer}
            set admin-auth-failure-threshold {integer}
            set admin-auth-lockout-threshold {integer}
            set user-auth-failure-threshold {integer}
            set user-auth-lockout-threshold {integer}
            set replay-attempt-threshold {integer}
            set self-test-failure-threshold {integer}
            set log-full-warning-threshold {integer}
            set encryption-failure-threshold {integer}
            set decryption-failure-threshold {integer}
            config fw-policy-violations
                Description: Firewall policy violations.
                edit <id>
                    set threshold {integer}
                    set src-ip {ipv4-address}
                    set dst-ip {ipv4-address}
                    set src-port {integer}
                    set dst-port {integer}
                next
            end
            set fw-policy-id {integer}
            set fw-policy-id-threshold {integer}
        next
    end
end

config system alarm

Parameter

Description

Type

Size

Default

status

Enable/disable alarm.

option

-

disable

Option

Description

enable

Enable alarm.

disable

Disable alarm.

audible

Enable/disable audible alarm.

option

-

disable

Option

Description

enable

Enable audible alarm.

disable

Disable audible alarm.

config groups

Parameter

Description

Type

Size

Default

id

Group ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

period

Time period in seconds (0 = from start up).

integer

Minimum value: 0 Maximum value: 4294967295

0

admin-auth-failure-threshold

Admin authentication failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

admin-auth-lockout-threshold

Admin authentication lockout threshold.

integer

Minimum value: 0 Maximum value: 1024

0

user-auth-failure-threshold

User authentication failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

user-auth-lockout-threshold

User authentication lockout threshold.

integer

Minimum value: 0 Maximum value: 1024

0

replay-attempt-threshold

Replay attempt threshold.

integer

Minimum value: 0 Maximum value: 1024

0

self-test-failure-threshold

Self-test failure threshold.

integer

Minimum value: 0 Maximum value: 1

0

log-full-warning-threshold

Log full warning threshold.

integer

Minimum value: 0 Maximum value: 1024

0

encryption-failure-threshold

Encryption failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

decryption-failure-threshold

Decryption failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

fw-policy-id

Firewall policy ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

fw-policy-id-threshold

Firewall policy ID threshold.

integer

Minimum value: 0 Maximum value: 1024

0

config fw-policy-violations

Parameter

Description

Type

Size

Default

id

Firewall policy violations ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

threshold

Firewall policy violation threshold.

integer

Minimum value: 0 Maximum value: 1024

0

src-ip

Source IP (0=all).

ipv4-address

Not Specified

0.0.0.0

dst-ip

Destination IP (0=all).

ipv4-address

Not Specified

0.0.0.0

src-port

Source port (0=all).

integer

Minimum value: 0 Maximum value: 65535

0

dst-port

Destination port (0=all).

integer

Minimum value: 0 Maximum value: 65535

0

config system alarm

config system alarm

Configure alarm.

config system alarm
    Description: Configure alarm.
    set status [enable|disable]
    set audible [enable|disable]
    config groups
        Description: Alarm groups.
        edit <id>
            set period {integer}
            set admin-auth-failure-threshold {integer}
            set admin-auth-lockout-threshold {integer}
            set user-auth-failure-threshold {integer}
            set user-auth-lockout-threshold {integer}
            set replay-attempt-threshold {integer}
            set self-test-failure-threshold {integer}
            set log-full-warning-threshold {integer}
            set encryption-failure-threshold {integer}
            set decryption-failure-threshold {integer}
            config fw-policy-violations
                Description: Firewall policy violations.
                edit <id>
                    set threshold {integer}
                    set src-ip {ipv4-address}
                    set dst-ip {ipv4-address}
                    set src-port {integer}
                    set dst-port {integer}
                next
            end
            set fw-policy-id {integer}
            set fw-policy-id-threshold {integer}
        next
    end
end

config system alarm

Parameter

Description

Type

Size

Default

status

Enable/disable alarm.

option

-

disable

Option

Description

enable

Enable alarm.

disable

Disable alarm.

audible

Enable/disable audible alarm.

option

-

disable

Option

Description

enable

Enable audible alarm.

disable

Disable audible alarm.

config groups

Parameter

Description

Type

Size

Default

id

Group ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

period

Time period in seconds (0 = from start up).

integer

Minimum value: 0 Maximum value: 4294967295

0

admin-auth-failure-threshold

Admin authentication failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

admin-auth-lockout-threshold

Admin authentication lockout threshold.

integer

Minimum value: 0 Maximum value: 1024

0

user-auth-failure-threshold

User authentication failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

user-auth-lockout-threshold

User authentication lockout threshold.

integer

Minimum value: 0 Maximum value: 1024

0

replay-attempt-threshold

Replay attempt threshold.

integer

Minimum value: 0 Maximum value: 1024

0

self-test-failure-threshold

Self-test failure threshold.

integer

Minimum value: 0 Maximum value: 1

0

log-full-warning-threshold

Log full warning threshold.

integer

Minimum value: 0 Maximum value: 1024

0

encryption-failure-threshold

Encryption failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

decryption-failure-threshold

Decryption failure threshold.

integer

Minimum value: 0 Maximum value: 1024

0

fw-policy-id

Firewall policy ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

fw-policy-id-threshold

Firewall policy ID threshold.

integer

Minimum value: 0 Maximum value: 1024

0

config fw-policy-violations

Parameter

Description

Type

Size

Default

id

Firewall policy violations ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

threshold

Firewall policy violation threshold.

integer

Minimum value: 0 Maximum value: 1024

0

src-ip

Source IP (0=all).

ipv4-address

Not Specified

0.0.0.0

dst-ip

Destination IP (0=all).

ipv4-address

Not Specified

0.0.0.0

src-port

Source port (0=all).

integer

Minimum value: 0 Maximum value: 65535

0

dst-port

Destination port (0=all).

integer

Minimum value: 0 Maximum value: 65535

0