snmpCommunityEntryCommunityIpAddress2
IMM-MIB ·
.1.3.6.1.4.1.2.3.51.3.3.4.2.1.5.1.1.4
Object
column mandatory
r/w
OctetString
SNMP Community IP address or host name.
Can either be a dotted decimal IP string(eg. 9.37.44.2)
or a host name. This field also allows two
wildcard values for read-Traps and write-Read-Traps communities:
0.0.0.0 - allow any IPv4 address
0::0 - allow any IPv6 address
Context
- MIB
- IMM-MIB
- OID
.1.3.6.1.4.1.2.3.51.3.3.4.2.1.5.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- snmpCommunityEntry
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 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IMM-MIB::snmpCommunityEntryCommunityIpAddress2'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IMM-MIB::snmpCommunityEntryCommunityIpAddress2.<snmpCommunityEntryIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IMM-MIB::snmpCommunityEntryCommunityIpAddress2'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-63