No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

MIB Reference

S7700 and S9700 V200R011C10

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
BGP4-MIB

BGP4-MIB

Functions Overview

RFC 1657 defines BGP4-MIB, which is to record the BGP peer and to input the basic configuration, and to record and read the route attributes.

The OID of root objects is:

iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).bgp(15)

Relationship Between Tables

The bgpPeerTable and bgp4PathAttrTable are independent of each other.

Description of Single Objects

bgpVersion

OID

Object Name

Syntax

Max Access

Description

Implemented Specifications

1.3.6.1.2.1.15.1

bgpVersion

OCTET STRING (SIZE (1..255))

Read-only

Vector of supported BGP protocol version numbers. Each peer negotiates the version from this vector. Versions are identified via the string of bits contained within this object. The first octet contains bits 0 to 7, the second octet contains bits 8 to 15, and so on, with the most significant bit referring to the lowest bit number in the octet (for example, the MSB of the first octet refers to bit 0). If a bit, i, is present and set, then the version (i+1) of the BGP is supported.Size: 1 to 255

This object is implemented as defined in the corresponding MIB files.

bgpLocalAs

OID

Object Name

Syntax

Max Access

Description

Implemented Specifications

1.3.6.1.2.1.15.2

bgpLocalAs

Integer32

Read-only

The local autonomous system number.

To support 4-byte AS numbers, the value ranges from 1 to 4294967295. When the AS number is greater than 2147483647, the value obtained by the MIB is a negative value.

bgpIdentifier

OID

Object Name

Syntax

Max Access

Description

Implemented Specifications

1.3.6.1.2.1.15.4

bgpIdentifier

IpAddress

Read-only

The BGP Identifier of local system, that is the router ID.

This object is implemented as defined in the corresponding MIB files.

Description of MIB Tables

bgpPeerTable

This table covers the information of connection between BGP peers. Each BGP peer has an entry. If the connection between peers is established, the table has a value.

The index of this table is bgpPeerRemoteAddr.

OID

Object Name

Syntax

Max Access

Description

Implemented Specifications

1.3.6.1.2.1.15.3.1.1

bgpPeerIdentifier

IpAddress

Read-only

The BGP Identifier of this entry's BGP peer.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.2

bgpPeerState

INTEGER{idle(1),connect(2),active(3),opensent(4),openconfirm(5),established(6)}

Read-only

The BGP peer connection state. Values are as follows:
  • idle (1)
  • connect (2)
  • active (3)
  • opensent (4)
  • openconfirm (5)
  • established (6)

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.3

bgpPeerAdminStatus

INTEGER{stop(1),start(2)}

Read-write

The desired state of the BGP connection. A transition from 'stop' to 'start' will cause the BGP Start Event to be generated. A transition from 'start' to 'stop' will cause the BGP Stop Event to be generated. This parameter can be used to restart BGP peer connections. Care should be used in providing write access to this object without adequate authentication. Values are as follows:
  • stop (1)
  • start (2)

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.4

bgpPeerNegotiatedVersion

Integer32

Read-only

The negotiated version of BGP running between the two peers.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.5

bgpPeerLocalAddr

IpAddress

Read-only

The local IP address of this entry's BGP connection.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.6

bgpPeerLocalPort

INTEGER (0..65535)

Read-only

The local port for the TCP connection between the BGP peers. The value ranges from 1 to 65535.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.7

bgpPeerRemoteAddr

IpAddress

Read-only

The remote IP address of this entry's BGP peer.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.8

bgpPeerRemotePort

INTEGER (0..65535)

Read-only

The remote port for the TCP connection between the BGP peers. Note that the objects bgpPeerLocalAddr, bgpPeerLocalPort, bgpPeerRemoteAddr and bgpPeerRemotePort provide the appropriate reference to the standard MIB TCP connection table. The value ranges from 1 to 65535.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.9

bgpPeerRemoteAs

INTEGER (0..65535)

Read-only

The remote autonomous system number.

To support 4-byte AS numbers, the value ranges from 0 to 4294967295. When the AS number is greater than 2147483647, the value obtained by the MIB is a negative value.

1.3.6.1.2.1.15.3.1.10

bgpPeerInUpdates

Counter32

Read-only

The number of BGP UPDATE messages received on this connection. This object should be initialized to zero (0) when the connection is established.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.11

bgpPeerOutUpdates

Counter32

Read-only

The number of BGP UPDATE messages transmitted on this connection. This object should be initialized to zero (0) when the connection is established.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.12

bgpPeerInTotalMessages

Counter32

Read-only

The total number of messages received from the remote peer on this connection. This object should be initialized to zero when the connection is established.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.13

bgpPeerOutTotalMessages

Counter32

Read-only

The total number of messages transmitted to the remote peer on this connection. This object should be initialized to zero when the connection is established.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.14

bgpPeerLastError

OCTET STRING (SIZE (2..2))

Read-only

The last error code and subcode seen by this peer on this connection. If no error has occurred, this field is zero. Otherwise, the first byte of this two byte OCTET STRING contains the error code, and the second byte contains the subcode.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.15

bgpPeerFsmEstablishedTransitions

Counter32

Read-only

The total number of times the BGP FSM transitioned into the established state.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.16

bgpPeerFsmEstablishedTime

Gauge32

Read-only

This timer indicates how long (in seconds) this peer has been in the Established state or how long since this peer was last in the Established state. It is set to zero when a new peer is configured or the device is booted.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.17

bgpPeerConnectRetryInterval

INTEGER (1..65535)

Read-write

Time interval in seconds for the ConnectRetry timer. The suggested value for this timer is 120 seconds. The default value is 32 seconds. The value ranges from 1 to 65535 seconds. The timer works only in the Idle, Connect, or Active state.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.18

bgpPeerHoldTime

INTEGER ( 0 | 3..65535 )

Read-only

Time interval in seconds for the Hold Timer established with the peer. The value of this object is calculated by this BGP speaker by using the smaller of the value in bgpPeerHoldTimeConfigured and the Hold Time received in the OPEN message. This value must be at lease three seconds if it is not zero (0) in which case the Hold Timer has not been established with the peer, or, the value of bgpPeerHoldTimeConfigured is zero (0).

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.19

bgpPeerKeepAlive

INTEGER ( 0 | 1..21845 )

Read-only

Time interval in seconds for the KeepAlive timer established with the peer. The value of this object is calculated by this BGP speaker such that, when compared with bgpPeerHoldTime, it has the same proportion as what bgpPeerKeepAliveConfigured has when compared with bgpPeerHoldTimeConfigured. If the value of this object is zero (0), it indicates that the KeepAlive timer has not been established with the peer, or, the value of bgpPeerKeepAliveConfigured is zero (0).The value ranges from 0 to 21845.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.20

bgpPeerHoldTimeConfigured

INTEGER ( 0 | 3..65535 )

Read-write

Time interval in seconds for the Hold Time configured for this BGP speaker with this peer. This value is placed in an OPEN message sent to this peer by this BGP speaker, and is compared with the Hold Time field in an OPEN message received from the peer when determining the Hold Time (bgpPeerHoldTime) with the peer. This value must not be less than three seconds if it is not zero (0) in which case the Hold Time is NOT to be established with the peer. The suggested value for this timer is 90 seconds.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.21

bgpPeerKeepAliveConfigured

INTEGER ( 0 | 1..21845 )

Read-write

Time interval in seconds for the KeepAlive timer configured for this BGP speaker with this peer. The value of this object will only determine the KEEPALIVE messages' frequency relative to the value specified in bgpPeerHoldTimeConfigured; the actual time interval for the KEEPALIVE messages is indicated by bgpPeerKeepAlive. A reasonable maximum value for this timer would be configured to be one third of that of bgpPeerHoldTimeConfigured. If the value of this object is zero (0), no periodical KEEPALIVE messages are sent to the peer after the BGP connection has been established. The suggested value for this timer is 30 seconds. The value ranges from 0 to 21845.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.3.1.22

bgpPeerMinASOriginationInterval

INTEGER (1..65535)

Read-write

Time interval in seconds for the MinASOriginationInterval timer. The suggested value for this timer is 15 seconds.

The objects bgpPeerMinASOriginationInterval and bgpPeerMinRouteAdvertisementInterval have the same implemented specifications. The value set or obtained by the MIB depends on the value (ranging from 0 to 600) specified in the command line. If the value specified in the command line is 0, the value is displayed as 1.

1.3.6.1.2.1.15.3.1.23

bgpPeerMinRouteAdvertisementInterval

INTEGER (1..65535)

Read-write

Time interval in seconds for the MinRouteAdvertisementInterval timer. The suggested value for this timer is 30 seconds.

The objects bgpPeerMinASOriginationInterval and bgpPeerMinRouteAdvertisementInterval have the same implemented specifications. The value set or obtained by the MIB depends on the value (ranging from 0 to 600) specified in the command line. If the value specified in the command line is 0, the value is displayed as 1.

1.3.6.1.2.1.15.3.1.24

bgpPeerInUpdateElapsedTime

Gauge32

Read-only

Elapsed time in seconds since the last BGP UPDATE message was received from the peer. Each time bgpPeerInUpdates is incremented, the value of this object is set to zero (0).

This object is implemented as defined in the corresponding MIB files.

Creation Restriction

This table cannot be created.

Modification Restriction

bgpPeerConnectRetryInterval: When you modify the value of this object, the value cannot exceed the upper and lower limits, that is, from 1 to 65535, The recommended value is 120.bgpPeerHoldTimeConfigured: When you modify the value of this object, the value must be more than 3. The recommended value is 90.bgpPeerKeepAliveConfigured: Its value depends on the value of bgpPeerHoldTimeConfigured. The value cannot exceed one third of the value of bgpPeerHoldTimeConfigured. The recommended value is 30.

bgpPeerMinASOriginationInterval and bgpPeerMinRouteAdvertisementInterval: The values of the two objects depend on the value range (from 0 to 600) implemented through command lines.

Deletion Restriction

The object in this table cannot be deleted.

Access Restriction

The table has value only after peers are established.bgpPeerMinASOriginationInterval and bgpPeerMinRouteAdvertisementInterval: The values of the two objects depend on the value range (from 5 to 600) implemented through command lines.

bgp4PathAttrTable

The table describes the information about the routes to obtain the entire peer destination network. The value depends on the following two points:

  • The table has values only when the peer imports BGP routes.

  • The table has values only when the peer is not in the idle state. That is, the value of bgpPeerAdminStatu in bgpPeerTable must be start (2).

The indexes of this table are bgp4PathAttrPeer, bgp4PathAttrIpAddrPrefixLen, and bgp4PathAttrIpAddrPrefix.

OID

Object Name

Syntax

Max Access

Description

Implemented Specifications

1.3.6.1.2.1.15.6.1.1

bgp4PathAttrPeer

IpAddress

Read-only

The IP address of the peer where the path information was learned.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.2

bgp4PathAttrIpAddrPrefixLen

INTEGER (0..32)

Read-only

Length in bits of the IP address prefix in the Network Layer Reachability Information field. The value ranges from 0 to 32.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.3

bgp4PathAttrIpAddrPrefix

IpAddress

Read-only

An IP address prefix in the Network Layer Reachability Information field. This object is an IP address containing the prefix with length specified by bgp4PathAttrIpAddrPrefixLen. Any bits beyond the length specified by bgp4PathAttrIpAddrPrefixLen are zeroed.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.4

bgp4PathAttrOrigin

INTEGER{igp(1),egp(2),incomplete(3)}

Read-only

The ultimate origin of the path information. Values are as follows:
  • igp (1)
  • egp (2)
  • incomplete (3)

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.5

bgp4PathAttrASPathSegment

OCTET STRING (SIZE (2..255))

Read-only

The sequence of AS path segments. Each AS path segment is represented by a triple <type, length, value>.The type is a 1-octet field which has two possible values:1 AS_SET: unordered set of ASs a route in the UPDATE message has traversed.2 AS_SEQUENCE: ordered set of ASs a route in the UPDATE message has traversed.The length is a 1-octet field containing the number of ASs in the value field.The value field contains one or more AS numbers, each AS is represented in the octet string as a pair of octets according to the following algorithm:first-byte-of-pair = ASNumber / 256;second-byte-of-pair = ASNumber & 255;The value ranges from 2 to 255.

The value ranges from 2 to 255 in the MIB, but from 0 to 255 in the command line. If the value specified in the command line is greater than 255, the value displayed in the MIB is 255.

1.3.6.1.2.1.15.6.1.6

bgp4PathAttrNextHop

IpAddress

Read-only

The address of the border device that should be used for the destination network.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.7

bgp4PathAttrMultiExitDisc

INTEGER (-1..2147483647)

Read-only

This metric is used to discriminate between multiple exit points to an adjacent autonomous system. A value of -1 indicates the absence of this attribute. The value ranges from -1 to 2147483647.

The value ranges from -1 to 2147483647 in the MIB, but from 0 to 4294967295 in the command line. If the value specified in the command line is greater than 2147483647, the value displayed in the MIB is 2147483647.

1.3.6.1.2.1.15.6.1.8

bgp4PathAttrLocalPref

INTEGER (-1..2147483647)

Read-only

The originating BGP4 speaker's degree of preference for an advertised route. A value of -1 indicates the absence of this attribute. The value ranges from -1 to 2147483647.

The value ranges from -1 to 2147483647 in the MIB, but from 0 to 4294967295 in the command line. If the value specified in the command line is greater than 2147483647, the value displayed in the MIB is 2147483647.

1.3.6.1.2.1.15.6.1.9

bgp4PathAttrAtomicAggregate

INTEGER{lessSpecificRrouteNotSelected(1),lessSpecificRouteSelected(2)}

Read-only

Whether or not the local system has selected a less specific route without selecting a more specific route. Values are as follows:
  • lessSpecificRouteNotSelected(1)
  • lessSpecificRouteSelected(2)

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.10

Bgp4PathAttrAggregatorAS

INTEGER (0..65535)

Read-only

The AS number of the last BGP4 speaker that performed route aggregation. A value of zero (0) indicates the absence of this attribute.

To support 4-byte AS numbers, the value ranges from 0 to 4294967295. When the AS number is greater than 2147483647, the value obtained by the MIB is a negative value.

1.3.6.1.2.1.15.6.1.11

bgp4PathAttrAggregatorAddr

IpAddress

Read-only

The IP address of the last BGP4 speaker that performed route aggregation. A value of 0.0.0.0 indicates the absence of this attribute.

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.12

bgp4PathAttrCalcLocalPref

INTEGER (-1..2147483647)

Read-only

The degree of preference calculated by the receiving BGP4 speaker for an advertised route. A value of -1 indicates the absence of this attribute. The value scope is from -1 to 2147483647.

The value ranges from -1 to 2147483647 in the MIB, but from 0 to 4294967295 in the command line. If the value specified in the command line is greater than 2147483647, the value displayed in the MIB is 2147483647.

1.3.6.1.2.1.15.6.1.13

bgp4PathAttrBest

INTEGER{false(1),true(2)}

Read-only

An indication of whether or not this route was chosen as the best BGP4 route. Values are as follows:
  • False (1)
  • true (2)

This object is implemented as defined in the corresponding MIB files.

1.3.6.1.2.1.15.6.1.14

bgp4PathAttrUnknown

OCTET STRING (SIZE(0..255))

Read-only

One or more path attributes that are not understood by this BGP4 speaker. Size zero (0) indicates the absence of such attribute(s). Octets beyond the maximum size, if any, are not recorded by this object. The value ranges from 0 to 255.

This object is implemented as defined in the corresponding MIB files.

Creation Restriction

The table cannot be created.

Modification Restriction

Objects in this table cannot be modified.

Deletion Restriction

Objects in this table cannot be deleted.

Access Restriction

The table can be read only if there is a BGP route and the field value of bgpPeerAdminStatu in the bgpPeerTable is start (2).bgp4PathAttrMultiExitDisc and bgp4PathAttrLocalPref, bgp4PathAttrCalcLocalPref: The values of the three objects range from -1 to 2147483647. However, the value scope defined by command lines is from 0 to 4294967295. If the value that the MIB reads through the command lines exceeds the defined maximum value, the MIB can read the value 2147483647.

Description of Alarm Nodes

bgpEstablished

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.2.1.15.7.1

bgpEstablished

  • bgpPeerLastError
  • bgpPeerState

The BGP Established event is generated when the BGP FSM enters the ESTABLISHED state.

This object is implemented as defined in the corresponding MIB files.

bgpBackwardTransition

OID

Object Name

Bound Variable

Description

Implemented Specifications

1.3.6.1.2.1.15.7.2

bgpBackwardTransition

  • bgpPeerLastError
  • bgpPeerState

The BGPBackwardTransition Event is generated when the BGP FSM moves from a higher numbered state to a lower numbered state.

The higher numbered state must be Openconfirm or Established.

Translation
Download
Updated: 2019-10-17

Document ID: EDOC1000178290

Views: 882565

Downloads: 58

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next