No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - IP Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
OSPF Database Overflow

OSPF Database Overflow


OSPF requires that routers in the same area have the same Link-State Database (LSDB).

If the number of routes on a network increases, routers may fail to carry so much routing information due to limited system resources. This is known as an OSPF database overflow.


Configuring stub areas or NSSAs partially addresses database overflows. However, stub areas or NSSAs fail to resolve the problem of an unexpected increase in dynamic routes. To dynamically limit the LSDB capacity and thereby prevent database overflows, you can set the maximum number of external LSAs allowed in the LSDB.


To prevent database overflow, you can set the maximum number of non-default external routes on a router.

All routers on the OSPF network must be configured with the same upper limit. If the number of external routes on a router reaches the upper limit, the router enters the Overflow state and starts an overflow timer. The router automatically exits the overflow state after the timer expires. By default, the timer value is 5 seconds.

Table 5-18 OSPF database overflow phases

Overflow Phase

OSPF Processing

Entering the overflow state

A router deletes all non-default external routes generated by itself.

Staying at the overflow state

  • The router does not generate non-default external routes.
  • The router discards the newly received non-default external routes, and does not reply with LSAck packets.
  • When the overflow timer expires, the router checks whether the number of external routes still exceeds the upper limit and performs the following operations accordingly:
    • If the number of external routes still exceeds the upper limit, the router restarts the timer.
    • If the number of external routes is less than the upper limit, the router exits the overflow state.

Exiting the overflow state

  • The router resets the overflow timer.
  • The router generates non-default routes.
  • The router learns the newly received non-default external routes, and replies with LSAck packets.
  • The router prepares to enter the overflow state in case of future occurrences.
Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 274123

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next