From: Albert Lu (albert_lu@optushome.com.au)
Date: Thu Sep 12 2002 - 04:56:59 GMT-3
IOS can be really buggy in terms of what OSPF will redistribute into the
other protocol, sometimes by default it will redistribute internal/E1&E2,
sometimes it doesn't. Explicitly specifying 'internal' 'external' is the way
to go.
Also, don't forget the 'subnets' keyword as well, or you might have even
more headaches as it will redistribute classfully into your BGP (unless that
was your intention of course).
Regards,
Albert Lu
CCIE #8705
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Nick Shah
Sent: Thursday, September 12, 2002 5:12 PM
To: Angelo De Guzman; ccielab@groupstudy.com
Subject: Re: difference between
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