smfStateNeighborPrefixLen
SMF-MIB ·
.1.3.6.1.3.126.1.3.3.1.3
Object
column bitsINET-ADDRESS-MIBInetAddressPrefixLength
The prefix length. This is a decimal value that
indicates the number of contiguous, higher-order
bits of the address that make up the network
portion of the address.
Context
- MIB
- SMF-MIB
- OID
.1.3.6.1.3.126.1.3.3.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Units
- bits
- Parent
- smfStateNeighborEntry
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 'SMF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMF-MIB::smfStateNeighborPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SMF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMF-MIB::smfStateNeighborPrefixLen.<smfStateNeighborIpAddrType>.<smfStateNeighborIpAddr>.<smfStateNeighborPrefixLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SMF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SMF-MIB::smfStateNeighborPrefixLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040