User manual
21: Configuring SNMP
_______________________________________________________________________________________________________
config 'view' 'all'
option viewname 'all'
option type 'included'
option oid '.1'
config 'view' 'mib2'
option viewname 'mib2'
option type 'included'
option oid '.iso.org.dod.Internet.mgmt.mib-2'
21.4 access
The options defined for this section are outlined below.
Name Type Required Description
group string yes Specifies the group to which access is being granted.
context
string
yes
For SNMP v1 and SNMP v2c context must be none.
version string yes
Specifies the SNMP version number being used in the
request: any, v1, v2c and usm are supported.
level string yes
The security level: noauth, auth or priv. For SNMP v1 and
SNMP v2c level must be noauth.
Prefix string yes
Prefix specifies how context (above) should be matched
against the context of the incoming pdu, either exact or
prefix.
Read
A valid
view or
none
yes Specifies the view to be used for read access.
Write
A valid
view or
none
yes Specifies the view to be used for write access.
Notify
A valid
view or
none
yes Specifies the view to be used for notify access.
The following example shows the “public” group being granted read access on
the “all” view and the “private” group being granted read and write access on
the “all” view.
config 'access' 'public_access'
option group 'public'
option context 'none'
option version 'any'
option level 'noauth'
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 146 of 255