ip ospf passive

Syntax

ip ospf passive

no ip ospf passive

Description

Configures the interface as an OSPF passive interface. With this setting, the interface participates in OSPF but does not send or receive packets on that interface.

The no form of this command resets the interface as active. With this setting, the interface starts sending and receiving OSPF packets.

Command context

config-if

Authority

Administrators

Examples

Setting the interface as OSPF passive interface:

switch(config)# interface 1/1/1
switch(config-if)# ip ospf passive

Setting the interface as OSPF active interface:

switch(config)# interface 1/1/1
switch(config-if)# no ip ospf passive