.. _example_protocols_bgp_neighbor_capability: ########## Capability ########## Test BGP **capability** options for neighbor sessions. BGP capabilities are negotiated during session establishment to determine what features both peers support. The dynamic option enables renegotiation of capabilities without tearing down the BGP session, allowing new features or address families to be added on-the-fly. The orf prefix-list option enables Outbound Route Filtering, which allows a router to send its inbound prefix-list filters to a neighbor so the neighbor can apply them as outbound filters. This reduces bandwidth and processing overhead by filtering unwanted routes at the source instead of receiving and then discarding them. ORF requires one peer configured in send mode to push its import filter, and the other peer in receive mode to accept and apply it as an export filter. ****************************************** Test iBGP - Capability dynamic negotiation ****************************************** Description =========== Test BGP **capability dynamic** which enables dynamic capability negotiation. When enabled, both peers advertise the dynamic capability during session setup. This allows future capability changes without resetting the session. The test verifies that the capability is successfully negotiated between both peers. Scenario ======== .. include:: capability/testibgp-capabilitydynamicnegotiation .. raw:: html