maiMacIpCfgIpAddressType
DC-MAI-MIB ·
.1.2.826.0.1.1578918.5.3.30.1.3.1.6
Object
The type of IP address to associate with the MAC address,
if any.
To associate an IP address with the MAC address, set this
field to ipv4(1) or ipv6(2), and configure the IP address
itself in maiMacIpCfgIpAddress.
If no IP address is required, set this field to other(0).
Context
- MIB
- DC-MAI-MIB
- OID
.1.2.826.0.1.1578918.5.3.30.1.3.1.6- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- maiMacIpCfgEntry
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::maiMacIpCfgIpAddressType'
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::maiMacIpCfgIpAddressType.<maiEntIndex>.<maiMacIpCfgBdType>.<maiMacIpCfgBdIndex>.<maiMacIpCfgBdSubIndex>.<maiMacIpCfgMacAddress>.<maiMacIpCfgIpAddressType>.<maiMacIpCfgIpAddress>'
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::maiMacIpCfgIpAddressType'
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 |