cInetCidrRoutePfxLen
CISCO-IETF-IP-FORWARD-MIB ·
.1.3.6.1.4.1.9.10.85.7.1.4
Object
Indicate the number of leading one bits which form the mask
to be logical-ANDed with the destination address before
being compared to the value in the cInetCidrRouteDest
field.
Any assignment (implicit or otherwise) of an instance of
this object to a value x must be rejected if the bitwise
logical-AND of the mask formed from x with the value of the
corresponding instance of the cInetCidrRouteDest object is
not equal to cInetCidrRouteDest.
Context
- MIB
- CISCO-IETF-IP-FORWARD-MIB
- OID
.1.3.6.1.4.1.9.10.85.7.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cInetCidrRouteEntry
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 'CISCO-IETF-IP-FORWARD-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-FORWARD-MIB::cInetCidrRoutePfxLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-IP-FORWARD-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-FORWARD-MIB::cInetCidrRoutePfxLen.<cInetCidrRouteInstance>.<cInetCidrRouteDestType>.<cInetCidrRouteDest>.<cInetCidrRoutePfxLen>.<cInetCidrRouteNextHopType>.<cInetCidrRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-IP-FORWARD-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-IP-FORWARD-MIB::cInetCidrRoutePfxLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040