You can enable an RR to modify route attributes using an export policy to control BGP route selection.
Route attributes cannot be modified using an export policy on an RR because it would cause routing loops. By default, an RR is disabled from modifying route attributes based on an export policy. However, if you need to re-plan the network traffic, you can enable the RR to modify route attributes based on an export policy.
The system view is displayed.
The BGP view is displayed.
The IPv4 unicast address family view is displayed.
The RR is configured to modify BGP route attributes using an export policy.
apply extcommunity soo { site-of-origin } &<1-16> additive, which is used to modify the SoO extended community attribute of BGP routes.
After the reflect change-path-attribute command is run on the RR, the peer route-policy export command takes precedence over the peer next-hop-invariable and peer next-hop-local commands.
The configuration is committed.