Fortinet white logo
Fortinet white logo

config system snmp

config system snmp

Configure the SNMP agent.

Usage

config system snmp
    set address <address>
    set community <community>
    engine_id <engine_id>
    engine_id_type {text | hex | mac}
    set password <password>
    set protocol {v1/v2c | v1/v2c,v3 | v3}
    set server_port <port>
    set status {enable | disable}
    set username authPrivUser
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.

show

Show all table values.

Set arguments

Argument

Description

address

Enter the address of the machine that is allowed to poll FortiPortal. Default: 127.0.01.

For use with protocolv1/v2c only.

community

Enter the SNMP community string. Default: public.

For use with protocol v1/v2c only.

engine_id

Enter the engine ID.

For use with protocol v3 only.

engine_id_type

Enter the engine ID type. One of text, hex, or mac. Default: hex.

For use with protocol v3 only

password

Enter the password for authorization and encryption.

For use with protocolv3 only.

protocol

Enter the SNMP protocol version, one of v1/v2c, v1/v2c,v3, or v3.

server_port

Enter the listening port for the SNMP agent. Default: 161.

status

Enable or disable the SNMP agent. Default: disable.

username

Username authPriveUser for SNMPv3 only. Read only.

config system snmp

config system snmp

Configure the SNMP agent.

Usage

config system snmp
    set address <address>
    set community <community>
    engine_id <engine_id>
    engine_id_type {text | hex | mac}
    set password <password>
    set protocol {v1/v2c | v1/v2c,v3 | v3}
    set server_port <port>
    set status {enable | disable}
    set username authPrivUser
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.

show

Show all table values.

Set arguments

Argument

Description

address

Enter the address of the machine that is allowed to poll FortiPortal. Default: 127.0.01.

For use with protocolv1/v2c only.

community

Enter the SNMP community string. Default: public.

For use with protocol v1/v2c only.

engine_id

Enter the engine ID.

For use with protocol v3 only.

engine_id_type

Enter the engine ID type. One of text, hex, or mac. Default: hex.

For use with protocol v3 only

password

Enter the password for authorization and encryption.

For use with protocolv3 only.

protocol

Enter the SNMP protocol version, one of v1/v2c, v1/v2c,v3, or v3.

server_port

Enter the listening port for the SNMP agent. Default: 161.

status

Enable or disable the SNMP agent. Default: disable.

username

Username authPriveUser for SNMPv3 only. Read only.