beautypg.com

Ip ospf database-filter, Ip ospf database-filter, ip – Brocade Network OS Command Reference v4.1.0 User Manual

Page 414

background image

376

Network OS Command Reference

53-1003115-01

ip ospf database-filter

2

ip ospf database-filter

Configures filters for different types of outgoing Link State Advertisements (LSAs).

Synopsis

ip ospf database-filter {all-external {allow-default-and-type-4 | allow-default-out | out} | all-out |

all-summary-external {allow-default-and-type-4 | allow-default-out | out}}

no ip ospf database-filter all-external

no ip ospf database-filter all-out

no ip ospf database-filter all-summary-external

Operands

all-external

Blocks all external LSAs.

allow-default-and-type-4

Allows default-route LSAs and Type 4 LSAs, but block all other LSAs.

allow-default-out Allows default-route LSAs, but block all other LSAs.

out

Filters outgoing LSAs.

all-out

Blocks all LSAs.

all-summary-external Blocks all summary (Type 3) and external (type 5) LSAs.

Defaults

All filters are disabled.

Command Modes

Interface subtype configuration mode

Description

Use this command to configure filters for different types of outgoing LSAs.

Usage Guidelines

By default, the device floods all outbound LSAs on all the OSPF 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.

NOTE

You cannot block LSAs on virtual links.

Examples

To apply a filter to block flooding of all LSAs on a specific OSPF 40-gigabit Ethernet interface:

switch(config)# interface fortygigabitethernet 101/0/10

switch(conf-if-fo-101/0/10)# ip ospf database-filter all-out

To apply a filter to block flooding of all LSAs on a specific OSPF virtual Ethernet (VE) interface:

switch(config)# rbridge-id 178

switch(config-rbridge-id-178)# interface ve 24

switch(config-ve-24)# ip ospf database-filter all-out