Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

460 lines
13 KiB

  1. RFC1389-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. Counter, TimeTicks, IpAddress
  4. FROM RFC1155-SMI
  5. mib-2
  6. FROM RFC1213-MIB
  7. OBJECT-TYPE
  8. FROM RFC-1212;
  9. -- RIP-2 Management Information Base
  10. rip2 OBJECT IDENTIFIER ::= { mib-2 23 }
  11. -- the RouteTag type represents the contents of the
  12. -- Route Tag field in the packet header or route entry.
  13. RouteTag ::= OCTET STRING (SIZE (2))
  14. -- the Validation type is used for the variable that deletes
  15. -- an entry from a table, and ALWAYS takes at least these values:
  16. Validation ::= INTEGER { valid (1), invalid (2) }
  17. -- The RIP-2 Globals Group.
  18. -- Implementation of this group is mandatory for systems that
  19. -- implement RIP-2.
  20. -- These counters are intended to facilitate debugging quickly
  21. -- changing routes or failing neighbors
  22. rip2GlobalGroup OBJECT IDENTIFIER ::= { rip2 1 }
  23. rip2GlobalRouteChanges OBJECT-TYPE
  24. SYNTAX Counter
  25. ACCESS read-only
  26. STATUS mandatory
  27. DESCRIPTION
  28. "The number of changes made to the IP Route Da-
  29. tabase by RIP."
  30. ::= { rip2GlobalGroup 1 }
  31. rip2GlobalQueries OBJECT-TYPE
  32. SYNTAX Counter
  33. ACCESS read-only
  34. STATUS mandatory
  35. DESCRIPTION
  36. "The number of responses sent to RIP queries
  37. from other systems."
  38. ::= { rip2GlobalGroup 2 }
  39. -- RIP Interfaces Groups
  40. -- Implementation of these Groups is mandatory for systems that
  41. -- implement RIP-2.
  42. -- Since RIP versions 1 and 2 do not deal with addressless links,
  43. -- it is assumed that RIP "interfaces" are subnets within a
  44. -- routing domain.
  45. -- The RIP Interface Status Table.
  46. rip2IfStatTable OBJECT-TYPE
  47. SYNTAX SEQUENCE OF Rip2IfStatEntry
  48. ACCESS not-accessible
  49. STATUS mandatory
  50. DESCRIPTION
  51. "A list of subnets which require separate
  52. status monitoring in RIP."
  53. ::= { rip2 2 }
  54. rip2IfStatEntry OBJECT-TYPE
  55. SYNTAX Rip2IfStatEntry
  56. ACCESS not-accessible
  57. STATUS mandatory
  58. DESCRIPTION
  59. "A Single Routing Domain in a single Subnet."
  60. INDEX { rip2IfStatAddress }
  61. ::= { rip2IfStatTable 1 }
  62. Rip2IfStatEntry ::=
  63. SEQUENCE {
  64. rip2IfStatAddress
  65. IpAddress,
  66. rip2IfStatRcvBadPackets
  67. Counter,
  68. rip2IfStatRcvBadRoutes
  69. Counter,
  70. rip2IfStatSentUpdates
  71. Counter,
  72. rip2IfStatStatus
  73. Validation
  74. }
  75. rip2IfStatAddress OBJECT-TYPE
  76. SYNTAX IpAddress
  77. ACCESS read-only
  78. STATUS mandatory
  79. DESCRIPTION
  80. "The IP Address of this system on the indicated
  81. subnet."
  82. ::= { rip2IfStatEntry 1 }
  83. rip2IfStatRcvBadPackets OBJECT-TYPE
  84. SYNTAX Counter
  85. ACCESS read-only
  86. STATUS mandatory
  87. DESCRIPTION
  88. "The number of RIP response packets received by
  89. the RIP process which were subsequently dis-
  90. carded for any reason (e.g. a version 0 packet,
  91. or an unknown command type)."
  92. ::= { rip2IfStatEntry 2 }
  93. rip2IfStatRcvBadRoutes OBJECT-TYPE
  94. SYNTAX Counter
  95. ACCESS read-only
  96. STATUS mandatory
  97. DESCRIPTION
  98. "The number of routes, in valid RIP packets,
  99. which were ignored for any reason (e.g. unknown
  100. address family, or invalid metric)."
  101. ::= { rip2IfStatEntry 3 }
  102. rip2IfStatSentUpdates OBJECT-TYPE
  103. SYNTAX Counter
  104. ACCESS read-only
  105. STATUS mandatory
  106. DESCRIPTION
  107. "The number of triggered RIP updates actually
  108. sent on this interface. This explicitly does
  109. NOT include full updates sent containing new
  110. information."
  111. ::= { rip2IfStatEntry 4 }
  112. rip2IfStatStatus OBJECT-TYPE
  113. SYNTAX Validation
  114. ACCESS read-write
  115. STATUS mandatory
  116. DESCRIPTION
  117. "Writing invalid has the effect of deleting
  118. this interface."
  119. DEFVAL { valid }
  120. ::= { rip2IfStatEntry 5 }
  121. -- The RIP Interface Configuration Table.
  122. rip2IfConfTable OBJECT-TYPE
  123. SYNTAX SEQUENCE OF Rip2IfConfEntry
  124. ACCESS not-accessible
  125. STATUS mandatory
  126. DESCRIPTION
  127. "A list of subnets which require separate con-
  128. figuration in RIP."
  129. ::= { rip2 3 }
  130. rip2IfConfEntry OBJECT-TYPE
  131. SYNTAX Rip2IfConfEntry
  132. ACCESS not-accessible
  133. STATUS mandatory
  134. DESCRIPTION
  135. "A Single Routing Domain in a single Subnet."
  136. INDEX { rip2IfConfAddress }
  137. ::= { rip2IfConfTable 1 }
  138. Rip2IfConfEntry ::=
  139. SEQUENCE {
  140. rip2IfConfAddress
  141. IpAddress,
  142. rip2IfConfDomain
  143. RouteTag,
  144. rip2IfConfAuthType
  145. INTEGER,
  146. rip2IfConfAuthKey
  147. OCTET STRING (SIZE(0..16)),
  148. rip2IfConfSend
  149. INTEGER,
  150. rip2IfConfReceive
  151. INTEGER,
  152. rip2IfConfDefaultMetric
  153. INTEGER,
  154. rip2IfConfStatus
  155. Validation
  156. }
  157. rip2IfConfAddress OBJECT-TYPE
  158. SYNTAX IpAddress
  159. ACCESS read-only
  160. STATUS mandatory
  161. DESCRIPTION
  162. "The IP Address of this system on the indicated
  163. subnet."
  164. ::= { rip2IfConfEntry 1 }
  165. rip2IfConfDomain OBJECT-TYPE
  166. SYNTAX RouteTag
  167. ACCESS read-write
  168. STATUS mandatory
  169. DESCRIPTION
  170. "Value inserted into the Routing Domain field
  171. of all RIP packets sent on this interface."
  172. DEFVAL { '0000'h }
  173. ::= { rip2IfConfEntry 2 }
  174. rip2IfConfAuthType OBJECT-TYPE
  175. SYNTAX INTEGER {
  176. noAuthentication (1),
  177. simplePassword (2)
  178. }
  179. ACCESS read-write
  180. STATUS mandatory
  181. DESCRIPTION
  182. "The type of Authentication used on this inter-
  183. face."
  184. DEFVAL { noAuthentication }
  185. ::= { rip2IfConfEntry 3 }
  186. rip2IfConfAuthKey OBJECT-TYPE
  187. SYNTAX OCTET STRING (SIZE(0..16))
  188. ACCESS read-write
  189. STATUS mandatory
  190. DESCRIPTION
  191. "The value to be used as the Authentication Key
  192. whenever the corresponding instance of
  193. rip2IfConfAuthType has the value simplePass-
  194. word. A modification of the corresponding in-
  195. stance of rip2IfConfAuthType does not modify
  196. the rip2IfConfAuthKey value.
  197. If a string shorter than 16 octets is supplied,
  198. it will be left-justified and padded to 16 oc-
  199. tets, on the right, with nulls (0x00).
  200. Reading this object always results in an OCTET
  201. STRING of length zero; authentication may not
  202. be bypassed by reading the MIB object."
  203. DEFVAL { ''h }
  204. ::= { rip2IfConfEntry 4 }
  205. rip2IfConfSend OBJECT-TYPE
  206. SYNTAX INTEGER {
  207. doNotSend (1),
  208. ripVersion1 (2),
  209. rip1Compatible (3),
  210. ripVersion2 (4)
  211. }
  212. ACCESS read-write
  213. STATUS mandatory
  214. DESCRIPTION
  215. "What the router sends on this interface.
  216. ripVersion1 implies sending RIP updates compli-
  217. ant with RFC 1058. rip1Compatible implies
  218. broadcasting RIP-2 updates using RFC 1058 route
  219. subsumption rules. ripVersion2 implies multi-
  220. casting RIP-2 updates."
  221. DEFVAL { rip1Compatible }
  222. ::= { rip2IfConfEntry 5 }
  223. rip2IfConfReceive OBJECT-TYPE
  224. SYNTAX INTEGER {
  225. rip1 (1),
  226. rip2 (2),
  227. rip1OrRip2 (3)
  228. }
  229. ACCESS read-write
  230. STATUS mandatory
  231. DESCRIPTION
  232. "This indicates which version of RIP updates
  233. are to be accepted. Note that rip2 and
  234. rip1OrRip2 implies reception of multicast pack-
  235. ets."
  236. DEFVAL { rip1OrRip2 }
  237. ::= { rip2IfConfEntry 6 }
  238. rip2IfConfDefaultMetric OBJECT-TYPE
  239. SYNTAX INTEGER ( 0..15 )
  240. ACCESS read-write
  241. STATUS mandatory
  242. DESCRIPTION
  243. "This variable indicates what metric is to be
  244. used as a default route in RIP updates ori-
  245. ginated on this interface. A value of zero in-
  246. dicates that no default route should be ori-
  247. ginated; in this case, a default route via
  248. another router may be propagated."
  249. ::= { rip2IfConfEntry 7 }
  250. rip2IfConfStatus OBJECT-TYPE
  251. SYNTAX Validation
  252. ACCESS read-write
  253. STATUS mandatory
  254. DESCRIPTION
  255. "Writing invalid has the effect of deleting
  256. this interface."
  257. DEFVAL { valid }
  258. ::= { rip2IfConfEntry 8 }
  259. -- Peer Table
  260. -- The RIP Peer Group
  261. -- Implementation of this Group is Optional
  262. -- This group provides information about active peer
  263. -- relationships intended to assist in debugging.
  264. rip2PeerTable OBJECT-TYPE
  265. SYNTAX SEQUENCE OF Rip2PeerEntry
  266. ACCESS not-accessible
  267. STATUS mandatory
  268. DESCRIPTION
  269. "A list of RIP Peers."
  270. ::= { rip2 4 }
  271. rip2PeerEntry OBJECT-TYPE
  272. SYNTAX Rip2PeerEntry
  273. ACCESS not-accessible
  274. STATUS mandatory
  275. DESCRIPTION
  276. "Information regarding a single routing peer."
  277. INDEX { rip2PeerAddress, rip2PeerDomain }
  278. ::= { rip2PeerTable 1 }
  279. Rip2PeerEntry ::=
  280. SEQUENCE {
  281. rip2PeerAddress
  282. IpAddress,
  283. rip2PeerDomain
  284. RouteTag,
  285. rip2PeerLastUpdate
  286. TimeTicks,
  287. rip2PeerVersion
  288. INTEGER,
  289. rip2PeerRcvBadPackets
  290. Counter,
  291. rip2PeerRcvBadRoutes
  292. Counter
  293. }
  294. rip2PeerAddress OBJECT-TYPE
  295. SYNTAX IpAddress
  296. ACCESS read-only
  297. STATUS mandatory
  298. DESCRIPTION
  299. "The IP Address of the Peer System."
  300. ::= { rip2PeerEntry 1 }
  301. rip2PeerDomain OBJECT-TYPE
  302. SYNTAX RouteTag
  303. ACCESS read-only
  304. STATUS mandatory
  305. DESCRIPTION
  306. "The value in the Routing Domain field in RIP
  307. packets received from the peer."
  308. ::= { rip2PeerEntry 2 }
  309. rip2PeerLastUpdate OBJECT-TYPE
  310. SYNTAX TimeTicks
  311. ACCESS read-only
  312. STATUS mandatory
  313. DESCRIPTION
  314. "The value of sysUpTime when the most recent
  315. RIP update was received from this system."
  316. ::= { rip2PeerEntry 3 }
  317. rip2PeerVersion OBJECT-TYPE
  318. SYNTAX INTEGER ( 0..255 )
  319. ACCESS read-only
  320. STATUS mandatory
  321. DESCRIPTION
  322. "The RIP version number in the header of the
  323. last RIP packet received."
  324. ::= { rip2PeerEntry 4 }
  325. rip2PeerRcvBadPackets OBJECT-TYPE
  326. SYNTAX Counter
  327. ACCESS read-only
  328. STATUS mandatory
  329. DESCRIPTION
  330. "The number of RIP response packets from this
  331. peer discarded as invalid."
  332. ::= { rip2PeerEntry 5 }
  333. rip2PeerRcvBadRoutes OBJECT-TYPE
  334. SYNTAX Counter
  335. ACCESS read-only
  336. STATUS mandatory
  337. DESCRIPTION
  338. "The number of routes from this peer that were
  339. ignored because the entry format was invalid."
  340. ::= { rip2PeerEntry 6 }
  341. END