Справочник Пользователя для Fortinet Version 3.0

Скачать
Страница из 88
config CLI commands 
system snmp community
FortiBridge Version 3.0 Administration Guide
09-30000-0163-20061109
71
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
Access the hosts subcommand using the snmp community command. Use this command to add 
SNMP manager IP addresses to an SNMP community.
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 
<local-port_integer>
SNMP v1 local port number used for sending traps to the 
SNMP managers added to this SNMP community.
162
trap_v1_rport 
<remote-port_integer>
SNMP v1 remote port number used for sending traps to the 
SNMP managers added to this SNMP community.
162
trap_v1_status  {disable 
| enable}
Enable or disable SNMP v1 traps for this SNMP community.
enable
trap_v2c_lport 
<local-port_integer>
SNMP v2c local port number used for sending traps to the 
SNMP managers added to this SNMP community.
162
trap_v2c_rport 
<remote-port_integer>
SNMP v2c remote port number used for sending traps to the 
SNMP managers added to this SNMP community.
162
trap_v2c_status {disable 
| enable}
Enable or disable SNMP v2c traps for this SNMP community.
enable