pdnInetIpAddressType
PDN-INET-MIB ·
.1.3.6.1.4.1.1795.2.24.2.26.1.6.1.3
Object
column r/w
Enumeration
This object is used to configure the address type for an interface an interface can have only one primary ip address and more than one secondary ip address. the primary ip address is essentially the router ID. The secondary ip address would result in the interface being multi-homed. The default value is primary type.
Context
- MIB
- PDN-INET-MIB
- OID
.1.3.6.1.4.1.1795.2.24.2.26.1.6.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- pdnInetIpAddressTableEntry
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 'PDN-INET-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-INET-MIB::pdnInetIpAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PDN-INET-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-INET-MIB::pdnInetIpAddressType.<ifIndex>.<pdnInetIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDN-INET-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDN-INET-MIB::pdnInetIpAddressType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | primary |
2 | secondary |
3 | primaryBootp |
4 | secondaryBootp |