rtmRouteDestLen
DC-RTM-MIB ·
.1.3.6.1.4.1.629.10.7.1.6.1.5
Object
column Integer32
Prefix length (in bits) to apply to the rtmRouteDest object,
to obtain the set of addresses to which this route applies.
If the prefix length is L, then applying the length to an address
means taking the first L bits of the address.
Context
- MIB
- DC-RTM-MIB
- OID
.1.3.6.1.4.1.629.10.7.1.6.1.5- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- rtmRouteEntry
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 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRouteDestLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRouteDestLen.<rtmRouteFteIndex>.<rtmRouteDestType>.<rtmRouteDest>.<rtmRouteDestLen>.<rtmRouteTos>.<rtmRouteNextHopType>.<rtmRouteNextHop>.<rtmRouteIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-RTM-MIB::rtmRouteDestLen'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-128