ospfNbrIpAddr

SNR-SWITCH-MIB · .1.3.6.1.4.1.40418.7.100.16.4.20.1.2

Object

The IP address this neighbor is using  in  its
IP  Source  Address.  Note that, on addressless
links, this will not be 0.0.0.0,  but  the  ad-
dress of another of the neighbor's interfaces.

Context

MIB
SNR-SWITCH-MIB
OID
.1.3.6.1.4.1.40418.7.100.16.4.20.1.2
Type
column
Access
readonly
Status
current
Parent
ospfNbrEntry

Walk 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 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-SWITCH-MIB::ospfNbrIpAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-SWITCH-MIB::ospfNbrIpAddr.<ospfNbrProcessId>.<ospfNbrIpAddr>.<ospfNbrAddressLessIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNR-SWITCH-MIB::ospfNbrIpAddr'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4