RIPv2-MIB
Before reading or writing the MIB object, run the rip mib-binding process-id command to bind the RIP process to SNMP.
Functions Overview
RFC 1724 defines RIPv2-MIB. This MIB records the RIPv2 interface statistics, interface configuration, and the neighbor router for you to query.
The OID of root objects is:
iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).rip2(23)
Description of Single Objects
rip2GlobalRouteChanges
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.23.1.1 |
rip2GlobalRouteChanges |
INTEGER (0..4294967295) |
Read-only |
The number of route changes made to the IP Route Database by RIP. This does not include the refresh of a route's age. |
This object is implemented as defined in the corresponding MIB files. |
Description of MIB Tables
rip2IfStatTable
If one interface is enabled with RIP, this table has value. After the statistic information of interface is changed, the value of this table changes.
The index of this table is rip2IfStatAddress.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.23.2.1.1 |
rip2IfStatAddress |
OCTET STRING (SIZE (4)) |
Read-only |
The IP Address of this system on the indicated subnet. For unnumbered interfaces, the least significant 24 bits (N) is the ifIndex for the IP Interface in network byte order. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.2.1.2 |
rip2IfStatRcvBadPackets |
INTEGER (0..4294967295) |
Read-only |
The number of RIP response packets received by the RIP process which were subsequently discarded for any reason (for example, a version 0 packet, or an unknown command type). |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.2.1.3 |
rip2IfStatRcvBadRoutes |
INTEGER (0..4294967295) |
Read-only |
The number of routes, in valid RIP packets, which were ignored for any reason (for example, unknown address family, or invalid metric). |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.2.1.4 |
rip2IfStatSentUpdates |
INTEGER (0..4294967295) |
Read-only |
The number of triggered RIP updates actually sent on this interface. This explicitly does NOT include full updates sent containing new information. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.2.1.5 |
rip2IfStatStatus |
INTEGER{active(1),notInService(2),notReady(3),createAndGo(4),createAndWait(5),destroy(6)} |
Read-create |
This object indicates whether this interface supports the receiving and sending of packets. |
Currently, the maximum access is read-only. The return value of the Get operation can be only 1 and the Set operation is not supported. |
Creation Restriction
This table cannot be created.
Modification Restriction
This table cannot be created.
Deletion Restriction
This table cannot be deleted.
Access Restriction
Before reading this MIB table, run the rip mib-binding process-id command to bind the RIP process to SNMP.
Objects in this table have values only when the interface is enabled with RIP.
rip2IfConfTable
Objects in this table have values when an interface is enabled with RIP. If the configuration information of the interface is updated, the corresponding value in the table changes.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.23.3.1.1 |
rip2IfConfAddress |
OCTET STRING (SIZE (4)) |
Read-only |
The IP Address of this system on the indicated subnet. For unnumbered interfaces, the least significant 24 bits (N) is the ifIndex for the IP Interface in network byte order. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.3.1.2 |
rip2IfConfDomain |
OCTET STRING (SIZE (2)) |
Read-create |
Value inserted into the Routing Domain field of all RIP packets sent on this interface. By default, the value is 0000. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.23.3.1.3 |
rip2IfConfAuthType |
Integer{noAuthentication (1),simplePassword (2),md5 (3)} |
Read-create |
The type of Authentication used on this interface. The default value is noAuthentication. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.3.1.4 |
rip2IfConfAuthKey |
OCTET STRING(size(0~16)) |
Read-create |
This object indicates the authentication key. A modification of the corresponding instance of rip2IfConfAuthType does not modify the rip2IfConfAuthKey value. If a string shorter than 16 octets is supplied, it will be left-justified and padded to 16 octets, on the right, with nulls (0x00). |
When read, rip2IfConfAuthKey always returns an octet string of length zero. |
1.3.6.1.2.1.23.3.1.5 |
rip2IfConfSend |
INTEGER{doNotSend (1),ripVersion1 (2),rip1Compatible (3),ripVersion2 (4),ripV1Demand (5),ripV2Demand (6)} |
Read-create |
The value of this object identifies the version of the RIP packets to be sent on this interface.
|
ripV1Demand and ripV2Demand were not supported in current version. |
1.3.6.1.2.1.23.3.1.6 |
rip2IfConfReceive |
INTEGER{rip1 (1),rip2 (2),rip1OrRip2 (3),doNotRecieve (4)} |
Read-create |
This indicates which version of RIP updates are to be accepted. Note that rip2 and rip1OrRip2 imply reception of multicast packets. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.3.1.7 |
rip2IfConfDefaultMetric |
INTEGER (0..15) |
Read-create |
This variable indicates the metric that is to be used for the default route entry in RIP updates originated on this interface. A value of zero indicates that no default route should be originated; in this case, a default route via another device may be propagated. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.23.3.1.8 |
rip2IfConfStatus |
INTEGER{active(1),notInService(2),notReady(3),createAndGo(4),createAndWait(5),destroy(6)} |
Read-create |
This object indicates whether the interface performs the receiving and sending of RIP packets. |
Currently, the maximum access is read-only. |
1.3.6.1.2.1.23.3.1.9 |
rip2IfConfSrcAddress |
OCTET STRING (SIZE (4)) |
Read-create |
The IP Address this system will use as a source address on this interface. If it is a numbered interface, this MUST be the same value as rip2IfConfAddress. On unnumbered interfaces, it must be the value of rip2IfConfAddress for some interface on the system. |
Currently, the maximum access is read-only. |
Creation Restriction
This table cannot be created.
Modification Restriction
This table cannot be created.
Deletion Restriction
This table cannot be deleted.
Access Restriction
Before reading this MIB table, run the rip mib-binding process-id command to bind the RIP process to SNMP.
Objects in this table have values only when the interface is enabled with RIP.
The value of object rip2IfConfDomain is always 0000 because RIP2 packets do not use this region.
The values of objects rip2IfConfAuthType, rip2IfConfAuthKey, rip2IfConfSend, rip2IfConfReceive, rip2IfConfDefaultMetric all depends on the configuration of command lines. Each one has different value range.
For the object rip2IfConfSrcAddress, if the interface is configured with address, the value of this object is the same as that of the object rip2IfConfAddress, that is, the address configured on the interface.
rip2PeerTable
Objects in this table have values if the terminal receives RIP packets. If the RIP packets of the neighboring router are received, the corresponding value in this table changes.
The index of this table is rip2PeerAddress and rip2PeerDomain.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.2.1.23.4.1.1 |
rip2PeerAddress |
OCTET STRING (SIZE (4)) |
Read-only |
The IP Address that the peer is using as its source address. Note that on an unnumbered link, this may not be a member of any subnet on the system. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.4.1.2 |
rip2PeerDomain |
OCTET STRING (SIZE (2)) |
Read-only |
The value in the Routing Domain field in RIP packets received from the peer. As domain support is deprecated, this must be zero. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.4.1.3 |
rip2PeerLastUpdate |
INTEGER (0..4294967295) |
Read-only |
The value of sysUpTime when the most recent RIP update was received from this system. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.4.1.4 |
rip2PeerVersion |
INTEGER (0..255) |
Read-only |
The RIP version number in the header of the last RIP packet received. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.4.1.5 |
rip2PeerRcvBadPackets |
INTEGER (0..4294967295) |
Read-only |
The number of RIP response packets from this peer discarded as invalid. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.2.1.23.4.1.6 |
rip2PeerRcvBadRoutes |
INTEGER (0..4294967295) |
Read-only |
The number of routes from this peer that were ignored because the entry format was invalid. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
This table cannot be created.
Modification Restriction
This table cannot be created.
Deletion Restriction
This table cannot be deleted.
Access Restriction
Before reading this MIB table, run the rip mib-binding process-id command to bind the RIP process to SNMP.
Objects in this table have values only when RIP packets sent from neighbors are received.