cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3648
Views
0
Helpful
3
Replies

NX-OS Direct routes redistributiion into BGP

jenas85921
Level 1
Level 1

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

3 Replies 3

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

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

I found the route-cause :

The connected and satic route are in another VRF :)