ip ospf passive

Sets a specific OSPFv2interface to passive.
Syntax
ip ospf passive
no ip ospf passive
Command Default

All OSPF interfaces are active.

Modes

Interface subtype configuration mode

Usage Guidelines

When you configure an OSPF interface to be passive, that interface does not send or receive OSPF route updates. Since a passive interface does not send or receive route information, the interface is in effect a stub network.

You might want to set an interface to passive mode if:

  • You are planning to use the router mostly for debugging purposes.
  • The router is a stub and does not route traffic.

The no form of the command sets an interface back to active.

Examples

The following example sets a specific OSPFv2 virtual Ethernet (VE) interface to passive.

device# configure terminal
device(config)# interface interface ve 1
device(config-vif-1)# ip ospf passive
History