The present invention provides a method of determining whether database
located on a first router is synchronized with the database located on a
second router by performing a hash function on the values contained in a
link state database to derive a SHA-1 digest value. In an embodiment, the
digest value is based on LSA type. The digest value is exchanged
initially during a database description packet swap between the first
router and second router. If the digest values are the same, the
databases are already synchronized. The routers thus skip the database
description packet exchange of LSAs in the database and go directly to
FULL state, indicating full synchronization between databases on the
first and second router and announcing adjacency to each other. If the
digest differs, normal database description packet exchange is performed
as specified in OSPF.