.. _example_protocols_bgp_neighbor_address-family_ipv6-unicast_capability: ########## Capability ########## Test BGP **address-family ipv6-unicast capability orf** options. 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 IPv6 - Without ORF receives all routes ************************************************ Description =========== Baseline test without ORF to demonstrate default behavior. DUT1 advertises two networks (2001:db8:10::/64 and 2001:db8:20::/64) and DUT0 receives both of them. This serves as a comparison point for the ORF test that follows. Scenario ======== .. include:: capability/testibgpipv6-withoutorfreceivesallroutes .. raw:: html
******************************************************************** Test iBGP IPv6 - Capability ORF prefix-list filters routes at source ******************************************************************** Description =========== Test BGP **address-family ipv6-unicast capability orf prefix-list** which enables Outbound Route Filtering. DUT0 is configured with ORF send mode and has a prefix-list that only permits 2001:db8:10::/64. DUT0 sends this filter to DUT1 via ORF. DUT1 is configured with ORF receive mode, so it accepts the filter and applies it to its outbound updates. As a result, DUT1 only sends 2001:db8:10::/64 to DUT0, even though it has both 2001:db8:10::/64 and 2001:db8:20::/64 in its routing table. This demonstrates how ORF reduces unnecessary route advertisements by filtering at the source. Scenario ======== .. include:: capability/testibgpipv6-capabilityorfprefix-listfiltersroutesatsource .. raw:: html