OSPF: 检测到LSDB过载,区域0.0.0.0上达到最大LSA限制(10000),丢弃新的LSA
OSPF: LSDB overload detected, max LSA limit (10000) reached on area 0.0.0.0, dropping new LSAs
ID: networking/ospf-lsdb-overload
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| Cisco IOS 15.9(3)M | active | — | — | — |
| Juniper Junos 22.2R2 | active | — | — | — |
| FRRouting 8.4 | active | — | — | — |
根因分析
由于路由震荡或错误配置的路由器注入过多路由,OSPF链路状态数据库(LSDB)超过配置的最大链路状态通告(LSA)数量,导致路由器丢弃新的LSA并可能损坏路由表。
English
The OSPF Link State Database (LSDB) has exceeded the configured maximum number of Link State Advertisements (LSAs) due to route flapping or a misconfigured router injecting excessive routes, causing the router to drop new LSAs and potentially corrupt the routing table.
官方文档
https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/7039-1.html解决方案
-
Identify the source of excessive LSAs using 'show ip ospf database' and 'show ip route ospf' to find flapping routes, then configure route summarization or set a route filter to limit the number of redistributed routes.
-
Configure OSPF stub area or totally stubby area on the affected area to reduce LSA flooding: area 0.0.0.0 stub no-summary
-
Temporarily increase the max LSA limit to 15000 while investigating: router ospf 1; max-lsa 15000; then set a timer to revert after 24 hours.
无效尝试
常见但无效的做法:
-
80% 失败
This only masks the problem; if the LSA flood is due to a misconfiguration or attack, the LSDB will eventually exceed the new limit and cause memory exhaustion.
-
85% 失败
The LSDB will be rebuilt from neighbors after reboot; if the underlying issue (e.g., route flapping) is not fixed, the overload will recur quickly.
-
90% 失败
This causes a complete network outage and does not address the LSA source; the overload will return once OSPF is re-enabled.