maiMacIpIpAddressType
DC-MAI-MIB ·
.1.2.826.0.1.1578918.5.3.30.1.4.1.6
Object
The type of the IP address if this is a MAC/IP mapping, either ipv4(1) or ipv6(2). If this is an FDB entry, this is set to other(0). The address is reported in the maiMacIpIpAddress field.
Context
- MIB
- DC-MAI-MIB
- OID
.1.2.826.0.1.1578918.5.3.30.1.4.1.6- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- maiMacIpEntry
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 'DC-MAI-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-MAI-MIB::maiMacIpIpAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-MAI-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-MAI-MIB::maiMacIpIpAddressType.<maiEntIndex>.<maiMacIpBdType>.<maiMacIpBdIndex>.<maiMacIpBdSubIndex>.<maiMacIpMacAddress>.<maiMacIpIpAddressType>.<maiMacIpIpAddress>.<maiMacIpSource>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-MAI-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-MAI-MIB::maiMacIpIpAddressType'
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 |