_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW7304 Series User Manual
Issue: 1.9
Page 261 of 336
26.3.5
View settings
The following example defines two views, one for the entire system and another for only
mib2.
26.3.5.1
View settings using UCI
snmpd.all=view
snmpd.all.viewname=all
snmpd.all.oid=.1
snmpd.mib2=view
snmpd.mib2.viewname=mib2
snmpd.mib2.type=included
snmpd.mib2.oid=.iso.org.dod.Internet.mgmt.mib-2
26.3.5.2
View settings using package options
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'
26.3.6
Access settings
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.
26.3.6.1
Access using package options
config 'access' 'public_access'
option group 'public'
option context 'none'
option version 'any'
option level 'noauth'
option prefix 'exact'
option read 'all'
option write 'none'
option notify 'none'