.. _example_protocols_bgp_peer-group_capability: ########## Capability ########## Scenario to verify BGP **peer-group capability** inheritance. When ``capability dynamic`` is configured on a peer-group, members advertise the dynamic capability during session setup, allowing future capability changes without resetting the session. ******************************************************* Test iBGP - Peer-group capability dynamic is negotiated ******************************************************* Description =========== Test that ``capability dynamic`` configured on a peer-group is inherited by its members. Both peers advertise the dynamic capability and it is successfully negotiated. Scenario ======== .. include:: capability/testibgp-peer-groupcapabilitydynamicisnegotiated .. raw:: html
******************************************* Test iBGP - Without ORF receives all routes ******************************************* Description =========== Baseline test without ORF. DUT1 advertises two networks (1.1.1.0/24 and 2.2.2.0/24) and DUT0 receives both. This serves as a comparison point for the ORF test. Scenario ======== .. include:: capability/testibgp-withoutorfreceivesallroutes .. raw:: html
************************************************************************** Test iBGP - Peer-group capability ORF prefix-list filters routes at source ************************************************************************** Description =========== Test BGP ``capability orf prefix-list`` configured on a peer-group. DUT0 is configured with ORF send mode via peer-group and has a prefix-list that only permits 1.1.1.0/24. DUT1 receives the filter and only sends 1.1.1.0/24, filtering 2.2.2.0/24 at source. Scenario ======== .. include:: capability/testibgp-peer-groupcapabilityorfprefix-listfiltersroutesatsource .. raw:: html