Fortinet white logo
Fortinet white logo

snmp

snmp

Configure the SNMP agent.

Usage

config system snmp
  set client_address <address>
  set community <community>
  set server_port <port>
  set status {enable | disable}
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

client_address

Enter the listening address for the SNMP agent. Default: localhost.

community

Enter the SNMP community string. Default: public.

server_port

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

status

Enable/disable the SNMP agent. Default: disable.

snmp

snmp

Configure the SNMP agent.

Usage

config system snmp
  set client_address <address>
  set community <community>
  set server_port <port>
  set status {enable | disable}
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

client_address

Enter the listening address for the SNMP agent. Default: localhost.

community

Enter the SNMP community string. Default: public.

server_port

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

status

Enable/disable the SNMP agent. Default: disable.