From: Nick Shah (nshah@connect.com.au)
Date: Thu Sep 12 2002 - 04:12:15 GMT-3
Angelo,
> I'm trying to do this. What is the difference between
> this two commands. This is used under the router bgp.
> 1. redistribute ospf 100 metric 20
Depending on IOS version, this will either redistribute NO ospf routes, or
internal routes (The best practise is to specify internal, external 1 or 2,
nssa - external etc.). I would really explicitly specify internal/external
etc.
> 1. redistribute ospf 100 metric 20 match internal
> external 1 external 2 route-map filter
>
> route-map filter deny 10
> match ip address 1
> route-map filter permit 20
> match ip address 2
Access list 1 will deny the default route (0.0.0.0) and access list 2 will
permit everything else.
Basically you dont want ur OSPF default route to be redistributed into BGP.
rgds
Nick
This archive was generated by hypermail 2.1.4 : Mon Oct 07 2002 - 07:43:49 GMT-3