ipCidrRouteStaticUsedIfIndex
CROUTE-MIB ·
.1.3.6.1.4.1.81.31.1.22.1.6
Object
column SNMPv2-SMIInteger32
The ifIndex value which identifies the local interface through which the next hop of this route should be reached. When creating regular static route then there is no information to management application on the ifindex. After creating this route this information is presented by the device on this MIB. There is no option to present it on the ipCidrRouteStaticIfIndex because the row index will then be changed.
Context
- MIB
- CROUTE-MIB
- OID
.1.3.6.1.4.1.81.31.1.22.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ipCidrRouteStaticEntry
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 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipCidrRouteStaticUsedIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipCidrRouteStaticUsedIfIndex.<ipCidrRouteStaticDest>.<ipCidrRouteStaticMask>.<ipCidrRouteStaticIfIndex>.<ipCidrRouteStaticNextHop>.<ipCidrRouteStaticPreference>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CROUTE-MIB::ipCidrRouteStaticUsedIfIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647