.. _example_protocols_bgp_neighbor_override-capability: ################### Override-Capability ################### This scenario demonstrates how to configure the override-capability option for a BGP neighbor. When enabled, the router ignores the capabilities announced by the neighbor during BGP negotiation and forces the session to establish even if there are capability mismatches. This is useful when connecting to legacy devices or third-party equipment that may announce incorrect capabilities. ********************************************************************* Test iBGP - Neighbor override-capability forces session establishment ********************************************************************* Description =========== Test to verify that override-capability allows a BGP session to establish even when there is a capability mismatch between peers. DUT0 has IPv6 address-family enabled while DUT1 does not. With override-capability, DUT0 ignores the capability mismatch and the session establishes successfully. DUT0 receives route 1.1.1.0/24 from DUT1. Scenario ======== .. include:: override-capability/testibgp-neighboroverride-capabilityforcessessionestablishment .. raw:: html
**************************************************************************** Test iBGP - Session fails without override-capability on capability mismatch **************************************************************************** Description =========== Test to verify that without override-capability (using strict-capability-match instead), the BGP session fails to establish when there is a capability mismatch. DUT0 has IPv6 address-family enabled while DUT1 does not. With strict-capability-match, DUT0 rejects the session and does not receive any routes from DUT1. Scenario ======== .. include:: override-capability/testibgp-sessionfailswithoutoverride-capabilityoncapabilitymismatch .. raw:: html