OSPF Summarization & Route Filtering
Cheat sheet · https://pcornel.dk/topic.php?topic=56
Answer
OSPF summarisation and filtering happen only at area boundaries (ABR, area range) and redistribution points (ASBR, summary-address); inside an area every router must have the same LSDB, so LSAs cannot be filtered there.
Remember
area <n> range summarises type 1/2 into one type 3 at the ABR; area <n> filter-list prefix filters type 3; distribute-list in only stops installation in the local RIB, not flooding. A summary creates a discard route to Null0 on the ABR — traffic to unused parts is dropped there.
First checks
show ip ospf database summary <prefix>— type 3 LSAs, including the summary.show ip route <summary>— on the ABR: a route to Null0; elsewhere: the summary.show ip ospf | section Area— ranges configured per area.show ip ospf summary-address— external summaries on an ASBR.
Commands
show ip protocols- Display active routing protocol parameters.
show ip ospf database [router|network|summary|external]- Inspect OSPF LSDB and LSA types.
show ip ospf database summary 10.10.0.0show ip route 10.10.0.0 255.255.0.0show ip ospf database
Verify in this order
component routes in the area → range configured on the ABR → one type 3 LSA for the summary → Null0 route on the ABR → other areas see only the summary
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=56