From: Nick Shah (nshah@xxxxxxxxxxxxxx)
Date: Tue Aug 20 2002 - 23:09:01 GMT-3
Sorry for the earlier confusion.
When redistributing ospf into BGP, by default "no routes" get redistributed.
We have to explicitly specify "internal" "external 1" "external 2"
rgds
----- Original Message -----
From: Nick Shah <nshah@connect.com.au>
To: Jim Brown <Jim.Brown@caselogic.com>; <jim.phillipo@guardent.com>;
<ccielab@groupstudy.com>
Sent: Wednesday, August 21, 2002 10:01 AM
Subject: Re: Lab 2 Question about redistributing OSPF into BGP and allowin g
on ly default route.
> when redistributing OSPF into BGP, by default, only INTERNAL routes get
> redistributed.
> So to redistribute ospf E1 & E2 routes into BGP, you need to specify them
> explicitly.
>
> rgds
> Nick
> ----- Original Message -----
> From: Jim Brown <Jim.Brown@caselogic.com>
> To: <jim.phillipo@guardent.com>; <ccielab@groupstudy.com>
> Sent: Wednesday, August 21, 2002 9:06 AM
> Subject: RE: Lab 2 Question about redistributing OSPF into BGP and allowin
g
> on ly default route.
>
>
> > Doesn't the access list and route map deny the default and permit
> everything
> > else? This is why you need the internal external 1 and 2.
> >
> > -----Original Message-----
> > From: jim.phillipo@guardent.com [mailto:jim.phillipo@guardent.com]
> > Sent: Tuesday, August 20, 2002 4:54 PM
> > To: ccielab@groupstudy.com
> > Subject: Lab 2 Question about redistributing OSPF into BGP and allowing
on
> > ly default route.
> >
> >
> > As far as I see it the purpose of the route map is to only allow the
> default
> > route to be re distributed into BGP.
> >
> > I am a little confused as to how access ist 1 and 2 is having this
effect.
> >
> > Any input apreciated.
> >
> > Also is it necassary to match internal external 1 external 2 to have
this
> > work ?
> >
> > !
> > router ospf 2
> > log-adjacency-changes
> > area 0 authentication message-digest
> > network 12.2.1.1 0.0.0.0 area 0
> > default-information originate always metric 20
> > !
> > router bgp 3
> > no synchronization
> > bgp log-neighbor-changes
> > redistribute ospf 2 match internal external 1 external 2 route-map
> filter1
> > neighbor 11.1.1.5 remote-as 2
> > neighbor 11.1.1.5 route-map setlocal in
> > neighbor 12.2.1.2 remote-as 3
> > neighbor 12.2.1.2 password en cisco
> > !
> > ip kerberos source-interface any
> > ip classless
> > ip route 0.0.0.0 0.0.0.0 11.1.1.5
> > no ip http server
> > !
> > access-list 1 permit 0.0.0.0
> > access-list 2 permit any
> > !
> > route-map filter1 deny 10
> > match ip address 1
> > !
> > route-map filter1 permit 20
> > match ip address 2
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:31 GMT-3