mplsTunnelHopIpPrefixLen

MPLS-TE-STD-MIB · .1.3.6.1.2.1.10.166.3.2.4.1.6

Object

If mplsTunnelHopAddrType is set to ipv4(1) or
ipv6(2), then this value will contain an
appropriate prefix length for the IP address in
object mplsTunnelHopIpAddr. Otherwise this value
is irrelevant and should be ignored.

Context

MIB
MPLS-TE-STD-MIB
OID
.1.3.6.1.2.1.10.166.3.2.4.1.6
Type
column
Access
readwrite
Status
current
Parent
mplsTunnelHopEntry
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-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-TE-STD-MIB::mplsTunnelHopIpPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-TE-STD-MIB::mplsTunnelHopIpPrefixLen.<mplsTunnelHopListIndex>.<mplsTunnelHopPathOptionIndex>.<mplsTunnelHopIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-TE-STD-MIB::mplsTunnelHopIpPrefixLen'

Values & Constraints

Type Constraints
range: 0..2040

Conformance

Member of
Compliance refinements
Write access is not required.