Asbjoern Hoejmark Wed, 06/11/2003 - 13:27
User Badges:

Redistribution can be controlled in several ways, and which one is 'best' really depends on what you're trying to achieve. One of the most flexible ways is by using route maps, such as the following example (off the top of my head):

router ospf 1

bla. bla.

router bgp 65101

redist ospf 1 route-map SOME-ROUTES

route-map SOME-ROUTES permit 10

match ip address 10

access-list 10 deny

access-list 10 permit

access-list 10 permit

You can also match on tons of other stuff, such as metrix, next hop etc. in the route map


ERIK LAWAETZ Wed, 06/11/2003 - 13:40
User Badges:

A generic config:

router bgp 99999


router ospf 99999

redistribute bgp 99999 subnets route-map bgp2ospf out


route-map bgp2ospf permit 10

match ...

The important thing here is that you need to determine which routes you want to redistribute and how to match them in the route map, be it based on AS number of specific IP prefixes.

You should be very restrictive about what you redistribute into your IGP from BGP!


This Discussion