04-06-2016 05:54 AM - edited 03-05-2019 03:43 AM
Dear All,
NX-OS route distribution require a route-map.
So, I am trying to redistribute lot of connected and static routes to BGP in a VRF.
Is there any solution without making a prefix-list with all the static and connected subnets ?
I tried the configuration below but it does not work :
route-map static-to bgp permit 10
match route-type local
Any idea, please ?
Thanks
04-06-2016 01:22 PM
Hello.
You may create a simple route-map without any match statement - it would allow everything to be redistributed.
If does not work - please provide running bgp configuration for the vrf, "show ip route vrf ..." + "show route-map ..." + show bgp vrf ... ipv4 uni
04-06-2016 01:55 PM
Hello Vasili,
I already tried a simple route-map but it does not work.
Please, find below the show running bgp for the vrf:
"Vrf context Vlan26
router bgp 64554
log neighbor-change
address-family ipv4 unicast
neighbor 10.68.10.6 remote-as 64555
network 10.98.0.0/24
redistribute direct route-map connected-to-bgp
address-family ipv4 unicast
soft -reconfiguration inbound"
The route-map configuration :
" route-map connected-to-bgp permit 10 "
I will complete others ouputs tomorrow
Thanks
04-07-2016 05:55 AM
I found the route-cause :
The connected and satic route are in another VRF :)
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