Fortinet white logo
Fortinet white logo

CLI Reference

config user

config user

Description: Configure SNMP v3 user settings.

config user

edit <name>

set *name {string}

set status [enable | disable]

set notify-hosts <name1>, <name2>, …

set trap-status [enable | disable]

set trap-lport [1 – 65535]

set trap-rport [1 – 65535]

set queries [enable | disable]

set query-port [1 – 65535]

set events <name1>, <name2>, …

set security-level [no-auth-no-priv | auth-no-priv | auth-priv]

set auth-proto [md5 | sha1] *available when security level includes auth

set *auth-pwd {string} *available when security level includes auth

set priv-proto [aes | des] *available when security level includes priv

set *priv-pwd {string}*available when security level includes priv

unset

next

show

abort

end

delete <name>

purge

show

end

Parameter Description Type Size Default
name Username of the SNMP user. string - none
status Status of the SNMP user configuration. option - disable

Option Description
enable Enable the SNMP user.
disable Disable the SNMP user.
notify-hosts SNMP managers to which notifications (traps) are sent. option - none
trap-status Status of the traps for the SNMP user. option - disable
Option Description
enable Enable the traps for the SNMP user.
disable Disable the traps for the SNMP user.
trap-lport SNMPv3 trap local port. integer 1 - 65535 162
trap-rport SNMPv3 trap remote port. integer 1 - 65535 162
queries Status of SNMP queries for the user. option - disable

query-port

SNMPv3 query port.

integer

1 - 65535

161

events

SNMP trap events.

option

-

none

Option Description
system-reboot System reboot events.
data-exhausted Data usage is exhaustion events.
session-disconnect Modem data session disconnect events.
low-signal-strength Modem low signal strength events.
os-image-fallback System OS image fall back events.
mode-switch System mode switch events.
fgt-backup-mode-switch System FGT VRRP backup mode switch events.

Security-level

Security level for message authentication and encryption.

option

-

no-auth-no-priv

Option Description
no-auth-no-priv No authentication and no encryption.
auth-no-priv Authentication and no encryption.
auth-priv Authentication and encryption.

config user

config user

Description: Configure SNMP v3 user settings.

config user

edit <name>

set *name {string}

set status [enable | disable]

set notify-hosts <name1>, <name2>, …

set trap-status [enable | disable]

set trap-lport [1 – 65535]

set trap-rport [1 – 65535]

set queries [enable | disable]

set query-port [1 – 65535]

set events <name1>, <name2>, …

set security-level [no-auth-no-priv | auth-no-priv | auth-priv]

set auth-proto [md5 | sha1] *available when security level includes auth

set *auth-pwd {string} *available when security level includes auth

set priv-proto [aes | des] *available when security level includes priv

set *priv-pwd {string}*available when security level includes priv

unset

next

show

abort

end

delete <name>

purge

show

end

Parameter Description Type Size Default
name Username of the SNMP user. string - none
status Status of the SNMP user configuration. option - disable

Option Description
enable Enable the SNMP user.
disable Disable the SNMP user.
notify-hosts SNMP managers to which notifications (traps) are sent. option - none
trap-status Status of the traps for the SNMP user. option - disable
Option Description
enable Enable the traps for the SNMP user.
disable Disable the traps for the SNMP user.
trap-lport SNMPv3 trap local port. integer 1 - 65535 162
trap-rport SNMPv3 trap remote port. integer 1 - 65535 162
queries Status of SNMP queries for the user. option - disable

query-port

SNMPv3 query port.

integer

1 - 65535

161

events

SNMP trap events.

option

-

none

Option Description
system-reboot System reboot events.
data-exhausted Data usage is exhaustion events.
session-disconnect Modem data session disconnect events.
low-signal-strength Modem low signal strength events.
os-image-fallback System OS image fall back events.
mode-switch System mode switch events.
fgt-backup-mode-switch System FGT VRRP backup mode switch events.

Security-level

Security level for message authentication and encryption.

option

-

no-auth-no-priv

Option Description
no-auth-no-priv No authentication and no encryption.
auth-no-priv Authentication and no encryption.
auth-priv Authentication and encryption.