Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Clear OSPF database ???

701 views
Skip to first unread message

Tom Danielsen

unread,
Aug 2, 2000, 3:00:00 AM8/2/00
to
HI !

I am currently sitting in the lab and I wonder if it is
possible to clear the OSPF database, the reasin why I am asking is
because I change the configs alot from NSSA to stub etc, the it´s kind
of hard following the database.
I have to wait until it timeout 1hrs or someting.

So can do something to speed this up changing some parameter clearing
the database ???

Regards T.D

Dennis H

unread,
Aug 2, 2000, 3:00:00 AM8/2/00
to
clear ip ospf <process id>

--


Due to some idiots, repy to group only... no personal

"Tom Danielsen" <Tom_Da...@hotmail.com> wrote in message
news:39880E96...@hotmail.com...

Tom Danielsen

unread,
Aug 2, 2000, 3:00:00 AM8/2/00
to
That doesn´t clear the database "sh ip ospf database" only the ospf process
!!!!

/T

Dennis H

unread,
Aug 2, 2000, 3:00:00 AM8/2/00
to
I apologize... I haven't used the command in a while and didn't have a box
to verify. Try

clear ip ospf process

That should do it...

--


Due to some idiots, repy to group only... no personal

"Tom Danielsen" <tom_da...@hotmail.com> wrote in message
news:39886183...@hotmail.com...

Tom Danielsen

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
HI Dennis !

As I mentioned before that doesn´t clear the ospf database, only the
process you see !!!

/Tom

lambo

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
reload 8-)


Tom Danielsen wrote in message <39880E96...@hotmail.com>...


>HI !
>
>I am currently sitting in the lab and I wonder if it is
>possible to clear the OSPF database, the reasin why I am asking is

>because I change the configs alot from NSSA to stub etc, the it愀 kind

RLC

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
For each second an LSA resides in a routers link state database his LSAge
is incremented by one.
The LSAs are held until their LSAge value reaches 3600 (1 hour).
Unfortunately, there is no way to clear the database other than a reload.

~rlc
CNE, CCNA, CCDA

Tom Danielsen wrote:

> HI !
>
> I am currently sitting in the lab and I wonder if it is
> possible to clear the OSPF database, the reasin why I am asking is

> because I change the configs alot from NSSA to stub etc, the it´s kind

Jose L. Rodriguez

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
Try:

no router ospf X

Dan Swartzendruber

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
In article <398993D7...@sgi.com>, j...@sgi.com says...

> Try:
>
> no router ospf X
>

that's nice if he doesn't want to run OSPF anymore, but i didn't get that
impression...


Jose L. Rodriguez

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
OK ... perhaps I should have been clearer ...


0. Make sure your connection won't die once you kill the
routing process.

1. Kill the ospf process
no router ospf X

2. Re-enable the ospf process. If you don't have ACLs that
will get mangled, revert to the startup config. If you do,
copy the relevant ospf configuration from a nearby tftp
server ... or just copy-paste it to your open session.


Of course, this not only clears the database, but will cause
you to re-establish all adjacencies.

--
Jose L. Rodriguez jlr-AT-sgi.com
---------------------------------------------------------------

Dennis H

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
Isn't this what you mean? See output below

BEFORE CLEAR - Populated database

Vacant14#sh ip ospf data

OSPF Router with ID (192.168.0.14) (Process ID 14)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

192.168.0.11 192.168.0.11 34 0x80000006 0xFEEC 4

192.168.0.13 192.168.0.13 16 0x80000003 0xCD1A 3

192.168.0.14 192.168.0.14 28 0x80000086 0xC9A3 3

Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag

0.0.0.0 192.168.0.14 32 0x8000007D 0xCCE4 14

10.0.0.4 192.168.0.11 84 0x80000001 0xDC44 0

10.0.0.4 192.168.0.13 64 0x80000001 0xD04E 0

10.0.0.5 192.168.0.13 64 0x80000001 0xD842 0

10.0.0.6 192.168.0.11 84 0x80000001 0xDA41 0

10.0.0.8 192.168.0.11 96 0x80000001 0xB468 0

10.0.0.8 192.168.0.14 31 0x80000002 0xA078 0

10.0.0.9 192.168.0.14 31 0x80000002 0xA86C 0

10.0.0.10 192.168.0.11 96 0x80000001 0xB265 0

10.x.x.0 192.168.0.14 31 0x80000022 0x8771 0

10.8.1.0 192.168.0.13 17 0x80000001 0x9F77 0

24.x.x.0 192.168.0.14 31 0x80000022 0xB37A 0

192.168.0.11 192.168.0.11 95 0x80000001 0x793E 0

192.168.0.13 192.168.0.13 63 0x80000001 0x595A 0

192.168.0.14 192.168.0.14 31 0x80000023 0x58A 0

__________________

AFTER "CLEAR IP OSPF PROCESS" command - Not "CLEAR IP OSPF <process-id>"

Vacant14#sh ip ospf data

OSPF Router with ID (192.168.0.14) (Process ID 14)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

192.168.0.14 192.168.0.14 1 0x80000001 0x2C7 2

Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag

0.0.0.0 192.168.0.14 0 0x80000001 0xC568 14

10.0.0.8 192.168.0.14 0 0x80000001 0xA277 0

10.0.0.9 192.168.0.14 0 0x80000001 0xAA6B 0

10.x.x.0 192.168.0.14 0 0x80000001 0xC950 0

24.x.x.0 192.168.0.14 0 0x80000001 0xF559 0

192.168.0.14 192.168.0.14 0 0x80000001 0x4968 0


--


Due to some idiots, repy to group only... no personal

"Tom Danielsen" <Tom_Da...@hotmail.com> wrote in message

news:39892A40...@hotmail.com...

0 new messages