07-Layer 3 - IP Routing

HomeSupportRoutersCR16000-F SeriesDiagnose & MaintainAlarms ReferencesH3C CR16000-F Routers Alarm Reference-R838x-6W10007-Layer 3 - IP Routing
01-BGP4-MIB
Title Size Download
01-BGP4-MIB 63.80 KB

BGP4-MIB

About this MIB

This document contains MIB and Trap features compliant with RFC 4273.

MIB file name

rfc4273-bgp4.mib

Notifications

bgpEstablishedNotification

Basic information

OID

Event

Type

Severity

Recovery notification

Default status

1.3.6.1.2.1.15.0.1

A peer enters established Established state.

Recovery

Major

N/A- (N/A-)

ON

 

Notification triggers

This notification is generated when the BGP session to a BGP peer is successfully established.

System impact

The BGP session is correctly established.

Status control

ON

CLI: Use the snmp-agent trap enable bgp [ peer-established ] command.

OFF

CLI: Use the undo snmp-agent trap enable bgp [ peer-established ] command.

Object

OID (object name)

Description

Index

Type

Value range

1.3.6.1.2.1.15.3.1.7 (bgpPeerRemoteAddr)

Remote IP address of the peer connection.

bgpPeerRemoteAddr

IpAddress

Standard MIB values.

1.3.6.1.2.1.15.3.1.14 (bgpPeerLastError)

Error code and subcode for the most recent peer connection error.

bgpPeerRemoteAddr

DisplayString

OCTET STRING (2)

1.3.6.1.2.1.15.3.1.2 (bgpPeerState)

Peer connection state.

bgpPeerRemoteAddr

INTEGER

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

 

Recommended action

This notification is generated during correct system operation, and no action is required.

bgpBackwardTransNotification

Basic information

OID

Event

Type

Severity

Recovery notification

Default status

1.3.6.1.2.1.15.0.2

A peer session enters a lower-level numbered state.

RecoveryError

Major

1.3.6.1.2.1.15.0.1 (bgpEstablishedNotification)

ON

 

Notification triggers

This notification is generated when the state of a BGP peer session transitions from an upper level (for example, Established) to a lower level (for example, OpenConfirm). A typical example is that the BFD session is disconnected. Possible reasons for generating this notification are as follows:

Incorrect BGP configuration.

BGP receives a notification because an error event occurs.

BGP message receiving or sending times out.

The BGP peer IP address is unreachable.

An incorrect BGP packet is received.

The directly connected BGP interface goes down.

The number of BGP routes exceeds the maximum number of BGP routes that can be received.

System impact

The device might not have the associated BGP route to guide traffic forwarding, resulting in service interruption.

Status control

ON

CLI: Use the snmp-agent trap enable bgp [ peer-backward-transition ] command.

OFF

CLI: Use the undo snmp-agent trap enable bgp [ peer-backward-transition ] command.

Object

OID (object name)

Description

Index

Type

Value range

1.3.6.1.2.1.15.3.1.7 (bgpPeerRemoteAddr)

Remote IP address of the peer connection.

bgpPeerRemoteAddr

IpAddress

OCTET STRING (4)

1.3.6.1.2.1.15.3.1.14 (bgpPeerLastError)

Error code and subcode for the most recent peer connection error.

bgpPeerRemoteAddr

DisplayString

OCTET STRING (2)

1.3.6.1.2.1.15.3.1.2 (bgpPeerState)

Peer connection state.

bgpPeerRemoteAddr

INTEGER

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

 

Recommended action

To resolve the issue:

1.Execute the display current-configuration configuration bgp command to identify the settings that affect BGP session state.

  - If a setting that causes BGP session disconnection exists, execute the relevant command to cancel the setting.

  - If BGP uses a loopback interface as the source interface of TCP connections, execute the peer connect-interface or peer source-address command to specify the loopback interface as the source interface for establishing TCP connections.

  - To establish an EBGP session to an indirectly connected peer, make sure the peer ebgp-max-hop command is executed on both ends of the session.

  - If the peer ttl-security command is configured to enable BGP GTSM on the device, the device receives the BGP packets with a TTL in the range from 255 – the configured hop count + 1 to 255.

  - If no settings affect BGP session state, proceed to step 2.

2.Wait for a short period of time to exclude the cause of disconnection by BGP session reset. If the BGP session fails to restore to the Established state within a long period of time, proceed to step 3.

3.Execute the display current-configuration configuration bgp command to check for the configuration of the peer route-limit command, and the BGP/4/BGP_EXCEED_ROUTE_LIMIT log printed by the device.

  - If both the configuration and the log exist, the BGP session is disconnected because excessive BGP routes are received. In this case, verify that the maximum number of routes that can be received configured with the peer route-limit command is appropriate:

If the setting is appropriate, notify the administrator of the BGP peer to reduce the number of BGP routes to send.

If the setting is inappropriate, increase the maximum number of BGP routes that can be received on the local end.

  - If the configuration or the log does not exist, or neither of them exists, receiving excessive BGP routes is not the cause for the BGP session disconnection. In this case, proceed to step 4.

4.Execute the display bgp peer log-info command. From the command output, identify the BGP session disconnection cause based on the error code or subcode printed in the Notification Error/SubError field.

  - If the error code (Error) is 4, the local end fails to receive any keepalive or update messages from the peer end within the BGP session hold time. This results in BGP session disconnection. If the error code is 5 or 6, the BGP session is disconnected because the TCP connection has an error or the connection is actively disconnected. You can perform troubleshooting by using the following methods:

On the local end, ping the source address used for establishing TCP connections on the BGP peer. If the ping operation fails, execute the display ip routing-table command to identify whether a route is available to the BGP peer. If no routes are available to the BGP peer, troubleshoot IGP route, static route, or direct route settings.

Execute the display memory-threshold command to identify whether the device has reached the memory usage threshold. If the memory usage threshold is reached, proceed to step 5.

Execute the display cpu-usage command to identify whether the CPU usage is too high. If the CPU usage is too high, proceed to step 5.

Execute the display acl all command to identify whether a rule exists that denies port bgp or 179. If such an ACL exists, delete the ACL.

Execute the display interface command to identify whether the output interface associated with the next hop of the route to the BGP peer is up. If the output interface is down, execute the undo shutdown command to bring up the interface in the view of the interface. If the interface fails to be brought up, or the interface is up but the notification persists, proceed to step 5.

  - If the error code (Error) is 1 or 3, the device has received wrong BGP packets. Proceed to step 5.

5.If the issue persists, collect alarm information, configuration data, and the output information from the previous commands, and then contact H3C Support for help.

bgpEstablished

Basic information

OID

Event

Type

Severity

Recovery notification

Default status

1.3.6.1.2.1.15.7.1

A The peer session enters established Established state.

Recovery

Major

-N/A (-N/A)

ON

 

Notification triggers

This notification is generated when the BGP session to the BGP peer is successfully established.

System impact

The BGP peer is correctly established.

Status control

ON

CLI: Use the snmp-agent trap enable bgp [ peer-established ] command.

OFF

CLI: Use the undo snmp-agent trap enable bgp [ peer-established ] command.

Object

OID (object name)

Description

Index

Type

Value range

1.3.6.1.2.1.15.3.1.14 (bgpPeerLastError)

Error code and subcode for the most recent peer connection error.

bgpPeerRemoteAddr

DisplayString

OCTET STRING (2)

1.3.6.1.2.1.15.3.1.2 (bgpPeerState)

Peer connection state.

bgpPeerRemoteAddr

INTEGER

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

 

Recommended action

This notification is generated during correct system operation, and no action is required.

bgpBackwardTransition

Basic information

OID

Event

Type

Severity

Recovery notification

Default status

1.3.6.1.2.1.15.7.2

A The peer session enters a lower-level numbered state.

Error

Major

1.3.6.1.2.1.15.7.1 (bgpEstablished-)

ON

 

Notification triggers

This notification is generated when the state of a BGP peer session transitions from an upper level (for example, Established) to a lower level (for example, OpenConfirm). A typical example is that the BFD session is disconnected. Possible reasons for generating this notification are as follows:

Incorrect BGP configuration.

BGP receives a notification because an error event occurs.

BGP message receiving or sending times out.

The BGP peer IP address is unreachable.

An incorrect BGP packet is received.

The directly connected BGP interface goes down.

The number of BGP routes exceeds the maximum number of BGP routes that can be received.

System impact

The device might not have the associated BGP route to guide traffic forwarding, resulting in service interruption.

Status control

ON

CLI: Use the snmp-agent trap enable bgp [ peer-backward-transition ] command.

OFF

CLI: Use the undo snmp-agent trap enable bgp [ peer-backward-transition ] command.

Object

OID (object name)

Description

Index

Type

Value range

1.3.6.1.2.1.15.3.1.14 (bgpPeerLastError)

Error code and subcode for the most recent peer connection error.

bgpPeerRemoteAddr

DisplayString

OCTET STRING (2)

1.3.6.1.2.1.15.3.1.2 (bgpPeerState)

Peer connection state.

bgpPeerRemoteAddr

INTEGER

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

 

Recommended action

To resolve this issue:

1.Execute the display current-configuration configuration bgp command to identify the settings that affect BGP session state.

  - If a setting that causes BGP session disconnection exists, execute the relevant command to cancel the setting.

  - If BGP uses a loopback interface as the source interface of TCP connections, execute the peer connect-interface or peer source-address command to specify the loopback interface as the source interface for establishing TCP connections.

  - To establish an EBGP session to an indirectly connected peer, make sure the peer ebgp-max-hop command is executed on both ends of the session.

  - If the peer ttl-security command is configured to enable BGP GTSM on the device, the device receives the BGP packets with a TTL in the range from 255 – the configured hop count + 1 to 255.

  - If no settings affect BGP session state, proceed to step 2.

2.Wait for a short period of time to exclude the cause of disconnection by BGP session reset. If the BGP session fails to restore to the Established state within a long period of time, proceed to step 3.

3.Execute the display current-configuration configuration bgp command to check for the configuration of the peer route-limit command, and the BGP/4/BGP_EXCEED_ROUTE_LIMIT log printed by the device.

  - If both the configuration and log exist, the BGP session is disconnected because excessive BGP routes are received. In this case, verify that the maximum number of routes that can be received configured with the peer route-limit command is appropriate:

If the setting is appropriate, notify the administrator of the BGP peer to reduce the number of BGP routes to send.

If the setting is inappropriate, increase the maximum number of BGP routes that can be received on the local end.

  - If the configuration or the log does not exist, or neither of them exists, receiving excessive BGP routes is not the cause for the BGP session disconnection. In this case, proceed to step 4.

4.Execute the display bgp peer log-info command. From the command output, identify the BGP session disconnection cause based on the error code or subcode printed in the Notification Error/SubError field.

  - If the error code (Error) is 4, the local end fails to receive any keepalive or update messages from the peer end within the BGP session hold time. This results in BGP session disconnection. If the error code is 5 or 6, the BGP session is disconnected because the TCP connection has an error or the connection is actively disconnected. You can perform troubleshooting by using the following methods:

On the local end, ping the source address used for establishing TCP connections on the BGP peer. If the ping operation fails, execute the display ip routing-table command to identify whether a route is available to the BGP peer. If no routes are available to the BGP peer, troubleshoot IGP route, static route, or direct route settings.

Execute the display memory-threshold command to identify whether the device has reached the memory usage threshold. If the memory usage threshold is reached, proceed to step 5.

Execute the display cpu-usage command to identify whether the CPU usage is too high. If the CPU usage is too high, proceed to step 5.

Execute the display acl all command to identify whether a rule exists that denies port bgp or 179. If such an ACL exists, delete the ACL.

Execute the display interface command to identify whether the output interface associated with the next hop of the route to the BGP peer is up. If the output interface is down, execute the undo shutdown command to bring up the interface in the view of the interface. If the interface fails to be brought up, or the interface is up but the notification persists, proceed to step 5.

  - If the error code (Error) is 1 or 3, the device has received wrong BGP packets. Proceed to step 5.

5.If the issue persists, collect alarm information, configuration data, and the output information from the previous commands, and then contact H3C Support for help.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网