hwIpAdEntAddressType

HUAWEI-IF-EXT-MIB · .1.3.6.1.4.1.2011.5.25.41.1.2.1.1.6

Object

column r/w HwIpAddressType
The flag indicates whether the IP address is primary IP address.
One interface has only one primary IP address, but can have many sub IP address.
So when add a primary IP address to an interface that has already a primary IP address,
the new primary address will replace old primary address and the old primary address will be deleted.

Context

MIB
HUAWEI-IF-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.25.41.1.2.1.1.6
Type
column
Access
readwrite
Status
current
Parent
hwIfIpEntry
Groups
1

Walk 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 'HUAWEI-IF-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IF-EXT-MIB::hwIpAdEntAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IF-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IF-EXT-MIB::hwIpAdEntAddressType.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IF-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IF-EXT-MIB::hwIpAdEntAddressType'

Syntax

Source
HwIpAddressType
Base type
Enumeration

Values & Constraints

Type Values
1primary
2sub

Conformance