07-29-2009 10:24 PM - edited 03-04-2019 05:35 AM
Looking for Filtering Example when redistributing BGP into OSPF and OSPF into BGP.
Wanna Filter networks going in and out
07-30-2009 12:40 AM
Hi,
what I'm using is tagging the routes when redistributed:
router ospf yyy
redistribute bgp xxx metric 20 subnets route-map to-ospf
route-map to-ospf permit 10
match as-path rrr
set tag zzzz
Then on the router on the other side of OSPF cloud:
router bgp xxx
redistribute ospf yyy match external 2 route-map to-bgp
route-map to-bgp permit 10
match tag zzzz
set local-preference 50
Match and set commands might be more complicated, of course.
BR,
Milan
07-30-2009 02:23 AM
This would be helpful.
I need to understand more in details.
Can you assist with cisco example link or post your full configuration.
07-30-2009 02:55 AM
Hi,
some useful links:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtml
There is also a very useful Chapter 10 of the latest CCIE Preparation Guide explaining how redistribution filtering works.
I'm afraid my config would not help you too much as it was designed for a very specific purpose and it would require a long explanantion document (I still owe it to my colleagues as it took me several months to develop the config to fulfill all the requests).
BR,
Milan
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: