RE: redis ospf into bgp

From: Tony Russell (trussell@xxxxxxxxx)
Date: Wed Aug 07 2002 - 15:32:51 GMT-3


   
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:19 GMT-3