From: Solomon Yang (yangg@xxxxxxxxx)
Date: Thu Aug 08 2002 - 21:07:24 GMT-3
Hi,
I just tried with my lab. Here is my observation:
| ospf | bgp |
R1------10.1.1.0/24-----R2---20.1.1.0/24-----R3
On R2, you can following routes:
O E1 1.1.0.0/16
O E2 2.2.2.0/24
O IA 8.8.8.0/24
O 9.9.9.0/24
1. w/o "match", with "route-map test"
This route-map "test" does nothing, just like "route-map test permit 10".
ALL ospf routes(int. + ext.) all redistributed to R3. It seems like if
there is keyword "route-m" following "redis ospf", it is assummed that
you have control on igp to bgp, the "match" doesn't apply.
2. No "match", No "route-map"
Only internal ospf routes passed; here is a little bit confusing,
different from warp document.
3. "match internal", No "route-map"
Only internal passed;
4. "match internal external", No "route-map"
All external + internal passed.
Don't try with "nssa-external".
Thanks,
On Thu, 8 Aug 2002, [iso-8859-9] \mit A~kan (TK-Network Gvz|mleri) wrote:
> Hi,
>
> if you don't write any keyword,
> redistribute ospf 1
> it redistributes only internal ospf routes ( default action ) - Cisco
> don't say like that :) -
> if you try external1,2 or nssa1,2 you can't see them at the other
> router's table.
> you must write them with keyword, and if you write any keyword ( -
> Router thinks you are filtering - ) you must write the " internal " for
> the internal routes.
>
> Hope this helps
> umit
>
> -----Original Message-----
> From: Tony Russell [mailto:trussell@ibeam.com]
> Sent: Wednesday, August 07, 2002 21:33
> To: 'ccielab@groupstudy.com'
> Subject: RE: redis ospf into bgp
>
>
> Since I received conflicting answers.. I config'ed a couple routers and
> tried it... it works without the internal external1 external2
> keywords...
> However, this link states that it will not work....
>
> http://www.cisco.com/warp/public/104/bgp-ospf-redis.html
>
>
>
> R6(AS3)f0/0 --------------- f0/0 R5(AS2)
>
> Here is my config
>
> Router 6 (redistributing)
> router bgp 3
> no synchronization
> bgp log-neighbor-changes
> redistribute ospf 200 (*** 12.2.0.0, 12.3.0.0, 12.4.0.0 are the OSPF
> routes ***)
> neighbor 11.1.1.5 remote-as 2
> neighbor 11.1.1.5 soft-reconfiguration inbound
> neighbor 11.1.1.5 route-map setas2lp in
> neighbor 12.2.1.2 remote-as 3 (This is router 8 - internal BGP)
> neighbor 12.2.1.2 next-hop-self
> neighbor 12.2.1.2 soft-reconfiguration inbound
> no auto-summary
>
> Router 6 bgp table (partial)
> BGP table version is 21, local router ID is 12.2.1.1
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 12.2.0.0/16 0.0.0.0 0 32768 ?
> *> 12.3.0.0/16 12.2.1.2 1572 32768 ?
> *> 12.4.0.1/32 12.2.1.2 1563 32768 ?
>
> Router 5 partial route table
> 12.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
> B 12.4.0.1/32 [20/1563] via 11.1.1.6, 04:29:21
> B 12.2.0.0/16 [20/0] via 11.1.1.6, 04:29:21
> B 12.3.0.0/16 [20/1572] via 11.1.1.6, 04:29:21
>
> 12 days and counting.....
>
> -----Original Message-----
> From: CCIE FUN [mailto:ccieexam2002@yahoo.com]
> Sent: Wednesday, August 07, 2002 1:18 PM
> To: Edward Monk; Tony Russell; ccielab@groupstudy.com
> Subject: RE: redis ospf into bgp
>
>
> Edward
> What are you specifying under the route-map's
> if you mentioned the route-map in your config's then
> please include the route-maps also.
>
> i can assure you, that if you don't specify the
> "internal external" keyword either under the route-map
> or directly in the redistribute statement
> your ospf route's won't be redistributed ( this means
> desired results)
>
>
>
>
> --- Edward Monk <emonk@att.net> wrote:
> > What do you mean desired results? If you mean it
> > won't redistribute I
> > disagree. I am currently redistributing between OSPF
> > and BGP without
> > specifying any match criteria. IOS v12.1(6) Not that
> > IOS version really
> > matters as long as it does BGP and OSPF. My commands
> > are as follows.
> >
> > Router BGP 500
> > redistribute ospf 1 metric 110 route-map
> > no_feedback
> >
> > Router OSPF 1
> > Redistribute bgp 500 metric 2000 metric-type 1
> > subnets route-map
> > no_feedback2
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com
> > [mailto:nobody@groupstudy.com] On Behalf Of
> > CCIE FUN
> > Sent: Wednesday, August 07, 2002 9:24 AM
> > To: Tony Russell; 'ccielab@groupstudy.com'
> > Subject: Re: redis ospf into bgp
> >
> > You need to specify the keywork "internal external"
> > in your redistribute ospf command under BGP routing
> > process.
> > unless you specify that, you won;t see any desired
> > results.
> >
> > Also with the the external keywork don't forget to
> > specify 1 or 2 ( for external type 1 and type 2)
> >
> >
> > --- Tony Russell <trussell@ibeam.com> wrote:
> > > I have read that when you redis ospf into bgp
> > that
> > > the match
> > > internal external .... is not required (meaning
> > that
> > > if you dont specify,
> > > all ospf routes are redistributed. However, I
> > just
> > > saw an example where
> > > they specified everything explicitly in the
> > > redistribution command. Are
> > > these extra statments necessary (all redistributed
> > > by default) or not
> > > (nothing is redistributed) ?
> > >
> > >
> > > Tony Russell
> > > 12 days and counting.......
> > >
> >
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:21 GMT-3