snmpReadCommunityName
PACKETFRONT-DRG-MIB ·
.1.3.6.1.4.1.9303.4.3.1.7.4
Object
scalar r/w
OctetString
The read community string for the device.
Context
- MIB
- PACKETFRONT-DRG-MIB
- OID
.1.3.6.1.4.1.9303.4.3.1.7.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PACKETFRONT-DRG-MIB::snmpReadCommunityName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PACKETFRONT-DRG-MIB' -M '/opt/observium/mibs/packetfront:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PACKETFRONT-DRG-MIB::snmpReadCommunityName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-16