mplsOutSegmentNextHopIpv4Addr

MPLS-LSR-MIB · cisco variant · .1.3.6.1.3.96.1.6.1.6

Object

column r/w SNMPv2-SMIIpAddress
IPv4 Address of the next hop.  Its value is
significant only when
mplsOutSegmentNextHopIpAddrType is ipV4 (1),
otherwise it should return a value of 0.

Context

MIB
MPLS-LSR-MIB
OID
.1.3.6.1.3.96.1.6.1.6
Type
column
Access
readwrite
Status
current
Parent
mplsOutSegmentEntry
Groups
1

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 'MPLS-LSR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LSR-MIB::mplsOutSegmentNextHopIpv4Addr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-LSR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LSR-MIB::mplsOutSegmentNextHopIpv4Addr.<mplsOutSegmentIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-LSR-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-LSR-MIB::mplsOutSegmentNextHopIpv4Addr'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4

Conformance

Member of
Compliance refinements
Write access is not required.