nhdpDiscIfSetIpAddrPrefixLen
NHDP-MIB ·
.1.3.6.1.2.1.213.1.2.3.1.6
Object
Indicates the number of leading one bits that form the mask. The mask is logically ANDed to the nhdpDiscIfSetIpAddr to determine the address prefix. A row match is true if the address used as an index falls within the network address range defined by the address prefix.
Context
- MIB
- NHDP-MIB
- OID
.1.3.6.1.2.1.213.1.2.3.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- nhdpDiscIfSetEntry
- Groups
- 2
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 'NHDP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NHDP-MIB::nhdpDiscIfSetIpAddrPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NHDP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NHDP-MIB::nhdpDiscIfSetIpAddrPrefixLen.<nhdpDiscIfSetIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NHDP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NHDP-MIB::nhdpDiscIfSetIpAddrPrefixLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of