Enabling Rapid IBGP Peer Reset
Context
If the ibgp-interface-sensitive command is not run and a local interface on which a direct IBGP peer relationship is established fails, the system deletes the IBGP peer relationship only when the hold timer expires, which delays route switching. To address this problem, run the ibgp-interface-sensitive command to enable BGP to delete the direct IBGP peer relationship established on a local interface upon a failure of the interface.
If a local interface on which a direct IBGP peer relationship is established alternates between Up and Down, do not run the ibgp-interface-sensitive command; otherwise, route flapping may occur.
The command enables BGP to quickly respond to failures of a local interface on which a direct IBGP peer relationship is established but does not enable BGP to quickly respond to recovery of the interface. After the interface recovers, BGP uses its state machine to restore the relevant session.
Procedure
- Run system-view
The system view is displayed.
- Run bgp as-number
The BGP view is displayed.
- Run ipv6-family unicast
The IPv6 unicast address family view is displayed.
- Run ibgp-interface-sensitive
BGP is enabled to delete the direct IBGP peer relationship established on a local interface upon a failure of the interface.
By default, BGP is not enabled to delete the direct IBGP peer relationship established on a local interface upon a failure of the interface.
- Run commit
The configuration is committed.