Sunday, July 3, 2011

LAB: OSPF Database Filtering

- Configure SW1 so that SW3 cannot learn any OSPF routes from SW1, but SW1 can still learn OSPF routes from SW3.
- Configure R5 so that R2 cannot learn from R5, but R5 can still learn OSPF routes from R2.

R5:
router ospf 1
neighbor 155.1.0.2 database-filter all out

SW1:
interface Vlan79
ip ospf database-filter all out

Note:  OSPF command database-filter all out is similar in operation to the  passive-interface command in RIPv2.  this features allows formation of OSPF neighbors, since hello packets are not filtered out. but stops the advertisements of all LSAs out the interface or to the neighbor in question.

No comments:

Post a Comment