oacSnmpCommunityAccessType
ONEACCESS-SNMP-CONFIG-MIB ·
.1.3.6.1.4.1.13191.10.3.4.20.1.6.1.2
Object
column Enumeration
This object identifies the type of community for which this community string is attached.
Context
- MIB
- ONEACCESS-SNMP-CONFIG-MIB
- OID
.1.3.6.1.4.1.13191.10.3.4.20.1.6.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- oacSnmpCommunityConfigEntry
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 'ONEACCESS-SNMP-CONFIG-MIB' -M '/opt/observium/mibs/oneaccess:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ONEACCESS-SNMP-CONFIG-MIB::oacSnmpCommunityAccessType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ONEACCESS-SNMP-CONFIG-MIB' -M '/opt/observium/mibs/oneaccess:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ONEACCESS-SNMP-CONFIG-MIB::oacSnmpCommunityAccessType.<oacSnmpCommunityString>.<oacSnmpCommunityAccessType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ONEACCESS-SNMP-CONFIG-MIB' -M '/opt/observium/mibs/oneaccess:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ONEACCESS-SNMP-CONFIG-MIB::oacSnmpCommunityAccessType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | set-read-community |
2 | set-write-community |