The IP-FORWARD-MIB is used for fetching the routing entries from the routing table.
The aim of this feature enhancement is to get the configured routes and the dynamically
learned routes using the SNMP IP-FORWARD-MIB. The output of the SNMPWALK is expected
to be in-line with the
show ip route CLI display. The corresponding entry in the FastIron agent number is ipCidrRouteEntry
with the OID 1.3.6.1.2.1.4.24.4.1. Presently, this is used to fetch all the route
information present in the system.
Note: The IP-Forward-MIB is a standard MIB and is used only for GET and GETNEXT operations.
A SNMPWALK performed on the MIB provides the information such as Destination, Mask,
Tos, NextHop, IfIndex, Type, Proto, Age, Info, NextHopAS, Metric 1—5, and Status.
Note: If there are two next-hop addresses configured for a single route, only one valid
next-hop IP address will be displayed. Also, SET operation is not supported if the
object is Read-create or Read-write.
Name, OID, and Syntax
Access
Description
ipCidrRouteDest
1.3.6.1.2.1.4.24.4.1.1
Syntax: IP address
Read-only
The destination IP address of this route.
ipCidrRouteMask
1.3.6.1.2.1.4.24.4.1.2
Syntax: IP address
Read-only
Specifies the route mask that needs to be logical-ANDed with the destination address
before comparing to the value in the ipCidrRouteDest field.
ipCidrRouteTos
1.3.6.1.2.1.4.24.4.1.3
Syntax: Integer32
Read-only
The policy specifier is the IP TOS Field.
ipCidrRouteNextHop
1.3.6.1.2.1.4.24.4.1.4
Syntax: Integer32
Read-only
On remote routes, the address of the next system in route or 0.0.0.0.
ipCidrRouteIfIndex
1.3.6.1.2.1.4.24.4.1.5
Syntax: Integer32
Read-create
The ifIndex value that identifies the local interface through which the next hop of
this route must be reached.
ipCidrRouteType
1.3.6.1.2.1.4.24.4.1.6
Syntax: Integer
Read-create
The type of route.
ipCidrRouteProto
1.3.6.1.2.1.4.24.4.1.7
Syntax: Integer
Read-only
The routing mechanism through which this route was learned.
ipCidrRouteAge
1.3.6.1.2.1.4.24.4.1.8
Syntax: Integer
Read-only
The number of seconds since this route was last updated.
ipCidrRouteInfo
1.3.6.1.2.1.4.24.4.1.9
Syntax: Object Identifier
Read-create
The particular routing protocol that is responsible for this route and is determined
by the value specified in the route's ipCidrRouteProto value.
ipCidrRouteNextHopAS
1.3.6.1.2.1.4.24.4.1.10
Syntax: Integer32
Read-create
The Autonomous System number of the next hop.
ipCidrRouteMetric1
1.3.6.1.2.1.4.24.4.1.11
Syntax: Integer32
Read-create
The primary routing metric for this route.
ipCidrRouteMetric2
1.3.6.1.2.1.4.24.4.1.12
Syntax: Integer32
Read-create
An alternate routing metric for this route.
ipCidrRouteMetric3
1.3.6.1.2.1.4.24.4.1.13
Syntax: Integer32
Read-create
An alternate routing metric for this route.
ipCidrRouteMetric4
1.3.6.1.2.1.4.24.4.1.14
Syntax: Integer32
Read-create
An alternate routing metric for this route.
ipCidrRouteMetric5
1.3.6.1.2.1.4.24.4.1.15
Syntax: Integer32
Read-create
An alternate routing metric for this route.
ipCidrRouteStatus
1.3.6.1.2.1.4.24.4.1.16
Syntax: RowStatus
Read-create
The row status variable that is used according to row installation and removal conventions.