passive-interface default

Syntax

passive-interface default

no passive-interface

Description

Configures all OSPF interfaces as passive.

The no form of this command sets all OSPF interfaces as active.

Command context

config-ospf

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting OSPF-enabled interfaces as passive:

switch(config)# router ospf 1
switch(config-ospf-1)# passive-interface default

Setting OSPF-enabled interfaces as active:

switch(config)# router ospf 1
switch(config-ospf-1)# no passive-interface