nsVacmContextMatch
NET-SNMP-VACM-MIB ·
.1.3.6.1.4.1.8072.1.9.1.1.2
Object
column r/w
Enumeration
If the value of this object is exact(1), then all
rows where the contextName exactly matches
vacmAccessContextPrefix are selected.
If the value of this object is prefix(2), then all
rows where the contextName whose starting octets
exactly match vacmAccessContextPrefix are selected.
This allows for a simple form of wildcarding.
The value of this object should be consistent across
all nsVacmAccessEntries corresponding to a single
row of the vacmAccessTable.
Context
- MIB
- NET-SNMP-VACM-MIB
- OID
.1.3.6.1.4.1.8072.1.9.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nsVacmAccessEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'NET-SNMP-VACM-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'NET-SNMP-VACM-MIB::nsVacmContextMatch'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NET-SNMP-VACM-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'NET-SNMP-VACM-MIB::nsVacmContextMatch.<vacmGroupName>.<vacmAccessContextPrefix>.<vacmAccessSecurityModel>.<vacmAccessSecurityLevel>.<nsVacmAuthType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NET-SNMP-VACM-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'NET-SNMP-VACM-MIB::nsVacmContextMatch'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | exact |
2 | prefix |