- OSPF stub router
Sometimes you don’t want one of your OSPF routers to be a transit point for traffic (temporary ISP failure?). This configuration makes one of your routers a less-desired path.
router ospf 1
max-metric router-lsa
2. OSPF database filtering
in some cases you want to filter LSAs per neighbor, e.g you have two redundant paths but you want to disable one path.
R1
router ospf 1
neighbor 192.168.0.1 database-filter all-out
Now R2 (192.168.0.1) cannot learn anything from R1