User manual
21: Configuring SNMP
_______________________________________________________________________________________________________
any request from the localhost itself using “private” as the community string will
be dealt with using the security name “rw”.
Note: the security names of “ro” and “rw” here are simply names – the fact of a
security name having read only or read-write permissions is handled in the
access section and dealt with at a group granularity.
config 'com2sec' 'public'
option secname 'ro'
option source 'default'
option community 'public'
config 'com2sec' 'private'
option secname 'rw'
option source 'localhost'
option community 'private'
group
The options defined for this section are outlined below.
Name Type Required Description
group
string
yes
Specifies an arbitrary group name.
version string yes
Specifies the SNMP version number being used in the
request: v1, v2c and usm are supported.
secname string yes
An already defined security name that is being included in
this group.
The following example specifies that a request from the security name “ro” using
snmp v1, v2c or USM (User Based Security Model for SNM P v3) are all mapped
to the “public” group. Similarly, requests from the security name “rw” in all
protocols are mapped to the “private” group.
config 'group' 'public_v1'
option group 'public'
option version 'v1'
option secname 'ro'
config 'group' 'public_v2c'
option group 'public'
option version 'v2c'
option secname 'ro'
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 144 of 255