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.

416 lines
16 KiB

  1. RFC1269-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. NetworkAddress, IpAddress, Counter
  4. FROM RFC1155-SMI
  5. mib-2
  6. FROM RFC1213-MIB
  7. OBJECT-TYPE
  8. FROM RFC-1212
  9. TRAP-TYPE
  10. FROM RFC-1215;
  11. -- This MIB module uses the extended OBJECT-TYPE macro as
  12. -- defined in [9], and the TRAP-TYPE macro as defined
  13. -- in [10].
  14. bgp OBJECT IDENTIFIER ::= { mib-2 15 }
  15. bgpVersion OBJECT-TYPE
  16. SYNTAX OCTET STRING
  17. ACCESS read-only
  18. STATUS mandatory
  19. DESCRIPTION
  20. "Vector of supported BGP protocol version
  21. numbers. Each peer negotiates the version from
  22. this vector. Versions are identified via the
  23. string of bits contained within this object.
  24. The first octet contains bits 0 to 7, the
  25. second octet contains bits 8 to 15, and so on,
  26. with the most significant bit referring to the
  27. lowest bit number in the octet (e.g., the MSB
  28. of the first octet refers to bit 0). If a bit,
  29. i, is present and set, then the version (i+1)
  30. of the BGP is supported."
  31. ::= { bgp 1 }
  32. bgpLocalAs OBJECT-TYPE
  33. SYNTAX INTEGER (0..65535)
  34. ACCESS read-only
  35. STATUS mandatory
  36. DESCRIPTION
  37. "The local autonomous system number."
  38. ::= { bgp 2 }
  39. bgpPeerTable OBJECT-TYPE
  40. SYNTAX SEQUENCE OF BgpPeerEntry
  41. ACCESS not-accessible
  42. STATUS mandatory
  43. DESCRIPTION
  44. "The bgp peer table."
  45. ::= { bgp 3 }
  46. bgpIdentifier OBJECT-TYPE
  47. SYNTAX IpAddress
  48. ACCESS read-only
  49. STATUS mandatory
  50. DESCRIPTION
  51. "The BGP Identifier of local system."
  52. ::= { bgp 4 }
  53. bgpPeerEntry OBJECT-TYPE
  54. SYNTAX BgpPeerEntry
  55. ACCESS not-accessible
  56. STATUS mandatory
  57. DESCRIPTION
  58. "Information about a BGP peer connection."
  59. INDEX
  60. { bgpPeerRemoteAddr }
  61. ::= { bgpPeerTable 1 }
  62. BgpPeerEntry ::= SEQUENCE {
  63. bgpPeerIdentifier
  64. IpAddress,
  65. bgpPeerState
  66. INTEGER,
  67. bgpPeerAdminStatus
  68. INTEGER,
  69. bgpPeerNegotiatedVersion
  70. INTEGER,
  71. bgpPeerLocalAddr
  72. IpAddress,
  73. bgpPeerLocalPort
  74. INTEGER,
  75. bgpPeerRemoteAddr
  76. IpAddress,
  77. bgpPeerRemotePort
  78. INTEGER,
  79. bgpPeerRemoteAs
  80. INTEGER,
  81. bgpPeerInUpdates
  82. Counter,
  83. bgpPeerOutUpdates
  84. Counter,
  85. bgpPeerInTotalMessages
  86. Counter,
  87. bgpPeerOutTotalMessages
  88. Counter,
  89. bgpPeerLastError
  90. OCTET STRING
  91. }
  92. bgpPeerIdentifier OBJECT-TYPE
  93. SYNTAX IpAddress
  94. ACCESS read-only
  95. STATUS mandatory
  96. DESCRIPTION
  97. "The BGP Identifier of this entry's BGP peer."
  98. ::= { bgpPeerEntry 1 }
  99. bgpPeerState OBJECT-TYPE
  100. SYNTAX INTEGER {
  101. idle(1),
  102. connect(2),
  103. active(3),
  104. opensent(4),
  105. openconfirm(5),
  106. established(6)
  107. }
  108. ACCESS read-only
  109. STATUS mandatory
  110. DESCRIPTION
  111. "The bgp peer connection state. "
  112. ::= { bgpPeerEntry 2 }
  113. bgpPeerAdminStatus OBJECT-TYPE
  114. SYNTAX INTEGER
  115. ACCESS read-write
  116. STATUS mandatory
  117. DESCRIPTION
  118. "The desired state of the BGP connection. A
  119. transition from 'stop' to 'start' will cause
  120. the BGP Start Event to be generated. A
  121. transition from 'start' to 'stop' will cause
  122. the BGP Stop Event to be generated. This
  123. parameter can be used to restart BGP peer
  124. connections. Care should be used in providing
  125. write access to this object without adequate
  126. authentication."
  127. ::= { bgpPeerEntry 3 }
  128. bgpPeerNegotiatedVersion OBJECT-TYPE
  129. SYNTAX INTEGER
  130. ACCESS read-only
  131. STATUS mandatory
  132. DESCRIPTION
  133. "The negotiated version of BGP running between
  134. the two peers. "
  135. ::= { bgpPeerEntry 4 }
  136. bgpPeerLocalAddr OBJECT-TYPE
  137. SYNTAX IpAddress
  138. ACCESS read-only
  139. STATUS mandatory
  140. DESCRIPTION
  141. "The local IP address of this entry's BGP
  142. connection."
  143. ::= { bgpPeerEntry 5 }
  144. bgpPeerLocalPort OBJECT-TYPE
  145. SYNTAX INTEGER (0..65535)
  146. ACCESS read-only
  147. STATUS mandatory
  148. DESCRIPTION
  149. "The local port for the TCP connection between
  150. the BGP peers."
  151. ::= { bgpPeerEntry 6 }
  152. bgpPeerRemoteAddr OBJECT-TYPE
  153. SYNTAX IpAddress
  154. ACCESS read-only
  155. STATUS mandatory
  156. DESCRIPTION
  157. "The remote IP address of this entry's BGP
  158. peer."
  159. ::= { bgpPeerEntry 7 }
  160. bgpPeerRemotePort OBJECT-TYPE
  161. SYNTAX INTEGER (0..65535)
  162. ACCESS read-only
  163. STATUS mandatory
  164. DESCRIPTION
  165. "The remote port for the TCP connection between
  166. the BGP peers. Note that the objects
  167. bgpLocalAddr, bgpLocalPort, bgpRemoteAddr and
  168. bgpRemotePort provide the appropriate reference
  169. to the standard MIB TCP connection table."
  170. ::= { bgpPeerEntry 8 }
  171. bgpPeerRemoteAs OBJECT-TYPE
  172. SYNTAX INTEGER (0..65535)
  173. ACCESS read-only
  174. STATUS mandatory
  175. DESCRIPTION
  176. "The remote autonomous system number."
  177. ::= { bgpPeerEntry 9 }
  178. bgpPeerInUpdates OBJECT-TYPE
  179. SYNTAX Counter
  180. ACCESS read-only
  181. STATUS mandatory
  182. DESCRIPTION
  183. "The number of BGP UPDATE messages received on
  184. this connection. This object should be
  185. initialized to zero when the connection is
  186. established."
  187. ::= { bgpPeerEntry 10 }
  188. bgpPeerOutUpdates OBJECT-TYPE
  189. SYNTAX Counter
  190. ACCESS read-only
  191. STATUS mandatory
  192. DESCRIPTION
  193. "The number of BGP UPDATE messages received on
  194. this connection. This object should be
  195. initialized to zero when the connection is
  196. established."
  197. ::= { bgpPeerEntry 11}
  198. bgpPeerInTotalMessages OBJECT-TYPE
  199. SYNTAX Counter
  200. ACCESS read-only
  201. STATUS mandatory
  202. DESCRIPTION
  203. "The total number of messages received from the
  204. remote peer on this connection. This object
  205. should be initialized to zero when the
  206. connection is established."
  207. ::= { bgpPeerEntry 12 }
  208. bgpPeerOutTotalMessages OBJECT-TYPE
  209. SYNTAX Counter
  210. ACCESS read-only
  211. STATUS mandatory
  212. DESCRIPTION
  213. "The total number of messages transmitted to
  214. the remote peer on this connection. This object
  215. should be initialized to zero when the
  216. connection is established."
  217. ::= { bgpPeerEntry 13 }
  218. bgpPeerLastError OBJECT-TYPE
  219. SYNTAX OCTET STRING (SIZE (2))
  220. ACCESS read-only
  221. STATUS mandatory
  222. DESCRIPTION
  223. "The last error code and subcode seen by this
  224. peer on this connection. If no error has
  225. occurred, this field is zero. Otherwise, the
  226. first byte of this two byte OCTET STRING
  227. contains the error code; the second contains
  228. the subcode."
  229. ::= { bgpPeerEntry 14 }
  230. bgpRcvdPathAttrTable OBJECT-TYPE
  231. SYNTAX SEQUENCE OF BgpPathAttrEntry
  232. ACCESS not-accessible
  233. STATUS mandatory
  234. DESCRIPTION
  235. "The BGP Received Path Attribute Table contains
  236. information about paths to destination networks
  237. received by all peers."
  238. ::= { bgp 5 }
  239. bgpPathAttrEntry OBJECT-TYPE
  240. SYNTAX BgpPathAttrEntry
  241. ACCESS not-accessible
  242. STATUS mandatory
  243. DESCRIPTION
  244. "Information about a path to a network."
  245. INDEX
  246. { bgpPathAttrDestNetwork,
  247. bgpPathAttrPeer }
  248. ::= { bgpRcvdPathAttrTable 1 }
  249. BgpPathAttrEntry ::= SEQUENCE {
  250. bgpPathAttrPeer
  251. IpAddress,
  252. bgpPathAttrDestNetwork
  253. IpAddress,
  254. bgpPathAttrOrigin
  255. INTEGER,
  256. bgpPathAttrASPath
  257. OCTET STRING,
  258. bgpPathAttrNextHop
  259. IpAddress,
  260. bgpPathAttrInterASMetric
  261. INTEGER
  262. }
  263. bgpPathAttrPeer OBJECT-TYPE
  264. SYNTAX IpAddress
  265. ACCESS read-only
  266. STATUS mandatory
  267. DESCRIPTION
  268. "The IP address of the peer where the path
  269. information
  270. was learned."
  271. ::= { bgpPathAttrEntry 1 }
  272. bgpPathAttrDestNetwork OBJECT-TYPE
  273. SYNTAX IpAddress
  274. ACCESS read-only
  275. STATUS mandatory
  276. DESCRIPTION
  277. "The address of the destination network."
  278. ::= { bgpPathAttrEntry 2 }
  279. bgpPathAttrOrigin OBJECT-TYPE
  280. SYNTAX INTEGER {
  281. igp(1),-- networks are interior
  282. egp(2),-- networks learned via EGP
  283. incomplete(3) -- undetermined
  284. }
  285. ACCESS read-only
  286. STATUS mandatory
  287. DESCRIPTION
  288. "The ultimate origin of the path information."
  289. ::= { bgpPathAttrEntry 3 }
  290. bgpPathAttrASPath OBJECT-TYPE
  291. SYNTAX OCTET STRING
  292. ACCESS read-only
  293. STATUS mandatory
  294. DESCRIPTION
  295. "The set of ASs that must be traversed to reach
  296. the network. ( This object is probably best
  297. represented as SEQUENCE OF INTEGER. For SMI
  298. compatibility, though, it is represented as
  299. OCTET STRING. Each AS is represented as a pair
  300. of octets according to the following algorithm:
  301. first-byte-of-pair = ASNumber / 256;
  302. second-byte-of-pair = ASNumber & 255;"
  303. ::= { bgpPathAttrEntry 4 }
  304. bgpPathAttrNextHop OBJECT-TYPE
  305. SYNTAX IpAddress
  306. ACCESS read-only
  307. STATUS mandatory
  308. DESCRIPTION
  309. "The address of the border router that should
  310. be used for the destination network."
  311. ::= { bgpPathAttrEntry 5 }
  312. bgpPathAttrInterASMetric OBJECT-TYPE
  313. SYNTAX INTEGER
  314. ACCESS read-only
  315. STATUS mandatory
  316. DESCRIPTION
  317. "The optional inter-AS metric. If this
  318. attribute has not been provided for this route,
  319. the value for this object is 0."
  320. ::= { bgpPathAttrEntry 6 }
  321. bgpEstablished TRAP-TYPE
  322. ENTERPRISE { bgp }
  323. VARIABLES { bgpPeerRemoteAddr,
  324. bgpPeerLastError,
  325. bgpPeerState }
  326. DESCRIPTION
  327. "The BGP Established event is generated when
  328. the BGP FSM enters the ESTABLISHED state. "
  329. ::= 1
  330. bgpBackwardTransition TRAP-TYPE
  331. ENTERPRISE { bgp }
  332. VARIABLES { bgpPeerRemoteAddr,
  333. bgpPeerLastError,
  334. bgpPeerState }
  335. DESCRIPTION
  336. "The BGPBackwardTransition Event is generated
  337. when the BGP FSM moves from a higher numbered
  338. state to a lower numbered state."
  339. ::= 2
  340. END