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

Filtering Example

saquib.nawazz
Level 1
Level 1

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

Wanna Filter networks going in and out

3 Replies 3

milan.kulik
Level 10
Level 10

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

This would be helpful.

I need to understand more in details.

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

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

Getting Started

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:

Review Cisco Networking products for a $25 gift card