Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Filtering Example

Looking for Filtering Example when redistributing BGP into OSPF and OSPF into BGP.

Wanna Filter networks going in and out

3 REPLIES

Re: Filtering Example

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

New Member

Re: Filtering Example

This would be helpful.

I need to understand more in details.

Can you assist with cisco example link or post your full configuration.

Re: Filtering Example

Hi,

some useful links:

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtml

http://www.cisco.com/en/US/docs/ios/iproute/configuration/guide/irp_ip_prot_indep_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1057261

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

179
Views
0
Helpful
3
Replies