lmpDataLinkAddressType
LMP-MIB ·
.1.3.6.1.2.1.10.227.1.16.1.2
Object
This attribute specifies the data-bearing link IP address type. If the data-bearing link is unnumbered, the address type must be set to unknown(0).
Context
- MIB
- LMP-MIB
- OID
.1.3.6.1.2.1.10.227.1.16.1.2- 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::lmpDataLinkAddressType'
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::lmpDataLinkAddressType.<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::lmpDataLinkAddressType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |
Conformance
Member of
Compliance refinements
Values:
unknown(0), ipv4(1), ipv6(2)
Only ipv4(1) and ipv6(2) address types need to be
supported for numbered links. For unnumbered links, the
unknown(0) address type needs to be supported.
supported for numbered links. For unnumbered links, the
unknown(0) address type needs to be supported.