config CLI commands

system snmp community

system snmp community

Use this command to configure SNMP communities. Add SNMP communities so that the FortiBridge unit can send SNMP v1 and v2c traps to SNMP managers when action on failure is set to send SNMP traps. You can add up to three SNMP communities. Each community can have a different configuration for SNMP traps. You can also the add IP addresses of up to 8 SNMP managers to each community.

Command syntax pattern

config system snmp community edit <id_integer>

set <keyword> <variable>

end

config system snmp community edit <id_integer>

unset <keyword>

end

config system snmp community

delete <id_integer> end

get system snmp community [<id_integer>]

show system snmp community [<id_integer>]

The config system snmp community command has one subcommand.

config hosts

Keywords and variables

Description

Default

 

 

 

name <name_str>

The name of the SNMP community.

No default.

status {disable enable}

Enable or disable the SNMP community.

enable

trap_v1_lport

SNMP v1 local port number used for sending traps to the

162

<local-port_integer>

SNMP managers added to this SNMP community.

 

trap_v1_rport

SNMP v1 remote port number used for sending traps to the

162

<remote-port_integer>

SNMP managers added to this SNMP community.

 

trap_v1_status {disable

Enable or disable SNMP v1 traps for this SNMP community.

enable

enable}

 

 

trap_v2c_lport

SNMP v2c local port number used for sending traps to the

162

<local-port_integer>

SNMP managers added to this SNMP community.

 

trap_v2c_rport

SNMP v2c remote port number used for sending traps to the

162

<remote-port_integer>

SNMP managers added to this SNMP community.

 

trap_v2c_status {disable

Enable or disable SNMP v2c traps for this SNMP community.

enable

enable}

 

 

config hosts

Access the hosts subcommand using the snmp community command. Use this command to add SNMP manager IP addresses to an SNMP community.

FortiBridge Version 3.0 Administration Guide

71

09-30000-0163-20061109

Page 71
Image 71
Fortinet Version 3.0 manual System snmp community, Config hosts