Enabling immediate reestablishment of direct EBGP connections upon link failure

When the link to a directly-connected EBGP peer goes down, the router does not reestablish a session to the peer until the hold time timer expires. This feature enables BGP to immediately recreate the session in that situation. When this feature is disabled, route flapping does not affect EBGP session state.

To enable immediate reestablishment of direct EBGP connections:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP view.

bgp as-number

N/A

3. Enable immediate reestablishment of direct EBGP connections upon link failure.

ebgp-interface-sensitive

By default, this feature is enabled.