hwIfIpAddrEntPrefix
HUAWEI-IF-EXT-MIB ·
.1.3.6.1.4.1.2011.5.25.41.1.2.3.1.4
Object
column SNMPv2-SMIIpAddress
The subnet mask associated with the IP address of this entry. The value of the mask is an IP address with all the network bits set to 1 and all the host bits set to 0.
Context
- MIB
- HUAWEI-IF-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.41.1.2.3.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwIfIpAddrEntry
- 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 '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::hwIfIpAddrEntPrefix'
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::hwIfIpAddrEntPrefix.<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::hwIfIpAddrEntPrefix'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Enumerated Values
-1 | invalid |
1 | enabled |
2 | disabled |
Type Constraints
range: 4
Conformance
Member of