communityType
ZHNSYSTEM ·
.1.3.6.1.4.1.5504.2.5.2.1.7.2.1.2
Object
column r/w
Enumeration
The access type of the community string. The default value of this object should be read-only(1).
Context
- MIB
- ZHNSYSTEM
- OID
.1.3.6.1.4.1.5504.2.5.2.1.7.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zhnCommunityTableEntry
- Groups
- 1
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 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNSYSTEM::communityType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNSYSTEM::communityType.<communityName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHNSYSTEM::communityType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | readOnly |
2 | readWrite |
Conformance
Member of