Re: Redistribute OSPF into IGB

From: Arun Arumuganainar (aarumuga@hotmail.com)
Date: Mon May 15 2006 - 08:00:42 ART


Hi Scott ,

The default behavior is as follows .

Redistribute OSPF in to IGP ( EIGRP , RIP and ISIS )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Default (i.e no Match option is used ) :- All routes ( Internal , external
and NSSA routes ) are redistributed .

Pls. Refer to command reference for details

http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_command_refe
rence_chapter09186a008017d02b.html#wp1052753

Redistribute OSPF in to BGP .
~~~~~~~~~~~~~~~~~~~~~
Default (i.e no Match option is used ) :- Interal Routes ( Intra
Area(O-Routes) and Inter Area (OIa - Routes ) )

For more details pls. refer to the following doc

http://www.cisco.com/warp/public/104/bgp-ospf-redis.pdf

Thanks and Regards
Arun
----- Original Message -----
From: "Scott Morris" <swm@emanon.com>
To: "'Brian Dennis'" <bdennis@internetworkexpert.com>; "'Guzman, Chris'"
<Chris.Guzman@mckesson.com>; <ccielab@groupstudy.com>
Sent: Monday, May 15, 2006 6:00 AM
Subject: RE: Redistribute OSPF into IGB

> You sure about that? My experience has been otherwise. (and my router's
> experience it seems, unless we're both selectively dysfunctional!)
>
> By default, BGP will only accept internal OSPF routes... Even though they
> SHOW as redistributed, the BGP RIB doesn't like 'em:
>
>
> Emanon-R3(config-router)#do sh ip ro ospf
> 102.0.0.0/24 is subnetted, 1 subnets
> O E2 102.1.1.0 [110/20] via 172.17.1.4, 00:01:25, Serial1/1
> 103.0.0.0/24 is subnetted, 1 subnets
> O E2 103.1.1.0 [110/20] via 172.17.1.4, 00:01:25, Serial1/1
> 100.0.0.0/24 is subnetted, 1 subnets
> O E2 100.1.1.0 [110/20] via 172.17.1.4, 00:01:25, Serial1/1
> 101.0.0.0/24 is subnetted, 1 subnets
> O E2 101.1.1.0 [110/20] via 172.17.1.4, 00:01:25, Serial1/1
> 172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
> O 172.16.30.1/32 [110/65] via 172.17.1.4, 7w0d, Serial1/1
> O E2 207.49.164.0/24 [110/20] via 172.17.1.4, 00:01:25, Serial1/1
> Emanon-R3(config-router)#
> Emanon-R3(config-router)#do sh ip ro 172.16.30.1
> Routing entry for 172.16.30.1/32
> Known via "ospf 1", distance 110, metric 65, type intra area
> Redistributing via bgp 653
> Advertised by bgp 653
> Last update from 172.17.1.4 on Serial1/1, 7w0d ago
> Routing Descriptor Blocks:
> * 172.17.1.4, from 172.16.30.1, 7w0d ago, via Serial1/1
> Route metric is 65, traffic share count is 1
>
> Emanon-R3(config-router)#
> Emanon-R3(config-router)#do sh ip ro 100.0.0.0
> Routing entry for 100.0.0.0/24, 1 known subnets
> Redistributing via bgp 653
>
> O E2 100.1.1.0 [110/20] via 172.17.1.4, 00:02:02, Serial1/1
> Emanon-R3(config-router)#do sh ip bgp
> BGP table version is 49134, local router ID is 15.15.15.15
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 10.4.4.0/24 172.17.1.4 0 0 4 i
> *> 15.15.15.0/24 0.0.0.0 0 32768 i
> *> 30.30.30.0/24 0.0.0.0 0 32768 ?
> *> 31.31.31.0/24 0.0.0.0 0 32768 i
> *> 172.16.30.0/24 172.17.1.4 0 0 4 i
> *> 172.16.30.1/32 172.17.1.4 65 32768 ?
> * 172.17.1.0/24 172.17.1.4 0 0 4 i
> *> 0.0.0.0 0 32768 i
> *> 172.17.1.4/32 0.0.0.0 0 32768 ?
> *> 172.17.150.0/24 0.0.0.0 0 32768 i
> Emanon-R3(config-router)#
>
> So it looks like they should be here, but they are not. Although my
> 172.16.30.1 (the internal ospf route) is indeed here.
>
>
> Emanon-R3(config-router)#no red ospf 1
> Emanon-R3(config-router)#red ospf 1 match int ext 1 ext 2
>
> Emanon-R3(config-router)#do sh ip bgp
> BGP table version is 49139, local router ID is 15.15.15.15
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 10.4.4.0/24 172.17.1.4 0 0 4 i
> *> 15.15.15.0/24 0.0.0.0 0 32768 i
> *> 30.30.30.0/24 0.0.0.0 0 32768 ?
> *> 31.31.31.0/24 0.0.0.0 0 32768 i
> *> 100.1.1.0/24 172.17.1.4 20 32768 ?
> *> 101.1.1.0/24 172.17.1.4 20 32768 ?
> *> 102.1.1.0/24 172.17.1.4 20 32768 ?
> *> 103.1.1.0/24 172.17.1.4 20 32768 ?
> *> 172.16.30.0/24 172.17.1.4 0 0 4 i
> *> 172.16.30.1/32 172.17.1.4 65 32768 ?
> * 172.17.1.0/24 172.17.1.4 0 0 4 i
> *> 0.0.0.0 0 32768 i
> *> 172.17.1.4/32 0.0.0.0 0 32768 ?
> *> 172.17.150.0/24 0.0.0.0 0 32768 i
> *> 207.49.164.0 172.17.1.4 20 32768 ?
> Emanon-R3(config-router)#
>
> So not until the match do they appear...
>
>
> Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
> #153, CISSP, et al.
> CCSI/JNCI
> IPExpert CCIE Program Manager
> IPExpert Sr. Technical Instructor
> smorris@ipexpert.com
> http://www.ipexpert.com
>
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Brian Dennis
> Sent: Sunday, May 14, 2006 6:20 PM
> To: Guzman, Chris; ccielab@groupstudy.com
> Subject: RE: Redistribute OSPF into IGB
>
> No it is not required.
>
> HTH,
>
> Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
> bdennis@internetworkexpert.com
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987
> Direct: 775-745-6404 (Outside the US and Canada)
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Guzman, Chris
> Sent: Sunday, May 14, 2006 2:22 PM
> To: ccielab@groupstudy.com
> Subject: Redistribute OSPF into IGB
>
> When redistributing from OSPF into RIP or EIGRP is it required to have the
> "match internal external 1 external 2" option, in order to get all OSPF
> route types into the other protocol, or is this only required when
> redistributing into BGP ?
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:21 ART