1 RFC1269-MIB DEFINITIONS ::= BEGIN
4 NetworkAddress, IpAddress, Counter
13 -- This MIB module uses the extended OBJECT-TYPE macro as
14 -- defined in [9], and the TRAP-TYPE macro as defined
17 bgp OBJECT IDENTIFIER ::= { mib-2 15 }
19 bgpVersion OBJECT-TYPE
24 "Vector of supported BGP protocol version
25 numbers. Each peer negotiates the version from
26 this vector. Versions are identified via the
27 string of bits contained within this object.
28 The first octet contains bits 0 to 7, the
29 second octet contains bits 8 to 15, and so on,
30 with the most significant bit referring to the
31 lowest bit number in the octet (e.g., the MSB
32 of the first octet refers to bit 0). If a bit,
33 i, is present and set, then the version (i+1)
34 of the BGP is supported."
37 bgpLocalAs OBJECT-TYPE
38 SYNTAX INTEGER (0..65535)
42 "The local autonomous system number."
45 bgpPeerTable OBJECT-TYPE
46 SYNTAX SEQUENCE OF BgpPeerEntry
53 bgpIdentifier OBJECT-TYPE
58 "The BGP Identifier of local system."
61 bgpPeerEntry OBJECT-TYPE
66 "Information about a BGP peer connection."
69 ::= { bgpPeerTable 1 }
71 BgpPeerEntry ::= SEQUENCE {
78 bgpPeerNegotiatedVersion
94 bgpPeerInTotalMessages
96 bgpPeerOutTotalMessages
102 bgpPeerIdentifier OBJECT-TYPE
107 "The BGP Identifier of this entry's BGP peer."
108 ::= { bgpPeerEntry 1 }
110 bgpPeerState OBJECT-TYPE
122 "The bgp peer connection state. "
123 ::= { bgpPeerEntry 2 }
125 bgpPeerAdminStatus OBJECT-TYPE
130 "The desired state of the BGP connection. A
131 transition from 'stop' to 'start' will cause
132 the BGP Start Event to be generated. A
133 transition from 'start' to 'stop' will cause
134 the BGP Stop Event to be generated. This
135 parameter can be used to restart BGP peer
136 connections. Care should be used in providing
137 write access to this object without adequate
139 ::= { bgpPeerEntry 3 }
141 bgpPeerNegotiatedVersion OBJECT-TYPE
146 "The negotiated version of BGP running between
148 ::= { bgpPeerEntry 4 }
150 bgpPeerLocalAddr OBJECT-TYPE
155 "The local IP address of this entry's BGP
157 ::= { bgpPeerEntry 5 }
159 bgpPeerLocalPort OBJECT-TYPE
160 SYNTAX INTEGER (0..65535)
164 "The local port for the TCP connection between
166 ::= { bgpPeerEntry 6 }
168 bgpPeerRemoteAddr OBJECT-TYPE
173 "The remote IP address of this entry's BGP
175 ::= { bgpPeerEntry 7 }
177 bgpPeerRemotePort OBJECT-TYPE
178 SYNTAX INTEGER (0..65535)
182 "The remote port for the TCP connection between
183 the BGP peers. Note that the objects
184 bgpLocalAddr, bgpLocalPort, bgpRemoteAddr and
185 bgpRemotePort provide the appropriate reference
186 to the standard MIB TCP connection table."
187 ::= { bgpPeerEntry 8 }
189 bgpPeerRemoteAs OBJECT-TYPE
190 SYNTAX INTEGER (0..65535)
194 "The remote autonomous system number."
195 ::= { bgpPeerEntry 9 }
197 bgpPeerInUpdates OBJECT-TYPE
202 "The number of BGP UPDATE messages received on
203 this connection. This object should be
204 initialized to zero when the connection is
206 ::= { bgpPeerEntry 10 }
208 bgpPeerOutUpdates OBJECT-TYPE
213 "The number of BGP UPDATE messages received on
214 this connection. This object should be
215 initialized to zero when the connection is
217 ::= { bgpPeerEntry 11}
219 bgpPeerInTotalMessages OBJECT-TYPE
224 "The total number of messages received from the
225 remote peer on this connection. This object
226 should be initialized to zero when the
227 connection is established."
228 ::= { bgpPeerEntry 12 }
230 bgpPeerOutTotalMessages OBJECT-TYPE
235 "The total number of messages transmitted to
236 the remote peer on this connection. This object
237 should be initialized to zero when the
238 connection is established."
239 ::= { bgpPeerEntry 13 }
241 bgpPeerLastError OBJECT-TYPE
242 SYNTAX OCTET STRING (SIZE (2))
246 "The last error code and subcode seen by this
247 peer on this connection. If no error has
248 occurred, this field is zero. Otherwise, the
249 first byte of this two byte OCTET STRING
250 contains the error code; the second contains
252 ::= { bgpPeerEntry 14 }
254 bgpRcvdPathAttrTable OBJECT-TYPE
255 SYNTAX SEQUENCE OF BgpPathAttrEntry
256 ACCESS not-accessible
259 "The BGP Received Path Attribute Table contains
260 information about paths to destination networks
261 received by all peers."
264 bgpPathAttrEntry OBJECT-TYPE
265 SYNTAX BgpPathAttrEntry
266 ACCESS not-accessible
269 "Information about a path to a network."
271 { bgpPathAttrDestNetwork,
273 ::= { bgpRcvdPathAttrTable 1 }
275 BgpPathAttrEntry ::= SEQUENCE {
278 bgpPathAttrDestNetwork
286 bgpPathAttrInterASMetric
290 bgpPathAttrPeer OBJECT-TYPE
295 "The IP address of the peer where the path
298 ::= { bgpPathAttrEntry 1 }
300 bgpPathAttrDestNetwork OBJECT-TYPE
305 "The address of the destination network."
306 ::= { bgpPathAttrEntry 2 }
308 bgpPathAttrOrigin OBJECT-TYPE
310 igp(1),-- networks are interior
311 egp(2),-- networks learned via EGP
312 incomplete(3) -- undetermined
317 "The ultimate origin of the path information."
318 ::= { bgpPathAttrEntry 3 }
320 bgpPathAttrASPath OBJECT-TYPE
325 "The set of ASs that must be traversed to reach
326 the network. ( This object is probably best
327 represented as SEQUENCE OF INTEGER. For SMI
328 compatibility, though, it is represented as
329 OCTET STRING. Each AS is represented as a pair
330 of octets according to the following algorithm:
332 first-byte-of-pair = ASNumber / 256;
333 second-byte-of-pair = ASNumber & 255;"
334 ::= { bgpPathAttrEntry 4 }
336 bgpPathAttrNextHop OBJECT-TYPE
341 "The address of the border router that should
342 be used for the destination network."
343 ::= { bgpPathAttrEntry 5 }
345 bgpPathAttrInterASMetric OBJECT-TYPE
350 "The optional inter-AS metric. If this
351 attribute has not been provided for this route,
352 the value for this object is 0."
353 ::= { bgpPathAttrEntry 6 }
355 bgpEstablished TRAP-TYPE
357 VARIABLES { bgpPeerRemoteAddr,
361 "The BGP Established event is generated when
362 the BGP FSM enters the ESTABLISHED state. "
365 bgpBackwardTransition TRAP-TYPE
367 VARIABLES { bgpPeerRemoteAddr,
371 "The BGPBackwardTransition Event is generated
372 when the BGP FSM moves from a higher numbered
373 state to a lower numbered state."