08-17-2021 03:28 AM
Hi friends ,
What is the necessity of retain route-target all command on BGP RR? (IOS XR)
When I tried with and without this did not notice any difference in sh bgp vpn4 unicast table .
Thanks in advance.
08-17-2021 04:42 AM
Hi Ratheesh,
when a bgp speaker in vpnv4 receives a route it will only keep those that it has a route-target locally imported for.
if it doesn't it will drop
"retain route-target all " forces the router to keep all routes received in the table regardless of having a route-target import configured locally
thanks
08-22-2021 05:40 AM
I believe you dont' need to configure it in a route-reflector, it's already enabled by default. You probably would need to configure it on a PE, for example in case you configure an eBgp vpnv4 session
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide