User guide
SNMP Additional configuration for SNMPv3 agent enti-
iMG/RG Software Reference Manual (System Configuration)
1-94
FIGURE 1-16 vacmViewTreeFamilyMask
would require an exact match on all fields except the table column (i.e., the 0 in ifEntry.0.2).
Using the above example, the bits of the vacmViewTreeFamilyMask would be grouped into bytes, and
then the right end padded with ones if necessary to fill out the last byte:
FIGURE 1-17 vacmViewTreeFamilyMask (continued)
So the vacmViewTreeFamilyMask entry would be:
ff:bf
1.6.2.3 Defining groups and access rights
To configure a group and its associated access rights, add a vacmAccessEntry definition in the
snmpd.cnf file accordingly the following syntax:
vacmAccessEntry <vacmGroupName> <vacmAccessContextPrefix> <vacmAc-
cessSecurityModel> <vacmAccessSecurityLevel> <vacmAccessContext-
Match> <vacmAccessReadViewName> <vacmAccessWriteViewName>
<vacmAccessNotifyViewName> <vacmAccessStorageType>
vacmGroupName
is a human readable string which is the groupname.
vacmAccessContextPrefix
is a human readable string which is an entire or partial context name used to match the context name in (or
derived from) a management request. A dash (-) represents the default context.
vacmAccessSecurityModel
is snmpv1 for SNMPv1, snmpv2c for SNMPv2c, or usm for SNMPv3.
OID
vacmViewTreeFamilyMask
1.3.6.1.2.1.2.2.1.0.2
1 1 1 1 1 1 1 1 1 0 1
1 1 1 1 1 1 1 1
ff
1 1 1 1 1 1 1 1
byte 1
1 1 1 1 1 1 1 1
bf
1 1 1 1 1 1 1 1
byte 2
hex value
original mask
padded with 1’s