OSPF-TRAP-MIB.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. OSPF-TRAP-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, IpAddress
  4. FROM SNMPv2-SMI
  5. MODULE-COMPLIANCE, OBJECT-GROUP
  6. FROM SNMPv2-CONF
  7. ospfRouterId, ospfIfIpAddress, ospfAddressLessIf, ospfIfState,
  8. ospfVirtIfAreaId, ospfVirtIfNeighbor, ospfVirtIfState,
  9. ospfNbrIpAddr, ospfNbrAddressLessIndex, ospfNbrRtrId,
  10. ospfNbrState, ospfVirtNbrArea, ospfVirtNbrRtrId, ospfVirtNbrState,
  11. ospfLsdbType, ospfLsdbLsid, ospfLsdbRouterId, ospfLsdbAreaId,
  12. ospfExtLsdbLimit, ospf
  13. FROM OSPF-MIB;
  14. ospfTrap MODULE-IDENTITY
  15. LAST-UPDATED "9501201225Z" -- Fri Jan 20 12:25:50 PST 1995
  16. ORGANIZATION "IETF OSPF Working Group"
  17. CONTACT-INFO
  18. " Fred Baker
  19. Postal: Cisco Systems
  20. 519 Lado Drive
  21. Santa Barbara, California 93111
  22. Tel: +1 805 681 0115
  23. E-Mail: fred@cisco.com
  24. Rob Coltun
  25. Postal: RainbowBridge Communications
  26. Tel: (301) 340-9416
  27. E-Mail: rcoltun@rainbow-bridge.com"
  28. DESCRIPTION
  29. "The MIB module to describe traps for the OSPF
  30. Version 2 Protocol."
  31. ::= { ospf 16 }
  32. -- Trap Support Objects
  33. -- The following are support objects for the OSPF traps.
  34. ospfTrapControl OBJECT IDENTIFIER ::= { ospfTrap 1 }
  35. ospfTraps OBJECT IDENTIFIER ::= { ospfTrap 2 }
  36. ospfSetTrap OBJECT-TYPE
  37. SYNTAX OCTET STRING (SIZE(4))
  38. MAX-ACCESS read-write
  39. STATUS current
  40. DESCRIPTION
  41. "A four-octet string serving as a bit map for
  42. the trap events defined by the OSPF traps. This
  43. object is used to enable and disable specific
  44. OSPF traps where a 1 in the bit field
  45. represents enabled. The right-most bit (least
  46. significant) represents trap 0."
  47. ::= { ospfTrapControl 1 }
  48. ospfConfigErrorType OBJECT-TYPE
  49. SYNTAX INTEGER {
  50. badVersion (1),
  51. areaMismatch (2),
  52. unknownNbmaNbr (3), -- Router is Dr eligible
  53. unknownVirtualNbr (4),
  54. authTypeMismatch(5),
  55. authFailure (6),
  56. netMaskMismatch (7),
  57. helloIntervalMismatch (8),
  58. deadIntervalMismatch (9),
  59. optionMismatch (10) }
  60. MAX-ACCESS read-only
  61. STATUS current
  62. DESCRIPTION
  63. "Potential types of configuration conflicts.
  64. Used by the ospfConfigError and ospfConfigVir-
  65. tError traps."
  66. ::= { ospfTrapControl 2 }
  67. ospfPacketType OBJECT-TYPE
  68. SYNTAX INTEGER {
  69. hello (1),
  70. dbDescript (2),
  71. lsReq (3),
  72. lsUpdate (4),
  73. lsAck (5) }
  74. MAX-ACCESS read-only
  75. STATUS current
  76. DESCRIPTION
  77. "OSPF packet types."
  78. ::= { ospfTrapControl 3 }
  79. ospfPacketSrc OBJECT-TYPE
  80. SYNTAX IpAddress
  81. MAX-ACCESS read-only
  82. STATUS current
  83. DESCRIPTION
  84. "The IP address of an inbound packet that can-
  85. not be identified by a neighbor instance."
  86. ::= { ospfTrapControl 4 }
  87. -- Traps
  88. ospfIfStateChange NOTIFICATION-TYPE
  89. OBJECTS {
  90. ospfRouterId, -- The originator of the trap
  91. ospfIfIpAddress,
  92. ospfAddressLessIf,
  93. ospfIfState -- The new state
  94. }
  95. STATUS current
  96. DESCRIPTION
  97. "An ospfIfStateChange trap signifies that there
  98. has been a change in the state of a non-virtual
  99. OSPF interface. This trap should be generated
  100. when the interface state regresses (e.g., goes
  101. from Dr to Down) or progresses to a terminal
  102. state (i.e., Point-to-Point, DR Other, Dr, or
  103. Backup)."
  104. ::= { ospfTraps 16 }
  105. ospfVirtIfStateChange NOTIFICATION-TYPE
  106. OBJECTS {
  107. ospfRouterId, -- The originator of the trap
  108. ospfVirtIfAreaId,
  109. ospfVirtIfNeighbor,
  110. ospfVirtIfState -- The new state
  111. }
  112. STATUS current
  113. DESCRIPTION
  114. "An ospfIfStateChange trap signifies that there
  115. has been a change in the state of an OSPF vir-
  116. tual interface.
  117. This trap should be generated when the inter-
  118. face state regresses (e.g., goes from Point-
  119. to-Point to Down) or progresses to a terminal
  120. state (i.e., Point-to-Point)."
  121. ::= { ospfTraps 1 }
  122. ospfNbrStateChange NOTIFICATION-TYPE
  123. OBJECTS {
  124. ospfRouterId, -- The originator of the trap
  125. ospfNbrIpAddr,
  126. ospfNbrAddressLessIndex,
  127. ospfNbrRtrId,
  128. ospfNbrState -- The new state
  129. }
  130. STATUS current
  131. DESCRIPTION
  132. "An ospfNbrStateChange trap signifies that
  133. there has been a change in the state of a non-
  134. virtual OSPF neighbor. This trap should be
  135. generated when the neighbor state regresses
  136. (e.g., goes from Attempt or Full to 1-Way or
  137. Down) or progresses to a terminal state (e.g.,
  138. 2-Way or Full). When an neighbor transitions
  139. from or to Full on non-broadcast multi-access
  140. and broadcast networks, the trap should be gen-
  141. erated by the designated router. A designated
  142. router transitioning to Down will be noted by
  143. ospfIfStateChange."
  144. ::= { ospfTraps 2 }
  145. ospfVirtNbrStateChange NOTIFICATION-TYPE
  146. OBJECTS {
  147. ospfRouterId, -- The originator of the trap
  148. ospfVirtNbrArea,
  149. ospfVirtNbrRtrId,
  150. ospfVirtNbrState -- The new state
  151. }
  152. STATUS current
  153. DESCRIPTION
  154. "An ospfIfStateChange trap signifies that there
  155. has been a change in the state of an OSPF vir-
  156. tual neighbor. This trap should be generated
  157. when the neighbor state regresses (e.g., goes
  158. from Attempt or Full to 1-Way or Down) or
  159. progresses to a terminal state (e.g., Full)."
  160. ::= { ospfTraps 3 }
  161. ospfIfConfigError NOTIFICATION-TYPE
  162. OBJECTS {
  163. ospfRouterId, -- The originator of the trap
  164. ospfIfIpAddress,
  165. ospfAddressLessIf,
  166. ospfPacketSrc, -- The source IP address
  167. ospfConfigErrorType, -- Type of error
  168. ospfPacketType
  169. }
  170. STATUS current
  171. DESCRIPTION
  172. "An ospfIfConfigError trap signifies that a
  173. packet has been received on a non-virtual in-
  174. terface from a router whose configuration
  175. parameters conflict with this router's confi-
  176. guration parameters. Note that the event op-
  177. tionMismatch should cause a trap only if it
  178. prevents an adjacency from forming."
  179. ::= { ospfTraps 4 }
  180. ospfVirtIfConfigError NOTIFICATION-TYPE
  181. OBJECTS {
  182. ospfRouterId, -- The originator of the trap
  183. ospfVirtIfAreaId,
  184. ospfVirtIfNeighbor,
  185. ospfConfigErrorType, -- Type of error
  186. ospfPacketType
  187. }
  188. STATUS current
  189. DESCRIPTION
  190. "An ospfConfigError trap signifies that a pack-
  191. et has been received on a virtual interface
  192. from a router whose configuration parameters
  193. conflict with this router's configuration
  194. parameters. Note that the event optionMismatch
  195. should cause a trap only if it prevents an ad-
  196. jacency from forming."
  197. ::= { ospfTraps 5 }
  198. ospfIfAuthFailure NOTIFICATION-TYPE
  199. OBJECTS {
  200. ospfRouterId, -- The originator of the trap
  201. ospfIfIpAddress,
  202. ospfAddressLessIf,
  203. ospfPacketSrc, -- The source IP address
  204. ospfConfigErrorType, -- authTypeMismatch or
  205. -- authFailure
  206. ospfPacketType
  207. }
  208. STATUS current
  209. DESCRIPTION
  210. "An ospfIfAuthFailure trap signifies that a
  211. packet has been received on a non-virtual in-
  212. terface from a router whose authentication key
  213. or authentication type conflicts with this
  214. router's authentication key or authentication
  215. type."
  216. ::= { ospfTraps 6 }
  217. ospfVirtIfAuthFailure NOTIFICATION-TYPE
  218. OBJECTS {
  219. ospfRouterId, -- The originator of the trap
  220. ospfVirtIfAreaId,
  221. ospfVirtIfNeighbor,
  222. ospfConfigErrorType, -- authTypeMismatch or
  223. -- authFailure
  224. ospfPacketType
  225. }
  226. STATUS current
  227. DESCRIPTION
  228. "An ospfVirtIfAuthFailure trap signifies that a
  229. packet has been received on a virtual interface
  230. from a router whose authentication key or au-
  231. thentication type conflicts with this router's
  232. authentication key or authentication type."
  233. ::= { ospfTraps 7 }
  234. ospfIfRxBadPacket NOTIFICATION-TYPE
  235. OBJECTS {
  236. ospfRouterId, -- The originator of the trap
  237. ospfIfIpAddress,
  238. ospfAddressLessIf,
  239. ospfPacketSrc, -- The source IP address
  240. ospfPacketType
  241. }
  242. STATUS current
  243. DESCRIPTION
  244. "An ospfIfRxBadPacket trap signifies that an
  245. OSPF packet has been received on a non-virtual
  246. interface that cannot be parsed."
  247. ::= { ospfTraps 8 }
  248. ospfVirtIfRxBadPacket NOTIFICATION-TYPE
  249. OBJECTS {
  250. ospfRouterId, -- The originator of the trap
  251. ospfVirtIfAreaId,
  252. ospfVirtIfNeighbor,
  253. ospfPacketType
  254. }
  255. STATUS current
  256. DESCRIPTION
  257. "An ospfRxBadPacket trap signifies that an OSPF
  258. packet has been received on a virtual interface
  259. that cannot be parsed."
  260. ::= { ospfTraps 9 }
  261. ospfTxRetransmit NOTIFICATION-TYPE
  262. OBJECTS {
  263. ospfRouterId, -- The originator of the trap
  264. ospfIfIpAddress,
  265. ospfAddressLessIf,
  266. ospfNbrRtrId, -- Destination
  267. ospfPacketType,
  268. ospfLsdbType,
  269. ospfLsdbLsid,
  270. ospfLsdbRouterId
  271. }
  272. STATUS current
  273. DESCRIPTION
  274. "An ospfTxRetransmit trap signifies than an
  275. OSPF packet has been retransmitted on a non-
  276. virtual interface. All packets that may be re-
  277. transmitted are associated with an LSDB entry.
  278. The LS type, LS ID, and Router ID are used to
  279. identify the LSDB entry."
  280. ::= { ospfTraps 10 }
  281. ospfVirtIfTxRetransmit NOTIFICATION-TYPE
  282. OBJECTS {
  283. ospfRouterId, -- The originator of the trap
  284. ospfVirtIfAreaId,
  285. ospfVirtIfNeighbor,
  286. ospfPacketType,
  287. ospfLsdbType,
  288. ospfLsdbLsid,
  289. ospfLsdbRouterId
  290. }
  291. STATUS current
  292. DESCRIPTION
  293. "An ospfTxRetransmit trap signifies than an
  294. OSPF packet has been retransmitted on a virtual
  295. interface. All packets that may be retransmit-
  296. ted are associated with an LSDB entry. The LS
  297. type, LS ID, and Router ID are used to identify
  298. the LSDB entry."
  299. ::= { ospfTraps 11 }
  300. ospfOriginateLsa NOTIFICATION-TYPE
  301. OBJECTS {
  302. ospfRouterId, -- The originator of the trap
  303. ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
  304. ospfLsdbType,
  305. ospfLsdbLsid,
  306. ospfLsdbRouterId
  307. }
  308. STATUS current
  309. DESCRIPTION
  310. "An ospfOriginateLsa trap signifies that a new
  311. LSA has been originated by this router. This
  312. trap should not be invoked for simple refreshes
  313. of LSAs (which happesn every 30 minutes), but
  314. instead will only be invoked when an LSA is
  315. (re)originated due to a topology change. Addi-
  316. tionally, this trap does not include LSAs that
  317. are being flushed because they have reached
  318. MaxAge."
  319. ::= { ospfTraps 12 }
  320. ospfMaxAgeLsa NOTIFICATION-TYPE
  321. OBJECTS {
  322. ospfRouterId, -- The originator of the trap
  323. ospfLsdbAreaId, -- 0.0.0.0 for AS Externals
  324. ospfLsdbType,
  325. ospfLsdbLsid,
  326. ospfLsdbRouterId
  327. }
  328. STATUS current
  329. DESCRIPTION
  330. "An ospfMaxAgeLsa trap signifies that one of
  331. the LSA in the router's link-state database has
  332. aged to MaxAge."
  333. ::= { ospfTraps 13 }
  334. ospfLsdbOverflow NOTIFICATION-TYPE
  335. OBJECTS {
  336. ospfRouterId, -- The originator of the trap
  337. ospfExtLsdbLimit
  338. }
  339. STATUS current
  340. DESCRIPTION
  341. "An ospfLsdbOverflow trap signifies that the
  342. number of LSAs in the router's link-state data-
  343. base has exceeded ospfExtLsdbLimit."
  344. ::= { ospfTraps 14 }
  345. ospfLsdbApproachingOverflow NOTIFICATION-TYPE
  346. OBJECTS {
  347. ospfRouterId, -- The originator of the trap
  348. ospfExtLsdbLimit
  349. }
  350. STATUS current
  351. DESCRIPTION
  352. "An ospfLsdbApproachingOverflow trap signifies
  353. that the number of LSAs in the router's link-
  354. state database has exceeded ninety percent of
  355. ospfExtLsdbLimit."
  356. ::= { ospfTraps 15 }
  357. -- conformance information
  358. ospfTrapConformance OBJECT IDENTIFIER ::= { ospfTrap 3 }
  359. ospfTrapGroups OBJECT IDENTIFIER ::= { ospfTrapConformance 1 }
  360. ospfTrapCompliances OBJECT IDENTIFIER ::= { ospfTrapConformance 2 }
  361. -- compliance statements
  362. ospfTrapCompliance MODULE-COMPLIANCE
  363. STATUS current
  364. DESCRIPTION
  365. "The compliance statement "
  366. MODULE -- this module
  367. MANDATORY-GROUPS { ospfTrapControlGroup }
  368. GROUP ospfTrapControlGroup
  369. DESCRIPTION
  370. "This group is optional but recommended for all
  371. OSPF systems"
  372. ::= { ospfTrapCompliances 1 }
  373. -- units of conformance
  374. ospfTrapControlGroup OBJECT-GROUP
  375. OBJECTS {
  376. ospfSetTrap,
  377. ospfConfigErrorType,
  378. ospfPacketType,
  379. ospfPacketSrc
  380. }
  381. STATUS current
  382. DESCRIPTION
  383. "These objects are required to control traps
  384. from OSPF systems."
  385. ::= { ospfTrapGroups 1 }
  386. END