ip ospf database-filter
ip ospf database-filter
all
out
ip ospf database-filter
all-external
{
allow-default
out
|
allow-default-and-type-4
out
|
out
}
ip ospf database-filter
all-summary-external
{
allow-default
out
|
allow-default-and-type-4
out
|
out
}
no ip ospf database-filter
all out
no ip ospf database-filter
all-external
no ip ospf database-filter
all-summary-external
All filters are disabled.
Interface subtype configuration mode
By default, the device floods all outbound LSAs on all the OSPFv2 interfaces within an area. You can configure a filter to block outbound LSAs on an OSPF interface. This feature is particularly useful when you want to block LSAs from some, but not all, of the interfaces attached to the area. When enabled, this command blocks the specified outgoing LSAs on the interface. Some cases where you might want to enable filters are:
- To control the information being advertised to the network.
- To use a passive router for debugging only.
Enter
no ip ospf database-filter followed by the appropriate operands to disable this configuration.