lmpDataLinkIpAddr
LMP-MIB ·
.1.3.6.1.2.1.10.227.1.16.1.3
Object
The local Internet address for numbered links. The type
of this address is determined by the value of
lmpDataLinkAddressType object.
For IPv4 and IPv6 numbered links, this object represents
the local IP address associated with the data-bearing
link. For an unnumbered link, the local address is
of type unknown, and this object is set to the zero-length
string; the ifIndex object then identifies the
unnumbered address.
Context
- MIB
- LMP-MIB
- OID
.1.3.6.1.2.1.10.227.1.16.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- lmpDataLinkEntry
- Groups
- 1
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 'LMP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LMP-MIB::lmpDataLinkIpAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LMP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LMP-MIB::lmpDataLinkIpAddr.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LMP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LMP-MIB::lmpDataLinkIpAddr'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of
Compliance refinements
range: 0
range: 4
range: 16
The size of the data-bearing link IP address depends on
the type of data-bearing link. Data-bearing link IP
address size is zero if the link is unnumbered, four if
the link IP address is IPv4, and sixteen if the link IP
address is IPv6.
the type of data-bearing link. Data-bearing link IP
address size is zero if the link is unnumbered, four if
the link IP address is IPv4, and sixteen if the link IP
address is IPv6.