mplsOutSegmentNextHopAddrType

MPLS-LSR-STD-MIB · .1.3.6.1.2.1.10.166.2.1.7.1.6

Object

Indicates the next hop Internet address type.
Only values unknown(0), ipv4(1) or ipv6(2)
have to be supported.
              
A value of unknown(0) is allowed only when
the outgoing interface is of type point-to-point.
If any other unsupported values are attempted in a set
operation, the agent MUST return an inconsistentValue
error.

Context

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

Values & Constraints

Type Values
0unknown
1ipv4
2ipv6
3ipv4z
4ipv6z
16dns
25l2vpn

Conformance

Member of
Compliance refinements
mplsLsrModuleFullCompliance INET-ADDRESS-MIB::InetAddressType
Values: unknown(0), ipv4(1), ipv6(2)
Only unknown(0), ipv4(1) and ipv6(2) support
is required.
mplsLsrModuleReadOnlyCompliance readonly INET-ADDRESS-MIB::InetAddressType
Values: unknown(0), ipv4(1), ipv6(2)
Write access is not required. Only unknown(0),
ipv4(1) and ipv6(2) support is required.