cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
738
Views
0
Helpful
1
Replies
mile.ljepojevic
Beginner

BGP conditional advertisement under address-family VRF

I needed conditional advertisement for my backup BGP router. Unfortunately, my backup BGP router is the same router we are using for backup MPLS connections, so I thought of creating VRF, and then configure BGP under VRF... That part worked, unfortunately, when I wanted to add conditiona advertisement (because I want to announce my prefixes only if my primary Interner router fails), but I couldn find that command...

Is this supported or what?

Best regards,

Mile

1 REPLY 1
Calin C.
Contributor

Hello!

I also tried over different platforms and multiple IOS versions. It seems that it's not supported under VRF. There is no problem using it with the global routing in BGP, but not under VRF.

One solution would be to run a check on some prefix (like with IP SLA). The based on the conditions true / false (reachable / not reacheable , exist / don't exist in routing table) to run EEM to add or delete the "network x.x.x.x mask x.x.x.x" statment from the BGP vrf configuration.

Of course this is a little bit complex and add some overhead operations and resource consumptions on your devices.

If I find an alternate solution I will add it here.

Cheers,

Calin