.. _example_protocols_bgp_parameters_route-reflector-allow-outbound-policy: ##################################### Route-Reflector-Allow-Outbound-Policy ##################################### Scenario to verify BGP **route-reflector allow-outbound-policy** parameter. By default, a Route Reflector does not apply outbound route-maps to routes it reflects to its iBGP clients. This is because reflected routes should maintain their original attributes to ensure consistent routing decisions across the network. The ``route-reflector allow-outbound-policy`` parameter changes this behavior, allowing the RR to apply export route-maps to reflected routes. This is useful in scenarios where the RR needs to modify attributes like MED, community, or AS-path prepend for routes being reflected to specific clients. In this test, **DUT0** acts as a Route Reflector for **DUT1** and **DUT2**. DUT1 announces a route, and DUT0 has an export route-map configured toward DUT2 that sets MED to 500. Without the ``allow-outbound-policy`` parameter, the route-map is ignored. With it enabled, the MED modification takes effect on the reflected route. ********************************************** Test BGP Route Reflector Allow Outbound Policy ********************************************** Description =========== This test demonstrates the effect of ``route-reflector allow-outbound-policy`` on Route Reflector behavior. **DUT0** (RR) has an export route-map configured toward **DUT2** that sets MED to 500. Without ``allow-outbound-policy``, the route-map is ignored and the reflected route from **DUT1** reaches DUT2 with its original MED (0). After enabling ``allow-outbound-policy``, the route-map is applied and DUT2 receives the route with MED 500. Scenario ======== .. include:: route-reflector-allow-outbound-policy/testbgproutereflectorallowoutboundpolicy .. raw:: html