The lsdb-overflow-limit command sets the maximum number of external LSAs in the OSPF Link-State Database (LSDB).
The undo lsdb-overflow-limit command removes the maximum number of external LSAs.
By default, the maximum number of external LSAs is not set.
| Parameter | Description | Value |
|---|---|---|
| number | Specifies the maximum number of external LSAs in the LSDB. | The value is an integer ranging from 1 to 1000000. |
Usage Scenario
When the number of external routes (calculated based on Type-5 and Type-7 LSAs) imported by OSPF exceeds the maximum limit, excess external routes cannot be processed properly and are dropped.
To solve this problem, set the maximum number of external routes allowed by the LDSB, so that the number of external routes imported to the LSDB is within an appropriate range. If the number of external routes imported by OSPF exceeds the maximum number allowed by the LSDB, OSPF drops non-default external routes to ensure that other external routes imported by OSPF are forwarded properly.
The display ospf brief command output contains the OSPF is in LSDB overflow status field, the number of external routes imported to the LSDB exceeds the maximum number allowed.
Precautions
In an OSPF AS, the number values specified using the lsdb-overflow-limit commands must be the same.