OSPF database filtering

you can configure a router to filter all LSAs to a specified neighbor or out a specified interface using the following commands… Notice, when using the neighbor command you must specify the router IP in which you receive the updates from NOT the router-id.

First, filtering to a specified neighbor…

router ospf 1
 neighbor 155.1.0.2 database-filter all out

Secondly out a specified interface…

interface  vlan 79
 ip ospf database-filter all out

The results…

R2#sh ip ro | i via 155.1.0.5
R2#
SW3# sh ip ospf data

            OSPF Router with ID (150.1.9.9) (Process ID 1)

                Router Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum Link count
150.1.9.9       150.1.9.9       440         0x8000000E 0x00EB87 3

SW3#

Leave a Reply

You must be logged in to post a comment.