Re: OSPF route in routing table but NOT in database

From: Carlos G Mendioroz <tron_at_huapi.ba.ar>
Date: Wed, 04 Aug 2010 13:46:26 -0300

what about show ip ospf detail ?

Oskar @ 4/08/2010 13:39 -0300 dixit:
> It is in the database. "Sh ip ospf database router" shows the route.
> BTW is there a single command to show everything in the database ? A single
> command that would include subcommands like sh ip ospf database router, summary,
> external etc... I have not found that.
>
>
>
> ----- Original Message ----
> From: Carlos G Mendioroz <tron_at_huapi.ba.ar>
> To: Oskar <xyz7412369_at_yahoo.ca>
> Cc: ccielab_at_groupstudy.com
> Sent: Wed, August 4, 2010 10:16:09 AM
> Subject: Re: OSPF route in routing table but NOT in database
>
> Providing a brief topology description would help.
> But how do you know that the route is not in OSPF's database ?
>
> OSPF needs the database to be identical in all area routers, so the
> filtering only applies to what the current router learns from OSPF.
>
> -Carlos
>
> Oskar @ 3/08/2010 1:19 -0300 dixit:
>> Hello experts,
>>
>> Could someone explain how an OSPF route can be present in routing table but not
>>
>> in the OSPF database? Here is the scenario:
>>
>> Area 1-----R3-----Area 0-----R4
>>
>> I am trying to filter a route advertised in Area 1 11.1.1.0/24 from entering
>> area0:
>> ip prefix-list TEST seq 5 deny 11.1.1.0/24
>> ip prefix-list TEST seq 10 permit 0.0.0.0/0 le 32
>>
>> under OSPF process:
>> area 1 filter-list prefix TEST out
>>
>> As a result route 11.1.1.0 is removed from R4 (both routuing table and
>> database)
>>
>> However the route is still in R3's routing table even if it is removed from
>> database:
>> R3#sh ip route 11.1.1.0
>> Routing entry for 11.1.1.0/24
>> Known via "ospf 1", distance 110, metric 129, type intra area
>> Last update from 10.1.23.2 on Serial1/0.32, 00:14:29 ago
>> Routing Descriptor Blocks:
>> * 10.1.23.2, from 1.1.1.1, 00:14:29 ago, via Serial1/0.32
>> Route metric is 129, traffic share count is 1
>>
>> I thougt so far that a route must be in the database first before it is
>> installed (or not) in the routing table.
>>
>> THX
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>

-- 
Carlos G Mendioroz  <tron_at_huapi.ba.ar>  LW7 EQI  Argentina
Blogs and organic groups at http://www.ccie.net
Received on Wed Aug 04 2010 - 13:46:26 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART