Fortinet white logo
Fortinet white logo

snmptrap

snmptrap

Configure SNMP trap settings.

Usage

config system snmptrap
    set address <address>
    set auth_passphrase <auth_passphrase>
    set auth_protocol {MD5 | SHA}
    set community <community>
    set cpu_threshold <integer>
    set memory_threshold <integer>
    set priv_passphrase <passphrase>
    set priv_protocol {DES | AES}
    set protocol {v1/v2c | v1/v2c,v3 | v3 | ''}
    set username <username>
end

Subcommands

Command

Description

abort

End and discard last config.

end

End and save last config.

help

List available commands or provide detailed help for a specific command.

set

Set a settable parameter or show current settings of parameters.

Set arguments

Argument

Description

address

Enter the SNMP trap server address. Default: 127.0.0.1.

auth_passphrase

Enter the authentication passphrase. The user must have security level authPriv.

For use with protocol v3 only.

auth_protocol

Enter the authentication protocol, either MD5 or SHA. Default: MD5.

For use with protocol v3 only.

community

Enter the SNMP community string. Default: public.

For use with protocol v2c only.

cpu_threshold

Enter the CPU threshold percentage, as an integer, for sending SNMP traps, in the range 1-100. Default: 80.

disk_threshold

Enter the disk threshold percentage, as an integer, for sending SNMP traps, in the range 1-100. Default: 90.

memory_threshold

Enter the memory threshold precentage, as an integer, for sending SNMP traps, in the range 1-100, integer. Default: 80.

priv_passphrase

Enter the privilege passphrase. The user must have security level authPriv.

For use with protocol v3 only.

priv_protocol

Enter the privilege protocol, either DES or AES. Default: DES.

For use with protocol v3 only.

protocol

Enter the SNMP protocol version, one of v1/v2c, v1/v2c,v3, v3, or "" (empty string) to disable SNMP trap. Default: v2c.

username

Enter the username. Default: authPriveUser.

For use with protocol v3 only.

snmptrap

snmptrap

Configure SNMP trap settings.

Usage

config system snmptrap
    set address <address>
    set auth_passphrase <auth_passphrase>
    set auth_protocol {MD5 | SHA}
    set community <community>
    set cpu_threshold <integer>
    set memory_threshold <integer>
    set priv_passphrase <passphrase>
    set priv_protocol {DES | AES}
    set protocol {v1/v2c | v1/v2c,v3 | v3 | ''}
    set username <username>
end

Subcommands

Command

Description

abort

End and discard last config.

end

End and save last config.

help

List available commands or provide detailed help for a specific command.

set

Set a settable parameter or show current settings of parameters.

Set arguments

Argument

Description

address

Enter the SNMP trap server address. Default: 127.0.0.1.

auth_passphrase

Enter the authentication passphrase. The user must have security level authPriv.

For use with protocol v3 only.

auth_protocol

Enter the authentication protocol, either MD5 or SHA. Default: MD5.

For use with protocol v3 only.

community

Enter the SNMP community string. Default: public.

For use with protocol v2c only.

cpu_threshold

Enter the CPU threshold percentage, as an integer, for sending SNMP traps, in the range 1-100. Default: 80.

disk_threshold

Enter the disk threshold percentage, as an integer, for sending SNMP traps, in the range 1-100. Default: 90.

memory_threshold

Enter the memory threshold precentage, as an integer, for sending SNMP traps, in the range 1-100, integer. Default: 80.

priv_passphrase

Enter the privilege passphrase. The user must have security level authPriv.

For use with protocol v3 only.

priv_protocol

Enter the privilege protocol, either DES or AES. Default: DES.

For use with protocol v3 only.

protocol

Enter the SNMP protocol version, one of v1/v2c, v1/v2c,v3, v3, or "" (empty string) to disable SNMP trap. Default: v2c.

username

Enter the username. Default: authPriveUser.

For use with protocol v3 only.