SNMP Settings EcoNAT Documentation / Quick system start / SNMP Settings
EcoSGE supports SNMP v1/v2c. It can respond to GET requests and send Trap messages (Traps). SET requests are not supported.
SNMP Traps are always sent in SNMPv1 format to the destination UDP port 162 using the "public" community string. These traps contain information on FATAL system events.
All available SNMP parameters are contained in the system.snmp configuration branch and described in the table below.
Parameter | Description |
---|---|
enable | disable | Enable / disable SNMP |
trap { true | false } | Enable (true) / disable (false) SNMP trap messaging |
trap_host | Trap server IP address or domain name |
port | UDP port number for accepting GET requests (161 by default) |
allowed_ip ( ) | IP addresses for which the system will accept GET requests. Possible values:
To set multiple values, use space as delimiter (e.g. allowed_ip ( 192.168.10.11 10.10.0.10-10.10.0.20 10.100.0.0/24 )). To add new or delete existing value, use += and -= respectively. |
read_community | Community String for read-only operations (GET requests) |
description | A text string describing the EcoSGE system (sysDescr object in the System group of MIB-II, RFC1213) |
hostname | A text string containing the name of the EcoSGE system (sysName object in the System group of MIB-II, RFC1213) |
contact | A text string containing contact information on the EcoSGE system administrator (sysContact object in the System group of MIB-II, RFC1213) |
hostlocation | A text string describing the EcoSGE system location (sysLocation object in the System group of MIB-II, RFC1213) |
Settings example:
EcoSGE-4120:system.snmp# ls
enable
trap true
trap_host "192.168.10.100"
port 161
allowed_ip (
10.10.0.10-10.10.0.20
10.100.0.0/24
192.168.10.11
)
trap_port 162
read_community "public"
description "EcoSGE Test"
hostname "EcoSGE-4120"
contact "admin@company.com"
hostlocation "Tech Support Dept"