hwOspfv2NetworkIpMaskIndex
HUAWEI-OSPFV2-MIB ·
.1.3.6.1.4.1.2011.5.25.155.5.1.2
Object
column SNMPv2-SMIIpAddress
Network IP mask: specifies the wildcard mask of an IP address, which is similar to the reversed form of the mask of an IP address. '1' represents that the corresponding bit in the IP address is ignored and '0' represents that this bit must be reserved.
Context
- MIB
- HUAWEI-OSPFV2-MIB
- OID
.1.3.6.1.4.1.2011.5.25.155.5.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwOspfv2NetworkEntry
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-OSPFV2-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-OSPFV2-MIB::hwOspfv2NetworkIpMaskIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-OSPFV2-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-OSPFV2-MIB::hwOspfv2NetworkIpMaskIndex.<hwOspfv2ProcessIdIndex>.<hwOspfv2AreaIdIndex>.<hwOspfv2NetworkIpAddrIndex>.<hwOspfv2NetworkIpMaskIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-OSPFV2-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-OSPFV2-MIB::hwOspfv2NetworkIpMaskIndex'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4