Re: OPSF - to prefer Default over summary

From: Ash (nester2k@gmail.com)
Date: Thu Aug 16 2007 - 11:00:19 ART


Nitin....you can also do "discard-route internal" under the ospf process to
achieve the same goal......

On 8/16/07, NITIN NITIN <ccie_study_123@yahoo.com> wrote:
>
> Hi all,
>
> Tried using distribute list to avoid put summary route in ospf database
> to be put in routing table it works
>
>
> simmilar thing works for eigrp
>
> just to share ,, and ask is this right way
>
>
> NITIN NITIN <ccie_study_123@yahoo.com> wrote:
> Hi experts,
>
> I have
>
>
> R3--BGP-------R1----area0---R2----area51---BB2
>
> On R2 I'm genrating summary to BB2
> 150.1.0.0/20
> of LOOPBACKS NETWORKS
> 150.1.x.x/24( where x is router no.)
>
> R2-
> area 51 range 150.1.0.0 255.255.240.0
>
> when doing this
>
> Rack1R2#sh ip route 150.1.0.0 255.255.240.0
> Routing entry for 150.1.0.0/20
> Known via "ospf 1", distance 110, metric 0, type intra area
> Routing Descriptor Blocks:
> * directly connected, via Null0
> Route metric is 0, traffic share count is 1
> This route is automatically genrated <<<<<<<<<
>
> My Q is R2 has defaullt route from R1 to reach R3 loopback
> but wont prefer due to length of summary /20 is beeter
>
> so how to prefer default route in this case
>
>
>
> Rack1R2(tcl)#sh ip route
> Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> E1 - OSPF external type 1, E2 - OSPF external type 2
> i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
> ia - IS-IS inter area, * - candidate default, U - per-user static route
> o - ODR, P - periodic downloaded static route
> Gateway of last resort is 156.1.0.1 to network 0.0.0.0
> 51.0.0.0/32 is subnetted, 1 subnets
> O E2 51.51.51.51 [110/20] via 192.10.1.254, 00:54:26, FastEthernet0/0
> 156.1.0.0/16 is variably subnetted, 12 subnets, 3 masks
> O E1 156.1.8.0/24 [110/692] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 156.1.5.0/24 [110/129] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 156.1.0.5/32 [110/128] via 156.1.0.1, 00:54:26, Serial2/0.1
> O E1 156.1.4.0/24 [110/692] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 156.1.0.4/32 [110/192] via 156.1.0.1, 00:54:26, Serial2/0.1
> O E2 156.1.7.0/24 [110/20] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 156.1.0.1/32 [110/64] via 156.1.0.1, 00:54:26, Serial2/0.1
> C 156.1.0.0/24 is directly connected, Serial2/0.1
> O 156.1.0.0/16 is a summary, 00:54:26, Null0
> O IA 156.1.57.0/24 [110/129] via 156.1.0.1, 00:54:26, Serial2/0.1
> O E1 156.1.48.0/24 [110/692] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 156.1.45.0/24 [110/1127] via 156.1.0.1, 00:54:26, Serial2/0.1
> C 192.10.1.0/24 is directly connected, FastEthernet0/0
> 150.1.0.0/16 is variably subnetted, 7 subnets, 3 masks
> C 150.1.2.0/24 is directly connected, Loopback0
> O IA 150.1.7.7/32 [110/130] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 150.1.5.5/32 [110/129] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 150.1.4.4/32 [110/193] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 150.1.1.1/32 [110/65] via 156.1.0.1, 00:54:26, Serial2/0.1
> O 150.1.0.0/20 is a summary, 00:54:26, Null0<<<<<<<<<<<<<O E1 150.1.8.0/24[110/692] via
> 156.1.0.1, 00:54:26, Serial2/0.1
> O*E2 0.0.0.0/0 [110/1] via 156.1.0.1, 00:54:26, Serial2/0.1<<<<<<<<<<
>
> ---------------------------------
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search.
>
> ---------------------------------
> Park yourself in front of a world of choices in alternative vehicles.
> Visit the Yahoo! Auto Green Center.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
> ---------------------------------
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:11 ART