RIPv2-MIB.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. RIPv2-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. MODULE-IDENTITY, OBJECT-TYPE, Counter32,
  4. TimeTicks, IpAddress FROM SNMPv2-SMI
  5. TEXTUAL-CONVENTION, RowStatus FROM SNMPv2-TC
  6. MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
  7. mib-2 FROM RFC1213-MIB;
  8. -- This MIB module uses the extended OBJECT-TYPE macro as
  9. -- defined in [9].
  10. rip2 MODULE-IDENTITY
  11. LAST-UPDATED "9407272253Z" -- Wed Jul 27 22:53:04 PDT 1994
  12. ORGANIZATION "IETF RIP-II Working Group"
  13. CONTACT-INFO
  14. " Fred Baker
  15. Postal: Cisco Systems
  16. 519 Lado Drive
  17. Santa Barbara, California 93111
  18. Tel: +1 805 681 0115
  19. E-Mail: fbaker@cisco.com
  20. Postal: Gary Malkin
  21. Xylogics, Inc.
  22. 53 Third Avenue
  23. Burlington, MA 01803
  24. Phone: (617) 272-8140
  25. EMail: gmalkin@Xylogics.COM"
  26. DESCRIPTION
  27. "The MIB module to describe the RIP2 Version 2 Protocol"
  28. ::= { mib-2 23 }
  29. -- RIP-2 Management Information Base
  30. -- the RouteTag type represents the contents of the
  31. -- Route Domain field in the packet header or route entry.
  32. -- The use of the Route Domain is deprecated.
  33. RouteTag ::= TEXTUAL-CONVENTION
  34. STATUS current
  35. DESCRIPTION
  36. "the RouteTag type represents the contents of the Route Domain
  37. field in the packet header or route entry"
  38. SYNTAX OCTET STRING (SIZE (2))
  39. --4.1 Global Counters
  40. -- The RIP-2 Globals Group.
  41. -- Implementation of this group is mandatory for systems
  42. -- which implement RIP-2.
  43. -- These counters are intended to facilitate debugging quickly
  44. -- changing routes or failing neighbors
  45. rip2Globals OBJECT IDENTIFIER ::= { rip2 1 }
  46. rip2GlobalRouteChanges OBJECT-TYPE
  47. SYNTAX Counter32
  48. MAX-ACCESS read-only
  49. STATUS current
  50. DESCRIPTION
  51. "The number of route changes made to the IP Route
  52. Database by RIP. This does not include the refresh
  53. of a route's age."
  54. ::= { rip2Globals 1 }
  55. rip2GlobalQueries OBJECT-TYPE
  56. SYNTAX Counter32
  57. MAX-ACCESS read-only
  58. STATUS current
  59. DESCRIPTION
  60. "The number of responses sent to RIP queries
  61. from other systems."
  62. ::= { rip2Globals 2 }
  63. --4.2 RIP Interface Tables
  64. -- RIP Interfaces Groups
  65. -- Implementation of these Groups is mandatory for systems
  66. -- which implement RIP-2.
  67. -- The RIP Interface Status Table.
  68. rip2IfStatTable OBJECT-TYPE
  69. SYNTAX SEQUENCE OF Rip2IfStatEntry
  70. MAX-ACCESS not-accessible
  71. STATUS current
  72. DESCRIPTION
  73. "A list of subnets which require separate
  74. status monitoring in RIP."
  75. ::= { rip2 2 }
  76. rip2IfStatEntry OBJECT-TYPE
  77. SYNTAX Rip2IfStatEntry
  78. MAX-ACCESS not-accessible
  79. STATUS current
  80. DESCRIPTION
  81. "A Single Routing Domain in a single Subnet."
  82. INDEX { rip2IfStatAddress }
  83. ::= { rip2IfStatTable 1 }
  84. Rip2IfStatEntry ::=
  85. SEQUENCE {
  86. rip2IfStatAddress
  87. IpAddress,
  88. rip2IfStatRcvBadPackets
  89. Counter32,
  90. rip2IfStatRcvBadRoutes
  91. Counter32,
  92. rip2IfStatSentUpdates
  93. Counter32,
  94. rip2IfStatStatus
  95. RowStatus
  96. }
  97. rip2IfStatAddress OBJECT-TYPE
  98. SYNTAX IpAddress
  99. MAX-ACCESS read-only
  100. STATUS current
  101. DESCRIPTION
  102. "The IP Address of this system on the indicated
  103. subnet. For unnumbered interfaces, the value 0.0.0.N,
  104. where the least significant 24 bits (N) is the ifIndex
  105. for the IP Interface in network byte order."
  106. ::= { rip2IfStatEntry 1 }
  107. rip2IfStatRcvBadPackets OBJECT-TYPE
  108. SYNTAX Counter32
  109. MAX-ACCESS read-only
  110. STATUS current
  111. DESCRIPTION
  112. "The number of RIP response packets received by
  113. the RIP process which were subsequently discarded
  114. for any reason (e.g. a version 0 packet, or an
  115. unknown command type)."
  116. ::= { rip2IfStatEntry 2 }
  117. rip2IfStatRcvBadRoutes OBJECT-TYPE
  118. SYNTAX Counter32
  119. MAX-ACCESS read-only
  120. STATUS current
  121. DESCRIPTION
  122. "The number of routes, in valid RIP packets,
  123. which were ignored for any reason (e.g. unknown
  124. address family, or invalid metric)."
  125. ::= { rip2IfStatEntry 3 }
  126. rip2IfStatSentUpdates OBJECT-TYPE
  127. SYNTAX Counter32
  128. MAX-ACCESS read-only
  129. STATUS current
  130. DESCRIPTION
  131. "The number of triggered RIP updates actually
  132. sent on this interface. This explicitly does
  133. NOT include full updates sent containing new
  134. information."
  135. ::= { rip2IfStatEntry 4 }
  136. rip2IfStatStatus OBJECT-TYPE
  137. SYNTAX RowStatus
  138. MAX-ACCESS read-create
  139. STATUS current
  140. DESCRIPTION
  141. "Writing invalid has the effect of deleting
  142. this interface."
  143. ::= { rip2IfStatEntry 5 }
  144. -- The RIP Interface Configuration Table.
  145. rip2IfConfTable OBJECT-TYPE
  146. SYNTAX SEQUENCE OF Rip2IfConfEntry
  147. MAX-ACCESS not-accessible
  148. STATUS current
  149. DESCRIPTION
  150. "A list of subnets which require separate
  151. configuration in RIP."
  152. ::= { rip2 3 }
  153. rip2IfConfEntry OBJECT-TYPE
  154. SYNTAX Rip2IfConfEntry
  155. MAX-ACCESS not-accessible
  156. STATUS current
  157. DESCRIPTION
  158. "A Single Routing Domain in a single Subnet."
  159. INDEX { rip2IfConfAddress }
  160. ::= { rip2IfConfTable 1 }
  161. Rip2IfConfEntry ::=
  162. SEQUENCE {
  163. rip2IfConfAddress
  164. IpAddress,
  165. rip2IfConfDomain
  166. RouteTag,
  167. rip2IfConfAuthType
  168. INTEGER,
  169. rip2IfConfAuthKey
  170. OCTET STRING (SIZE(0..16)),
  171. rip2IfConfSend
  172. INTEGER,
  173. rip2IfConfReceive
  174. INTEGER,
  175. rip2IfConfDefaultMetric
  176. INTEGER,
  177. rip2IfConfStatus
  178. RowStatus,
  179. rip2IfConfSrcAddress
  180. IpAddress
  181. }
  182. rip2IfConfAddress OBJECT-TYPE
  183. SYNTAX IpAddress
  184. MAX-ACCESS read-only
  185. STATUS current
  186. DESCRIPTION
  187. "The IP Address of this system on the indicated
  188. subnet. For unnumbered interfaces, the value 0.0.0.N,
  189. where the least significant 24 bits (N) is the ifIndex
  190. for the IP Interface in network byte order."
  191. ::= { rip2IfConfEntry 1 }
  192. rip2IfConfDomain OBJECT-TYPE
  193. SYNTAX RouteTag
  194. MAX-ACCESS read-create
  195. STATUS obsolete
  196. DESCRIPTION
  197. "Value inserted into the Routing Domain field
  198. of all RIP packets sent on this interface."
  199. DEFVAL { '0000'h }
  200. ::= { rip2IfConfEntry 2 }
  201. rip2IfConfAuthType OBJECT-TYPE
  202. SYNTAX INTEGER {
  203. noAuthentication (1),
  204. simplePassword (2),
  205. md5 (3)
  206. }
  207. MAX-ACCESS read-create
  208. STATUS current
  209. DESCRIPTION
  210. "The type of Authentication used on this
  211. interface."
  212. DEFVAL { noAuthentication }
  213. ::= { rip2IfConfEntry 3 }
  214. rip2IfConfAuthKey OBJECT-TYPE
  215. SYNTAX OCTET STRING (SIZE(0..16))
  216. MAX-ACCESS read-create
  217. STATUS current
  218. DESCRIPTION
  219. "The value to be used as the Authentication Key
  220. whenever the corresponding instance of
  221. rip2IfConfAuthType has a value other than
  222. noAuthentication. A modification of the corresponding
  223. instance of rip2IfConfAuthType does not modify
  224. the rip2IfConfAuthKey value. If a string shorter
  225. than 16 octets is supplied, it will be left-
  226. justified and padded to 16 octets, on the right,
  227. with nulls (0x00).
  228. Reading this object always results in an OCTET
  229. STRING of length zero; authentication may not
  230. be bypassed by reading the MIB object."
  231. DEFVAL { ''h }
  232. ::= { rip2IfConfEntry 4 }
  233. rip2IfConfSend OBJECT-TYPE
  234. SYNTAX INTEGER {
  235. doNotSend (1),
  236. ripVersion1 (2),
  237. rip1Compatible (3),
  238. ripVersion2 (4),
  239. ripV1Demand (5),
  240. ripV2Demand (6)
  241. }
  242. MAX-ACCESS read-create
  243. STATUS current
  244. DESCRIPTION
  245. "What the router sends on this interface.
  246. ripVersion1 implies sending RIP updates compliant
  247. with RFC 1058. rip1Compatible implies
  248. broadcasting RIP-2 updates using RFC 1058 route
  249. subsumption rules. ripVersion2 implies
  250. multicasting RIP-2 updates. ripV1Demand indicates
  251. the use of Demand RIP on a WAN interface under RIP
  252. Version 1 rules. ripV2Demand indicates the use of
  253. Demand RIP on a WAN interface under Version 2 rules."
  254. DEFVAL { rip1Compatible }
  255. ::= { rip2IfConfEntry 5 }
  256. rip2IfConfReceive OBJECT-TYPE
  257. SYNTAX INTEGER {
  258. rip1 (1),
  259. rip2 (2),
  260. rip1OrRip2 (3),
  261. doNotRecieve (4)
  262. }
  263. MAX-ACCESS read-create
  264. STATUS current
  265. DESCRIPTION
  266. "This indicates which version of RIP updates
  267. are to be accepted. Note that rip2 and
  268. rip1OrRip2 implies reception of multicast
  269. packets."
  270. DEFVAL { rip1OrRip2 }
  271. ::= { rip2IfConfEntry 6 }
  272. rip2IfConfDefaultMetric OBJECT-TYPE
  273. SYNTAX INTEGER ( 0..15 )
  274. MAX-ACCESS read-create
  275. STATUS current
  276. DESCRIPTION
  277. "This variable indicates the metric that is to
  278. be used for the default route entry in RIP updates
  279. originated on this interface. A value of zero
  280. indicates that no default route should be
  281. originated; in this case, a default route via
  282. another router may be propagated."
  283. ::= { rip2IfConfEntry 7 }
  284. rip2IfConfStatus OBJECT-TYPE
  285. SYNTAX RowStatus
  286. MAX-ACCESS read-create
  287. STATUS current
  288. DESCRIPTION
  289. "Writing invalid has the effect of deleting
  290. this interface."
  291. ::= { rip2IfConfEntry 8 }
  292. rip2IfConfSrcAddress OBJECT-TYPE
  293. SYNTAX IpAddress
  294. MAX-ACCESS read-create
  295. STATUS current
  296. DESCRIPTION
  297. "The IP Address this system will use as a source
  298. address on this interface. If it is a numbered
  299. interface, this MUST be the same value as
  300. rip2IfConfAddress. On unnumbered interfaces,
  301. it must be the value of rip2IfConfAddress for
  302. some interface on the system."
  303. ::= { rip2IfConfEntry 9 }
  304. --4.3 Peer Table
  305. -- Peer Table
  306. -- The RIP Peer Group
  307. -- Implementation of this Group is Optional
  308. -- This group provides information about active peer
  309. -- relationships intended to assist in debugging. An
  310. -- active peer is a router from which a valid RIP
  311. -- updated has been heard in the last 180 seconds.
  312. rip2PeerTable OBJECT-TYPE
  313. SYNTAX SEQUENCE OF Rip2PeerEntry
  314. MAX-ACCESS not-accessible
  315. STATUS current
  316. DESCRIPTION
  317. "A list of RIP Peers."
  318. ::= { rip2 4 }
  319. rip2PeerEntry OBJECT-TYPE
  320. SYNTAX Rip2PeerEntry
  321. MAX-ACCESS not-accessible
  322. STATUS current
  323. DESCRIPTION
  324. "Information regarding a single routing peer."
  325. INDEX { rip2PeerAddress, rip2PeerDomain }
  326. ::= { rip2PeerTable 1 }
  327. Rip2PeerEntry ::=
  328. SEQUENCE {
  329. rip2PeerAddress
  330. IpAddress,
  331. rip2PeerDomain
  332. RouteTag,
  333. rip2PeerLastUpdate
  334. TimeTicks,
  335. rip2PeerVersion
  336. INTEGER,
  337. rip2PeerRcvBadPackets
  338. Counter32,
  339. rip2PeerRcvBadRoutes
  340. Counter32
  341. }
  342. rip2PeerAddress OBJECT-TYPE
  343. SYNTAX IpAddress
  344. MAX-ACCESS read-only
  345. STATUS current
  346. DESCRIPTION
  347. "The IP Address that the peer is using as its source
  348. address. Note that on an unnumbered link, this may
  349. not be a member of any subnet on the system."
  350. ::= { rip2PeerEntry 1 }
  351. rip2PeerDomain OBJECT-TYPE
  352. SYNTAX RouteTag
  353. MAX-ACCESS read-only
  354. STATUS current
  355. DESCRIPTION
  356. "The value in the Routing Domain field in RIP
  357. packets received from the peer. As domain suuport
  358. is deprecated, this must be zero."
  359. ::= { rip2PeerEntry 2 }
  360. rip2PeerLastUpdate OBJECT-TYPE
  361. SYNTAX TimeTicks
  362. MAX-ACCESS read-only
  363. STATUS current
  364. DESCRIPTION
  365. "The value of sysUpTime when the most recent
  366. RIP update was received from this system."
  367. ::= { rip2PeerEntry 3 }
  368. rip2PeerVersion OBJECT-TYPE
  369. SYNTAX INTEGER ( 0..255 )
  370. MAX-ACCESS read-only
  371. STATUS current
  372. DESCRIPTION
  373. "The RIP version number in the header of the
  374. last RIP packet received."
  375. ::= { rip2PeerEntry 4 }
  376. rip2PeerRcvBadPackets OBJECT-TYPE
  377. SYNTAX Counter32
  378. MAX-ACCESS read-only
  379. STATUS current
  380. DESCRIPTION
  381. "The number of RIP response packets from this
  382. peer discarded as invalid."
  383. ::= { rip2PeerEntry 5 }
  384. rip2PeerRcvBadRoutes OBJECT-TYPE
  385. SYNTAX Counter32
  386. MAX-ACCESS read-only
  387. STATUS current
  388. DESCRIPTION
  389. "The number of routes from this peer that were
  390. ignored because the entry format was invalid."
  391. ::= { rip2PeerEntry 6 }
  392. -- conformance information
  393. rip2Conformance OBJECT IDENTIFIER ::= { rip2 5 }
  394. rip2Groups OBJECT IDENTIFIER ::= { rip2Conformance 1 }
  395. rip2Compliances OBJECT IDENTIFIER ::= { rip2Conformance 2 }
  396. -- compliance statements
  397. rip2Compliance MODULE-COMPLIANCE
  398. STATUS current
  399. DESCRIPTION
  400. "The compliance statement "
  401. MODULE -- this module
  402. MANDATORY-GROUPS {
  403. rip2GlobalGroup,
  404. rip2IfStatGroup,
  405. rip2IfConfGroup,
  406. rip2PeerGroup
  407. }
  408. GROUP rip2GlobalGroup
  409. DESCRIPTION
  410. "This group defines global controls for RIP-II systems."
  411. GROUP rip2IfStatGroup
  412. DESCRIPTION
  413. "This group defines interface statistics for RIP-II systems."
  414. GROUP rip2IfConfGroup
  415. DESCRIPTION
  416. "This group defines interface configuration for RIP-II systems."
  417. GROUP rip2PeerGroup
  418. DESCRIPTION
  419. "This group defines peer information for RIP-II systems."
  420. ::= { rip2Compliances 1 }
  421. -- units of conformance
  422. rip2GlobalGroup OBJECT-GROUP
  423. OBJECTS {
  424. rip2GlobalRouteChanges,
  425. rip2GlobalQueries
  426. }
  427. STATUS current
  428. DESCRIPTION
  429. "This group defines global controls for RIP-II systems."
  430. ::= { rip2Groups 1 }
  431. rip2IfStatGroup OBJECT-GROUP
  432. OBJECTS {
  433. rip2IfStatAddress,
  434. rip2IfStatRcvBadPackets,
  435. rip2IfStatRcvBadRoutes,
  436. rip2IfStatSentUpdates,
  437. rip2IfStatStatus
  438. }
  439. STATUS current
  440. DESCRIPTION
  441. "This group defines interface statistics for RIP-II systems."
  442. ::= { rip2Groups 2 }
  443. rip2IfConfGroup OBJECT-GROUP
  444. OBJECTS {
  445. rip2IfConfAddress,
  446. rip2IfConfAuthType,
  447. rip2IfConfAuthKey,
  448. rip2IfConfSend,
  449. rip2IfConfReceive,
  450. rip2IfConfDefaultMetric,
  451. rip2IfConfStatus,
  452. rip2IfConfSrcAddress
  453. }
  454. STATUS current
  455. DESCRIPTION
  456. "This group defines interface configuration for RIP-II systems."
  457. ::= { rip2Groups 3 }
  458. rip2PeerGroup OBJECT-GROUP
  459. OBJECTS {
  460. rip2PeerAddress,
  461. rip2PeerDomain,
  462. rip2PeerLastUpdate,
  463. rip2PeerVersion,
  464. rip2PeerRcvBadPackets,
  465. rip2PeerRcvBadRoutes
  466. }
  467. STATUS current
  468. DESCRIPTION
  469. "This group defines peer information for RIP-II systems."
  470. ::= { rip2Groups 4 }
  471. END