BGP4-MIB.txt 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929
  1. BGP4-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
  4. IpAddress, Integer32, Counter32, Gauge32, mib-2
  5. FROM SNMPv2-SMI
  6. MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
  7. FROM SNMPv2-CONF;
  8. bgp MODULE-IDENTITY
  9. LAST-UPDATED "9902100000Z"
  10. ORGANIZATION "IETF IDR Working Group"
  11. CONTACT-INFO "E-mail: idr@merit.net
  12. Susan Hares (Editor)
  13. Merit Network
  14. 4251 Plymouth Road
  15. Suite C
  16. Ann Arbor, MI 48105-2785
  17. Tel: +1 734 936 2095
  18. Fax: +1 734 647 3185
  19. E-mail: skh@merit.edu
  20. Jeff Johnson (Editor)
  21. RedBack Networks, Inc.
  22. 1389 Moffett Park Drive
  23. Sunnyvale, CA 94089-1134
  24. Tel: +1 408 548 3516
  25. Fax: +1 408 548 3599
  26. E-mail: jeff@redback.com"
  27. DESCRIPTION
  28. "The MIB module for BGP-4."
  29. REVISION "9902100000Z"
  30. DESCRIPTION
  31. "Corrected duplicate OBJECT IDENTIFIER
  32. assignment in the conformance information."
  33. REVISION "9601080000Z"
  34. DESCRIPTION
  35. "1) Fixed the definitions of the traps to
  36. make them equivalent to their initial
  37. definition in RFC 1269.
  38. 2) Added compliance and conformance info."
  39. ::= { mib-2 15 }
  40. bgpVersion OBJECT-TYPE
  41. SYNTAX OCTET STRING (SIZE (1..255))
  42. MAX-ACCESS read-only
  43. STATUS current
  44. DESCRIPTION
  45. "Vector of supported BGP protocol version
  46. numbers. Each peer negotiates the version
  47. from this vector. Versions are identified
  48. via the string of bits contained within this
  49. object. The first octet contains bits 0 to
  50. 7, the second octet contains bits 8 to 15,
  51. and so on, with the most significant bit
  52. referring to the lowest bit number in the
  53. octet (e.g., the MSB of the first octet
  54. refers to bit 0). If a bit, i, is present
  55. and set, then the version (i+1) of the BGP
  56. is supported."
  57. ::= { bgp 1 }
  58. bgpLocalAs OBJECT-TYPE
  59. SYNTAX INTEGER (0..65535)
  60. MAX-ACCESS read-only
  61. STATUS current
  62. DESCRIPTION
  63. "The local autonomous system number."
  64. ::= { bgp 2 }
  65. -- BGP Peer table. This table contains, one entry per BGP
  66. -- peer, information about the BGP peer.
  67. bgpPeerTable OBJECT-TYPE
  68. SYNTAX SEQUENCE OF BgpPeerEntry
  69. MAX-ACCESS not-accessible
  70. STATUS current
  71. DESCRIPTION
  72. "BGP peer table. This table contains,
  73. one entry per BGP peer, information about the
  74. connections with BGP peers."
  75. ::= { bgp 3 }
  76. bgpPeerEntry OBJECT-TYPE
  77. SYNTAX BgpPeerEntry
  78. MAX-ACCESS not-accessible
  79. STATUS current
  80. DESCRIPTION
  81. "Entry containing information about the
  82. connection with a BGP peer."
  83. INDEX { bgpPeerRemoteAddr }
  84. ::= { bgpPeerTable 1 }
  85. BgpPeerEntry ::= SEQUENCE {
  86. bgpPeerIdentifier
  87. IpAddress,
  88. bgpPeerState
  89. INTEGER,
  90. bgpPeerAdminStatus
  91. INTEGER,
  92. bgpPeerNegotiatedVersion
  93. Integer32,
  94. bgpPeerLocalAddr
  95. IpAddress,
  96. bgpPeerLocalPort
  97. INTEGER,
  98. bgpPeerRemoteAddr
  99. IpAddress,
  100. bgpPeerRemotePort
  101. INTEGER,
  102. bgpPeerRemoteAs
  103. INTEGER,
  104. bgpPeerInUpdates
  105. Counter32,
  106. bgpPeerOutUpdates
  107. Counter32,
  108. bgpPeerInTotalMessages
  109. Counter32,
  110. bgpPeerOutTotalMessages
  111. Counter32,
  112. bgpPeerLastError
  113. OCTET STRING,
  114. bgpPeerFsmEstablishedTransitions
  115. Counter32,
  116. bgpPeerFsmEstablishedTime
  117. Gauge32,
  118. bgpPeerConnectRetryInterval
  119. INTEGER,
  120. bgpPeerHoldTime
  121. INTEGER,
  122. bgpPeerKeepAlive
  123. INTEGER,
  124. bgpPeerHoldTimeConfigured
  125. INTEGER,
  126. bgpPeerKeepAliveConfigured
  127. INTEGER,
  128. bgpPeerMinASOriginationInterval
  129. INTEGER,
  130. bgpPeerMinRouteAdvertisementInterval
  131. INTEGER,
  132. bgpPeerInUpdateElapsedTime
  133. Gauge32
  134. }
  135. bgpPeerIdentifier OBJECT-TYPE
  136. SYNTAX IpAddress
  137. MAX-ACCESS read-only
  138. STATUS current
  139. DESCRIPTION
  140. "The BGP Identifier of this entry's BGP peer."
  141. ::= { bgpPeerEntry 1 }
  142. bgpPeerState OBJECT-TYPE
  143. SYNTAX INTEGER {
  144. idle(1),
  145. connect(2),
  146. active(3),
  147. opensent(4),
  148. openconfirm(5),
  149. established(6)
  150. }
  151. MAX-ACCESS read-only
  152. STATUS current
  153. DESCRIPTION
  154. "The BGP peer connection state."
  155. ::= { bgpPeerEntry 2 }
  156. bgpPeerAdminStatus OBJECT-TYPE
  157. SYNTAX INTEGER {
  158. stop(1),
  159. start(2)
  160. }
  161. MAX-ACCESS read-write
  162. STATUS current
  163. DESCRIPTION
  164. "The desired state of the BGP connection. A
  165. transition from 'stop' to 'start' will cause
  166. the BGP Start Event to be generated. A
  167. transition from 'start' to 'stop' will cause
  168. the BGP Stop Event to be generated. This
  169. parameter can be used to restart BGP peer
  170. connections. Care should be used in providing
  171. write access to this object without adequate
  172. authentication."
  173. ::= { bgpPeerEntry 3 }
  174. bgpPeerNegotiatedVersion OBJECT-TYPE
  175. SYNTAX Integer32
  176. MAX-ACCESS read-only
  177. STATUS current
  178. DESCRIPTION
  179. "The negotiated version of BGP running between
  180. the two peers."
  181. ::= { bgpPeerEntry 4 }
  182. bgpPeerLocalAddr OBJECT-TYPE
  183. SYNTAX IpAddress
  184. MAX-ACCESS read-only
  185. STATUS current
  186. DESCRIPTION
  187. "The local IP address of this entry's BGP
  188. connection."
  189. ::= { bgpPeerEntry 5 }
  190. bgpPeerLocalPort OBJECT-TYPE
  191. SYNTAX INTEGER (0..65535)
  192. MAX-ACCESS read-only
  193. STATUS current
  194. DESCRIPTION
  195. "The local port for the TCP connection between
  196. the BGP peers."
  197. ::= { bgpPeerEntry 6 }
  198. bgpPeerRemoteAddr OBJECT-TYPE
  199. SYNTAX IpAddress
  200. MAX-ACCESS read-only
  201. STATUS current
  202. DESCRIPTION
  203. "The remote IP address of this entry's BGP
  204. peer."
  205. ::= { bgpPeerEntry 7 }
  206. bgpPeerRemotePort OBJECT-TYPE
  207. SYNTAX INTEGER (0..65535)
  208. MAX-ACCESS read-only
  209. STATUS current
  210. DESCRIPTION
  211. "The remote port for the TCP connection between
  212. the BGP peers. Note that the objects
  213. bgpPeerLocalAddr, bgpPeerLocalPort,
  214. bgpPeerRemoteAddr and bgpPeerRemotePort
  215. provide the appropriate reference to the
  216. standard MIB TCP connection table."
  217. ::= { bgpPeerEntry 8 }
  218. bgpPeerRemoteAs OBJECT-TYPE
  219. SYNTAX INTEGER (0..65535)
  220. MAX-ACCESS read-only
  221. STATUS current
  222. DESCRIPTION
  223. "The remote autonomous system number."
  224. ::= { bgpPeerEntry 9 }
  225. bgpPeerInUpdates OBJECT-TYPE
  226. SYNTAX Counter32
  227. MAX-ACCESS read-only
  228. STATUS current
  229. DESCRIPTION
  230. "The number of BGP UPDATE messages received on
  231. this connection. This object should be
  232. initialized to zero (0) when the connection is
  233. established."
  234. ::= { bgpPeerEntry 10 }
  235. bgpPeerOutUpdates OBJECT-TYPE
  236. SYNTAX Counter32
  237. MAX-ACCESS read-only
  238. STATUS current
  239. DESCRIPTION
  240. "The number of BGP UPDATE messages transmitted
  241. on this connection. This object should be
  242. initialized to zero (0) when the connection is
  243. established."
  244. ::= { bgpPeerEntry 11 }
  245. bgpPeerInTotalMessages OBJECT-TYPE
  246. SYNTAX Counter32
  247. MAX-ACCESS read-only
  248. STATUS current
  249. DESCRIPTION
  250. "The total number of messages received from the
  251. remote peer on this connection. This object
  252. should be initialized to zero when the
  253. connection is established."
  254. ::= { bgpPeerEntry 12 }
  255. bgpPeerOutTotalMessages OBJECT-TYPE
  256. SYNTAX Counter32
  257. MAX-ACCESS read-only
  258. STATUS current
  259. DESCRIPTION
  260. "The total number of messages transmitted to
  261. the remote peer on this connection. This object
  262. should be initialized to zero when the
  263. connection is established."
  264. ::= { bgpPeerEntry 13 }
  265. bgpPeerLastError OBJECT-TYPE
  266. SYNTAX OCTET STRING (SIZE (2))
  267. MAX-ACCESS read-only
  268. STATUS current
  269. DESCRIPTION
  270. "The last error code and subcode seen by this
  271. peer on this connection. If no error has
  272. occurred, this field is zero. Otherwise, the
  273. first byte of this two byte OCTET STRING
  274. contains the error code, and the second byte
  275. contains the subcode."
  276. ::= { bgpPeerEntry 14 }
  277. bgpPeerFsmEstablishedTransitions OBJECT-TYPE
  278. SYNTAX Counter32
  279. MAX-ACCESS read-only
  280. STATUS current
  281. DESCRIPTION
  282. "The total number of times the BGP FSM
  283. transitioned into the established state."
  284. ::= { bgpPeerEntry 15 }
  285. bgpPeerFsmEstablishedTime OBJECT-TYPE
  286. SYNTAX Gauge32
  287. MAX-ACCESS read-only
  288. STATUS current
  289. DESCRIPTION
  290. "This timer indicates how long (in seconds) this
  291. peer has been in the Established state or how long
  292. since this peer was last in the Established state.
  293. It is set to zero when a new peer is configured or
  294. the router is booted."
  295. ::= { bgpPeerEntry 16 }
  296. bgpPeerConnectRetryInterval OBJECT-TYPE
  297. SYNTAX INTEGER (1..65535)
  298. MAX-ACCESS read-write
  299. STATUS current
  300. DESCRIPTION
  301. "Time interval in seconds for the ConnectRetry
  302. timer. The suggested value for this timer is
  303. 120 seconds."
  304. ::= { bgpPeerEntry 17 }
  305. bgpPeerHoldTime OBJECT-TYPE
  306. SYNTAX INTEGER ( 0 | 3..65535 )
  307. MAX-ACCESS read-only
  308. STATUS current
  309. DESCRIPTION
  310. "Time interval in seconds for the Hold Timer
  311. established with the peer. The value of this
  312. object is calculated by this BGP speaker by
  313. using the smaller of the value in
  314. bgpPeerHoldTimeConfigured and the Hold Time
  315. received in the OPEN message. This value
  316. must be at lease three seconds if it is not
  317. zero (0) in which case the Hold Timer has
  318. not been established with the peer, or, the
  319. value of bgpPeerHoldTimeConfigured is zero (0)."
  320. ::= { bgpPeerEntry 18 }
  321. bgpPeerKeepAlive OBJECT-TYPE
  322. SYNTAX INTEGER ( 0 | 1..21845 )
  323. MAX-ACCESS read-only
  324. STATUS current
  325. DESCRIPTION
  326. "Time interval in seconds for the KeepAlive
  327. timer established with the peer. The value of
  328. this object is calculated by this BGP speaker
  329. such that, when compared with bgpPeerHoldTime,
  330. it has the same proportion as what
  331. bgpPeerKeepAliveConfigured has when compared
  332. with bgpPeerHoldTimeConfigured. If the value
  333. of this object is zero (0), it indicates that
  334. the KeepAlive timer has not been established
  335. with the peer, or, the value of
  336. bgpPeerKeepAliveConfigured is zero (0)."
  337. ::= { bgpPeerEntry 19 }
  338. bgpPeerHoldTimeConfigured OBJECT-TYPE
  339. SYNTAX INTEGER ( 0 | 3..65535 )
  340. MAX-ACCESS read-write
  341. STATUS current
  342. DESCRIPTION
  343. "Time interval in seconds for the Hold Time
  344. configured for this BGP speaker with this peer.
  345. This value is placed in an OPEN message sent to
  346. this peer by this BGP speaker, and is compared
  347. with the Hold Time field in an OPEN message
  348. received from the peer when determining the Hold
  349. Time (bgpPeerHoldTime) with the peer. This value
  350. must not be less than three seconds if it is not
  351. zero (0) in which case the Hold Time is NOT to be
  352. established with the peer. The suggested value for
  353. this timer is 90 seconds."
  354. ::= { bgpPeerEntry 20 }
  355. bgpPeerKeepAliveConfigured OBJECT-TYPE
  356. SYNTAX INTEGER ( 0 | 1..21845 )
  357. MAX-ACCESS read-write
  358. STATUS current
  359. DESCRIPTION
  360. "Time interval in seconds for the KeepAlive timer
  361. configured for this BGP speaker with this peer.
  362. The value of this object will only determine the
  363. KEEPALIVE messages' frequency relative to the value
  364. specified in bgpPeerHoldTimeConfigured; the actual
  365. time interval for the KEEPALIVE messages is
  366. indicated by bgpPeerKeepAlive. A reasonable
  367. maximum value for this timer would be configured to
  368. be one third of that of bgpPeerHoldTimeConfigured.
  369. If the value of this object is zero (0), no
  370. periodical KEEPALIVE messages are sent to the peer
  371. after the BGP connection has been established. The
  372. suggested value for this timer is 30 seconds."
  373. ::= { bgpPeerEntry 21 }
  374. bgpPeerMinASOriginationInterval OBJECT-TYPE
  375. SYNTAX INTEGER (1..65535)
  376. MAX-ACCESS read-write
  377. STATUS current
  378. DESCRIPTION
  379. "Time interval in seconds for the
  380. MinASOriginationInterval timer.
  381. The suggested value for this timer is 15 seconds."
  382. ::= { bgpPeerEntry 22 }
  383. bgpPeerMinRouteAdvertisementInterval OBJECT-TYPE
  384. SYNTAX INTEGER (1..65535)
  385. MAX-ACCESS read-write
  386. STATUS current
  387. DESCRIPTION
  388. "Time interval in seconds for the
  389. MinRouteAdvertisementInterval timer.
  390. The suggested value for this timer is 30 seconds."
  391. ::= { bgpPeerEntry 23 }
  392. bgpPeerInUpdateElapsedTime OBJECT-TYPE
  393. SYNTAX Gauge32
  394. MAX-ACCESS read-only
  395. STATUS current
  396. DESCRIPTION
  397. "Elapsed time in seconds since the last BGP
  398. UPDATE message was received from the peer.
  399. Each time bgpPeerInUpdates is incremented,
  400. the value of this object is set to zero (0)."
  401. ::= { bgpPeerEntry 24 }
  402. bgpIdentifier OBJECT-TYPE
  403. SYNTAX IpAddress
  404. MAX-ACCESS read-only
  405. STATUS current
  406. DESCRIPTION
  407. "The BGP Identifier of local system."
  408. ::= { bgp 4 }
  409. -- Received Path Attribute Table. This table contains,
  410. -- one entry per path to a network, path attributes
  411. -- received from all peers running BGP version 3 or less.
  412. -- This table is obsolete, having been replaced in
  413. -- functionality with the bgp4PathAttrTable.
  414. bgpRcvdPathAttrTable OBJECT-TYPE
  415. SYNTAX SEQUENCE OF BgpPathAttrEntry
  416. MAX-ACCESS not-accessible
  417. STATUS obsolete
  418. DESCRIPTION
  419. "The BGP Received Path Attribute Table contains
  420. information about paths to destination networks
  421. received from all peers running BGP version 3 or
  422. less."
  423. ::= { bgp 5 }
  424. bgpPathAttrEntry OBJECT-TYPE
  425. SYNTAX BgpPathAttrEntry
  426. MAX-ACCESS not-accessible
  427. STATUS obsolete
  428. DESCRIPTION
  429. "Information about a path to a network."
  430. INDEX { bgpPathAttrDestNetwork,
  431. bgpPathAttrPeer }
  432. ::= { bgpRcvdPathAttrTable 1 }
  433. BgpPathAttrEntry ::= SEQUENCE {
  434. bgpPathAttrPeer
  435. IpAddress,
  436. bgpPathAttrDestNetwork
  437. IpAddress,
  438. bgpPathAttrOrigin
  439. INTEGER,
  440. bgpPathAttrASPath
  441. OCTET STRING,
  442. bgpPathAttrNextHop
  443. IpAddress,
  444. bgpPathAttrInterASMetric
  445. Integer32
  446. }
  447. bgpPathAttrPeer OBJECT-TYPE
  448. SYNTAX IpAddress
  449. MAX-ACCESS read-only
  450. STATUS obsolete
  451. DESCRIPTION
  452. "The IP address of the peer where the path
  453. information was learned."
  454. ::= { bgpPathAttrEntry 1 }
  455. bgpPathAttrDestNetwork OBJECT-TYPE
  456. SYNTAX IpAddress
  457. MAX-ACCESS read-only
  458. STATUS obsolete
  459. DESCRIPTION
  460. "The address of the destination network."
  461. ::= { bgpPathAttrEntry 2 }
  462. bgpPathAttrOrigin OBJECT-TYPE
  463. SYNTAX INTEGER {
  464. igp(1),-- networks are interior
  465. egp(2),-- networks learned via EGP
  466. incomplete(3) -- undetermined
  467. }
  468. MAX-ACCESS read-only
  469. STATUS obsolete
  470. DESCRIPTION
  471. "The ultimate origin of the path information."
  472. ::= { bgpPathAttrEntry 3 }
  473. bgpPathAttrASPath OBJECT-TYPE
  474. SYNTAX OCTET STRING (SIZE (2..255))
  475. MAX-ACCESS read-only
  476. STATUS obsolete
  477. DESCRIPTION
  478. "The set of ASs that must be traversed to reach
  479. the network. This object is probably best
  480. represented as SEQUENCE OF INTEGER. For SMI
  481. compatibility, though, it is represented as
  482. OCTET STRING. Each AS is represented as a pair
  483. of octets according to the following algorithm:
  484. first-byte-of-pair = ASNumber / 256;
  485. second-byte-of-pair = ASNumber & 255;"
  486. ::= { bgpPathAttrEntry 4 }
  487. bgpPathAttrNextHop OBJECT-TYPE
  488. SYNTAX IpAddress
  489. MAX-ACCESS read-only
  490. STATUS obsolete
  491. DESCRIPTION
  492. "The address of the border router that should
  493. be used for the destination network."
  494. ::= { bgpPathAttrEntry 5 }
  495. bgpPathAttrInterASMetric OBJECT-TYPE
  496. SYNTAX Integer32
  497. MAX-ACCESS read-only
  498. STATUS obsolete
  499. DESCRIPTION
  500. "The optional inter-AS metric. If this
  501. attribute has not been provided for this route,
  502. the value for this object is 0."
  503. ::= { bgpPathAttrEntry 6 }
  504. -- BGP-4 Received Path Attribute Table. This table contains,
  505. -- one entry per path to a network, path attributes
  506. -- received from all peers running BGP-4.
  507. bgp4PathAttrTable OBJECT-TYPE
  508. SYNTAX SEQUENCE OF Bgp4PathAttrEntry
  509. MAX-ACCESS not-accessible
  510. STATUS current
  511. DESCRIPTION
  512. "The BGP-4 Received Path Attribute Table contains
  513. information about paths to destination networks
  514. received from all BGP4 peers."
  515. ::= { bgp 6 }
  516. bgp4PathAttrEntry OBJECT-TYPE
  517. SYNTAX Bgp4PathAttrEntry
  518. MAX-ACCESS not-accessible
  519. STATUS current
  520. DESCRIPTION
  521. "Information about a path to a network."
  522. INDEX { bgp4PathAttrIpAddrPrefix,
  523. bgp4PathAttrIpAddrPrefixLen,
  524. bgp4PathAttrPeer }
  525. ::= { bgp4PathAttrTable 1 }
  526. Bgp4PathAttrEntry ::= SEQUENCE {
  527. bgp4PathAttrPeer
  528. IpAddress,
  529. bgp4PathAttrIpAddrPrefixLen
  530. INTEGER,
  531. bgp4PathAttrIpAddrPrefix
  532. IpAddress,
  533. bgp4PathAttrOrigin
  534. INTEGER,
  535. bgp4PathAttrASPathSegment
  536. OCTET STRING,
  537. bgp4PathAttrNextHop
  538. IpAddress,
  539. bgp4PathAttrMultiExitDisc
  540. INTEGER,
  541. bgp4PathAttrLocalPref
  542. INTEGER,
  543. bgp4PathAttrAtomicAggregate
  544. INTEGER,
  545. bgp4PathAttrAggregatorAS
  546. INTEGER,
  547. bgp4PathAttrAggregatorAddr
  548. IpAddress,
  549. bgp4PathAttrCalcLocalPref
  550. INTEGER,
  551. bgp4PathAttrBest
  552. INTEGER,
  553. bgp4PathAttrUnknown
  554. OCTET STRING
  555. }
  556. bgp4PathAttrPeer OBJECT-TYPE
  557. SYNTAX IpAddress
  558. MAX-ACCESS read-only
  559. STATUS current
  560. DESCRIPTION
  561. "The IP address of the peer where the path
  562. information was learned."
  563. ::= { bgp4PathAttrEntry 1 }
  564. bgp4PathAttrIpAddrPrefixLen OBJECT-TYPE
  565. SYNTAX INTEGER (0..32)
  566. MAX-ACCESS read-only
  567. STATUS current
  568. DESCRIPTION
  569. "Length in bits of the IP address prefix in the
  570. Network Layer Reachability Information field."
  571. ::= { bgp4PathAttrEntry 2 }
  572. bgp4PathAttrIpAddrPrefix OBJECT-TYPE
  573. SYNTAX IpAddress
  574. MAX-ACCESS read-only
  575. STATUS current
  576. DESCRIPTION
  577. "An IP address prefix in the Network Layer
  578. Reachability Information field. This object
  579. is an IP address containing the prefix with
  580. length specified by bgp4PathAttrIpAddrPrefixLen.
  581. Any bits beyond the length specified by
  582. bgp4PathAttrIpAddrPrefixLen are zeroed."
  583. ::= { bgp4PathAttrEntry 3 }
  584. bgp4PathAttrOrigin OBJECT-TYPE
  585. SYNTAX INTEGER {
  586. igp(1),-- networks are interior
  587. egp(2),-- networks learned via EGP
  588. incomplete(3) -- undetermined
  589. }
  590. MAX-ACCESS read-only
  591. STATUS current
  592. DESCRIPTION
  593. "The ultimate origin of the path information."
  594. ::= { bgp4PathAttrEntry 4 }
  595. bgp4PathAttrASPathSegment OBJECT-TYPE
  596. SYNTAX OCTET STRING (SIZE (2..255))
  597. MAX-ACCESS read-only
  598. STATUS current
  599. DESCRIPTION
  600. "The sequence of AS path segments. Each AS
  601. path segment is represented by a triple
  602. <type, length, value>.
  603. The type is a 1-octet field which has two
  604. possible values:
  605. 1 AS_SET: unordered set of ASs a
  606. route in the UPDATE message
  607. has traversed
  608. 2 AS_SEQUENCE: ordered set of ASs
  609. a route in the UPDATE message
  610. has traversed.
  611. The length is a 1-octet field containing the
  612. number of ASs in the value field.
  613. The value field contains one or more AS
  614. numbers, each AS is represented in the octet
  615. string as a pair of octets according to the
  616. following algorithm:
  617. first-byte-of-pair = ASNumber / 256;
  618. second-byte-of-pair = ASNumber & 255;"
  619. ::= { bgp4PathAttrEntry 5 }
  620. bgp4PathAttrNextHop OBJECT-TYPE
  621. SYNTAX IpAddress
  622. MAX-ACCESS read-only
  623. STATUS current
  624. DESCRIPTION
  625. "The address of the border router that should
  626. be used for the destination network."
  627. ::= { bgp4PathAttrEntry 6 }
  628. bgp4PathAttrMultiExitDisc OBJECT-TYPE
  629. SYNTAX INTEGER (-1..2147483647)
  630. MAX-ACCESS read-only
  631. STATUS current
  632. DESCRIPTION
  633. "This metric is used to discriminate between
  634. multiple exit points to an adjacent autonomous
  635. system. A value of -1 indicates the absence of
  636. this attribute."
  637. ::= { bgp4PathAttrEntry 7 }
  638. bgp4PathAttrLocalPref OBJECT-TYPE
  639. SYNTAX INTEGER (-1..2147483647)
  640. MAX-ACCESS read-only
  641. STATUS current
  642. DESCRIPTION
  643. "The originating BGP4 speaker's degree of
  644. preference for an advertised route. A value of
  645. -1 indicates the absence of this attribute."
  646. ::= { bgp4PathAttrEntry 8 }
  647. bgp4PathAttrAtomicAggregate OBJECT-TYPE
  648. SYNTAX INTEGER {
  649. lessSpecificRrouteNotSelected(1),
  650. lessSpecificRouteSelected(2)
  651. }
  652. MAX-ACCESS read-only
  653. STATUS current
  654. DESCRIPTION
  655. "Whether or not a system has selected
  656. a less specific route without selecting a
  657. more specific route."
  658. ::= { bgp4PathAttrEntry 9 }
  659. bgp4PathAttrAggregatorAS OBJECT-TYPE
  660. SYNTAX INTEGER (0..65535)
  661. MAX-ACCESS read-only
  662. STATUS current
  663. DESCRIPTION
  664. "The AS number of the last BGP4 speaker that
  665. performed route aggregation. A value of zero (0)
  666. indicates the absence of this attribute."
  667. ::= { bgp4PathAttrEntry 10 }
  668. bgp4PathAttrAggregatorAddr OBJECT-TYPE
  669. SYNTAX IpAddress
  670. MAX-ACCESS read-only
  671. STATUS current
  672. DESCRIPTION
  673. "The IP address of the last BGP4 speaker that
  674. performed route aggregation. A value of
  675. 0.0.0.0 indicates the absence of this attribute."
  676. ::= { bgp4PathAttrEntry 11 }
  677. bgp4PathAttrCalcLocalPref OBJECT-TYPE
  678. SYNTAX INTEGER (-1..2147483647)
  679. MAX-ACCESS read-only
  680. STATUS current
  681. DESCRIPTION
  682. "The degree of preference calculated by the
  683. receiving BGP4 speaker for an advertised route.
  684. A value of -1 indicates the absence of this
  685. attribute."
  686. ::= { bgp4PathAttrEntry 12 }
  687. bgp4PathAttrBest OBJECT-TYPE
  688. SYNTAX INTEGER {
  689. false(1),-- not chosen as best route
  690. true(2) -- chosen as best route
  691. }
  692. MAX-ACCESS read-only
  693. STATUS current
  694. DESCRIPTION
  695. "An indication of whether or not this route
  696. was chosen as the best BGP4 route."
  697. ::= { bgp4PathAttrEntry 13 }
  698. bgp4PathAttrUnknown OBJECT-TYPE
  699. SYNTAX OCTET STRING (SIZE(0..255))
  700. MAX-ACCESS read-only
  701. STATUS current
  702. DESCRIPTION
  703. "One or more path attributes not understood
  704. by this BGP4 speaker. Size zero (0) indicates
  705. the absence of such attribute(s). Octets
  706. beyond the maximum size, if any, are not
  707. recorded by this object."
  708. ::= { bgp4PathAttrEntry 14 }
  709. -- Traps.
  710. -- note that in RFC 1657, bgpTraps was incorrectly
  711. -- assigned a value of { bgp 7 }, and each of the
  712. -- traps had the bgpPeerRemoteAddr object inappropriately
  713. -- removed from their OBJECTS clause. The following
  714. -- definitions restore the semantics of the traps as
  715. -- they were initially defined in RFC 1269.
  716. -- { bgp 7 } is unused
  717. bgpTraps OBJECT IDENTIFIER ::= { bgp 0 }
  718. bgpEstablished NOTIFICATION-TYPE
  719. OBJECTS { bgpPeerRemoteAddr,
  720. bgpPeerLastError,
  721. bgpPeerState }
  722. STATUS current
  723. DESCRIPTION
  724. "The BGP Established event is generated when
  725. the BGP FSM enters the ESTABLISHED state."
  726. ::= { bgpTraps 1 }
  727. bgpBackwardTransition NOTIFICATION-TYPE
  728. OBJECTS { bgpPeerRemoteAddr,
  729. bgpPeerLastError,
  730. bgpPeerState }
  731. STATUS current
  732. DESCRIPTION
  733. "The BGPBackwardTransition Event is generated
  734. when the BGP FSM moves from a higher numbered
  735. state to a lower numbered state."
  736. ::= { bgpTraps 2 }
  737. -- conformance information
  738. bgpMIBConformance OBJECT IDENTIFIER ::= { bgp 8 }
  739. bgpMIBCompliances OBJECT IDENTIFIER ::= { bgpMIBConformance 1 }
  740. bgpMIBGroups OBJECT IDENTIFIER ::= { bgpMIBConformance 2 }
  741. -- compliance statements
  742. bgpMIBCompliance MODULE-COMPLIANCE
  743. STATUS current
  744. DESCRIPTION
  745. "The compliance statement for entities which
  746. implement the BGP4 mib."
  747. MODULE -- this module
  748. MANDATORY-GROUPS { bgp4MIBGlobalsGroup,
  749. bgp4MIBPeerGroup,
  750. bgp4MIBPathAttrGroup,
  751. bgp4MIBNotificationGroup }
  752. ::= { bgpMIBCompliances 1 }
  753. -- units of conformance
  754. bgp4MIBGlobalsGroup OBJECT-GROUP
  755. OBJECTS { bgpVersion,
  756. bgpLocalAs,
  757. bgpIdentifier }
  758. STATUS current
  759. DESCRIPTION
  760. "A collection of objects providing information
  761. on global BGP state."
  762. ::= { bgpMIBGroups 1 }
  763. bgp4MIBPeerGroup OBJECT-GROUP
  764. OBJECTS { bgpPeerIdentifier,
  765. bgpPeerState,
  766. bgpPeerAdminStatus,
  767. bgpPeerNegotiatedVersion,
  768. bgpPeerLocalAddr,
  769. bgpPeerLocalPort,
  770. bgpPeerRemoteAddr,
  771. bgpPeerRemotePort,
  772. bgpPeerRemoteAs,
  773. bgpPeerInUpdates,
  774. bgpPeerOutUpdates,
  775. bgpPeerInTotalMessages,
  776. bgpPeerOutTotalMessages,
  777. bgpPeerLastError,
  778. bgpPeerFsmEstablishedTransitions,
  779. bgpPeerFsmEstablishedTime,
  780. bgpPeerConnectRetryInterval,
  781. bgpPeerHoldTime,
  782. bgpPeerKeepAlive,
  783. bgpPeerHoldTimeConfigured,
  784. bgpPeerKeepAliveConfigured,
  785. bgpPeerMinASOriginationInterval,
  786. bgpPeerMinRouteAdvertisementInterval,
  787. bgpPeerInUpdateElapsedTime }
  788. STATUS current
  789. DESCRIPTION
  790. "A collection of objects for managing
  791. BGP peers."
  792. ::= { bgpMIBGroups 2 }
  793. bgp4MIBRcvdPathAttrGroup OBJECT-GROUP
  794. OBJECTS { bgpPathAttrPeer,
  795. bgpPathAttrDestNetwork,
  796. bgpPathAttrOrigin,
  797. bgpPathAttrASPath,
  798. bgpPathAttrNextHop,
  799. bgpPathAttrInterASMetric }
  800. STATUS obsolete
  801. DESCRIPTION
  802. "A collection of objects for managing BGP
  803. path entries.
  804. This conformance group is obsolete,
  805. replaced by bgp4MIBPathAttrGroup."
  806. ::= { bgpMIBGroups 3 }
  807. bgp4MIBPathAttrGroup OBJECT-GROUP
  808. OBJECTS { bgp4PathAttrPeer,
  809. bgp4PathAttrIpAddrPrefixLen,
  810. bgp4PathAttrIpAddrPrefix,
  811. bgp4PathAttrOrigin,
  812. bgp4PathAttrASPathSegment,
  813. bgp4PathAttrNextHop,
  814. bgp4PathAttrMultiExitDisc,
  815. bgp4PathAttrLocalPref,
  816. bgp4PathAttrAtomicAggregate,
  817. bgp4PathAttrAggregatorAS,
  818. bgp4PathAttrAggregatorAddr,
  819. bgp4PathAttrCalcLocalPref,
  820. bgp4PathAttrBest,
  821. bgp4PathAttrUnknown }
  822. STATUS current
  823. DESCRIPTION
  824. "A collection of objects for managing
  825. BGP path entries."
  826. ::= { bgpMIBGroups 4 }
  827. bgp4MIBNotificationGroup NOTIFICATION-GROUP
  828. NOTIFICATIONS { bgpEstablished,
  829. bgpBackwardTransition }
  830. STATUS current
  831. DESCRIPTION
  832. "A collection of notifications for signaling
  833. changes in BGP peer relationships."
  834. ::= { bgpMIBGroups 5 }
  835. END