Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

BGP - Conditional announcement of directly connected networks

Mandragor
Altostratus
Altostratus

Hi,

Is there any functionality to conditionally announce directly connected networks similarly to how you can use a route-map to conditionally announce a default route or how you can use RHI to conditionally announce kernel-routes?

My goal is to only announce connected routes on the active unit, but using

redistribute connected

announces the connected networks on all devices, while

redistribute connected route-map conditionalRoutemap

doesn't work (ie. the networks are not announced anywhere).

4 REPLIES 4

Hello Mandragor.

 

Try to configure it with "in/out" parameter.

You can also try with neighbor field instead.

REF - https://support.f5.com/csp/article/K10095057

 

Regards,

Dario.

Regards,
Dario.

Thank you for your suggestion, but my issue is not to filter which connected networks to announce but on which device - I want to ensure that the connected networks are only announced on the active device, and by using neighbor route-map or prefix-list I still announce any matched network on the standby device as well, unfortunately.

Hello Mandragor.

Your syntax should be fine.

redistribute [connected|isis|kernel|ospf|rip|static] route-map WORD

The issue could be in how your "conditionalRoutemap" is configured.

Could you share it?

Regards,

Dario.

Regards,
Dario.

Hello Mandragor.

 

I was checking some production environment with BGP on it and it hasn't got any specific configuration for active and standby units. Actually, I would bet that BGP is not advertising any route in standby unit by default.

 

Have you validated this somehow? (traffic-capture, show ip route at PE,...)

 

Regards,

Dario.

Regards,
Dario.