_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW6600 Series User manual
Issue: 1.7
Page 433 of 519
39.3.7.1
SNMP trap using UCI
snmpd.@trapreceiver[0]=trapreceiver
snmpd.@trapreceiver[0].host=1.1.1.1:161
snmpd.@trapreceiver[0].version=v1
snmpd.@trapreceiver[0].community=public
39.3.7.2
SNMP trap using package options
# for SNMPv1 or v2c trap receivers
config trapreceiver
option host 'IPADDR[:PORT]'
option version 'v1|v2c'
option community 'COMMUNITY STRING'
39.3.8
SNMP inform receiver settings
By default, all SNMP inform receiver instances are named ‘informreceiver’, it is identified
by
@informreceiver
then the inform receiver position in the package as a number. For
example, for the first inform receiver in the package using UCI:
snmpd.@informreceiver [0]=informreceiver
snmpd.@informreceiver [0].host=1.1.1.1
Or using package options:
config informreceiver
option host ‘1.1.1.1’
However, to better identify, it is recommended to give the inform receiver instance a
name. For example, to create a inform receiver instance named InformRecv1.
To define a named trap receiver instance using UCI, enter:
snmpd.InformRecv1=InformRecv1
snmpd.InformRecv1.host=1.1.1.1
To define a named trap receiver instance using package options, enter:
config informreceiver InformRecv1
option host ‘1.1.1.1’