12-31-2021 06:42 AM
I have a route reflector that learns all the prefixes from its clients, my question is how can I inject some of these prefixes that it learns into its routing table? For instance it has a default route in its bgp table (I can see the default route when I do show bgp all), however when I do show ip route, I cant see that default route.
12-31-2021 06:57 AM
depend if the Next-Hop of default route is reachable or not.
12-31-2021 07:17 AM
Thanks for the reply, yes there is a route for the next hop in the RR routing table.
12-31-2021 07:23 AM
can I see
show ip bgp
for the RR
12-31-2021 07:06 PM - edited 12-31-2021 07:06 PM
Hello D@1984 ,
>> For instance it has a default route in its bgp table (I can see the default route when I do show bgp all), however when I do show ip route, I cant see that default route.
question . is the RRS acting on address-family ipv4 AF ipv4 unicast or it is a MP BGP RRS and the clients and there is the vpnv4 address family active ?
you have written
>> show bgp all
is your RRS an IOS XR device ?
if the answers to the questions above are yes to import locally a customer route the RRS must become a PE node that imports locally appropriate route target(s) values in locally defined VRF definitions,
Hope to help
Giuseppe
01-01-2022 03:28 AM
thanks for the time. its mp-bgp vpnv4 and it's not ios xr
01-01-2022 06:20 AM
Hi D@1984 ,
Happy New Year!
The VPNv4 routes will not be installed on the route reflector.
VPNv4 routes would not be installed in the global RIB anyway, but rather in a VRF. Why do you want a VPNv4 route to be installed in the RIB?
Regards,
01-01-2022 10:56 AM - edited 01-01-2022 10:57 AM
OK it is MB-BGP,
simply the IPv4-unicast is by default the select best path in BGP is install into the RIB
BUT
MP-BGP the trick here the prefix learn from any BGP peer even if it select as best path it will not install into RIB,
what control that
1- VRF config in RR
2- route-target import under each VRF you want.
VRF work as filter of prefix learn from all VRF BGP peer.
so if you don't config VRF in RR and not config route-target import then this prefix no show or use by RR.
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