Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

OSPF DB

Hi,

Assume, OSPF configured between 2 router A and B.

5.5.5.5 -L0-R1--s0---200.200.200.0/24--s0---R2--L0--4.4.4.4

serial link is in area 0. L0 of R1 is in area 0. In R2, show ip ospf database shows this,

r2#sh ip ospf data

OSPF Router with ID (4.4.4.4) (Process ID 10)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

4.4.4.4 4.4.4.4 1654 0x80000017 0xFAA8 2

5.5.5.5 5.5.5.5 23 0x8000001A 0x6115 4

r2#

Now I add, another loopback, 5.5.1.5/32 on R1 and include it into OSPF area 0.

Still there is no change in OSPF database in R2, but the route 5.5.1.5 does appear on R2s routing table.

Why are some routes there on routing table, while they are not there in OSPF DB.

r2#sh ip route

Codes: C - connected, S - static, I - IGRP, 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, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

U - per-user static route, o - ODR

Gateway of last resort is not set

C 200.200.200.0/24 is directly connected, Serial0/1

4.0.0.0/32 is subnetted, 1 subnets

C 4.4.4.4 is directly connected, Loopback0

5.0.0.0/32 is subnetted, 2 subnets

O 5.5.5.5 [110/65] via 200.200.200.1, 00:03:48, Serial0/1

O 5.5.1.5 [110/65] via 200.200.200.1, 00:03:48, Serial0/1

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.40.0 is directly connected, Ethernet0/0

r2#

r2#

Note, that there is the route (both loopbacks) as intra area route on R2. But the route is still not available on R2's OSPF DB.

r4#sh ip ospf data

OSPF Router with ID (4.4.4.4) (Process ID 10)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

4.4.4.4 4.4.4.4 158 0x80000018 0xF8A9 2

5.5.5.5 5.5.5.5 145 0x8000001B 0x5F16 4

Also I do see a link count again 5.5.5.5 (router id). Does that mean the number of Router link states 5.5.5.5 advertises ???

5 REPLIES

Re: OSPF DB

Hi,

When i saw the following command,

sh ip ospf data router 5.5.5.5

It was showing, all the different networks.

Thanks

Re: OSPF DB

Link count means the number of interfaces detected for that router.

As for why in route table but not database I would first try :

-clear ip ospf process

-clear ip ospf neighbor

-remove ospf and put it back

-change the ospf area of the route (eg area 1 - changes the lsa type), if it fixes it but route back in area 0 to see if dbase still sees it.

-change the route mask - eg change mask and use ip ospf network point-to-point

to see if it clears it up.

If not it may be a bug like CSCdm66248.

Hope it helps. Let us know as this is a good one.

Steve

Re: OSPF DB

This is an Older IOS, so it doesnt have clear ip ospf process, like in the newer IOS. It only has clear ip ospf redistribution.

Bronze

Re: OSPF DB

Hi,

This is not a glitch. The new loopback address, 5.5.1.5, will appear as a stub network when you enter the command "show ip ospf database router 5.5.5.5", so it is in the database. This new loopback address will not cause the creation of a new router LSA, since there is not a new router.

Hope this helps,

Mark

Re: OSPF DB

As far as the bug is concerned, the IOS is 113-10.T.

Bug tool kit doesnt show any IOS from the 11.x series.

191
Views
0
Helpful
5
Replies
CreatePlease to create content