milan.kulik Thu, 07/30/2009 - 00:40
User Badges:
  • Red, 2250 points or more

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


saquib.nawazz Thu, 07/30/2009 - 02:23
User Badges:

This would be helpful.


I need to understand more in details.

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

milan.kulik Thu, 07/30/2009 - 02:55
User Badges:
  • Red, 2250 points or more

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

Actions

This Discussion