System snmp community, Syntax – Fortinet FortiMail 3.0 MR4 User Manual
Page 340
FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference
340
06-30004-0420-20080814
system snmp community
set
system snmp community
Use this command to
set and configure the system simple network management protocol (SNMP) settings.
Syntax
set system snmp community number
| queryportv1
{enable | disable} | queryv2c_status {enable | disable} | status
{enable | disable} | trapevent {cpu | mem | logdisk | maildisk | deferq
| virus | spam | system | raid |ha |archive | ipchg | psu} |
trapportv1_local
trapportv2c_local
trapv1_status {enable | disable} | trapv2c_status {enable | disable} }
Keywords and Variables
Description
number
Enter the number of this SNMP community.
name
Enter the name of this SNMP community
{queryportv1 |
queryportv2c}
Select the port to listen on for SNMP traffic. The defaults are port 161 for v1
and port 162 for v2c.
{queryv1_status |
queryv2c_status}
{enable | disable}
Activate or deactivate SNMP v1 and v2c traffic.
status
{enable | disable}
Activate or deactivate this SNMP community.
trapevent {cpu | mem |
logdisk | maildisk |
deferq | virus | spam |
system | raid | ha |
archive | ipchg | psu}
Select one or more events that will generate a trap when the event occurs or
when the threshold is passed. The events are:
• cpu - CPU usage threshold
• mem - Memory low threshold
• logdisk - Logdisk space low threshold
• maildisk - Maildisk space low threshold
• deferq - Deferred queue threshold
• virus - Virus threshold
• spam - Spam threshold
• system - System component event
• raid - RAID system event
• ha - HA system event
• archive - Remote archive server event
• ipchg - Interface IP address changed
• psu - Power supply unit (PSU) event
System events typically involve a change in state of hardware.
To set SNMP trap thresholds, see
“set system snmp {sysinfo | threshold}” on
.
{trapportv1_local |
trapportv1_remote |
trapportv2c_local |
trapportv2c_remote }
Select the ports SNMP v1 and v2c use to send traps to SNMP monitors.
{trapv1_status |
trapv2c_status} {enable
| disable}
Activate or deactivate SNMP v1 and v2c traps