olsrv2LibLocAttNetSetIpAddrPrefixLen
OLSRv2-MIB ·
.1.3.6.1.2.1.219.1.2.4.1.3
Object
column bitsINET-ADDRESS-MIBInetAddressPrefixLength
Indicates the number of leading one bits that form the mask to be logically ANDed with the destination address before being compared to the value in the olsrv2LibLocAttNetSetIpAddr field.
Context
- MIB
- OLSRv2-MIB
- OID
.1.3.6.1.2.1.219.1.2.4.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Units
- bits
- Parent
- olsrv2LibLocAttNetSetEntry
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 'OLSRv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OLSRv2-MIB::olsrv2LibLocAttNetSetIpAddrPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OLSRv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OLSRv2-MIB::olsrv2LibLocAttNetSetIpAddrPrefixLen.<olsrv2LibLocAttNetSetIpAddrType>.<olsrv2LibLocAttNetSetIpAddr>.<olsrv2LibLocAttNetSetIpAddrPrefixLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OLSRv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OLSRv2-MIB::olsrv2LibLocAttNetSetIpAddrPrefixLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040