Reference Guide
Open Shortest Path First (OSPFv2 and OSPFv3) | 1031
If you delete all the network area commands for Area 0, the show ip ospf command output will not list
Area 0.
passive-interface
c e s
Suppress both receiving and sending routing updates on an interface.
Syntax
passive-interface {default | interface}
To enable both the receiving and sending routing, enter the no passive-interface interface
command.
To return all OSPF interfaces (current and future) to active, enter the no passive-interface default
command.
Parameters
Command Modes
ROUTER OSPF
Command
History
Usage
Information
Although the passive interface will neither send nor receive routing updates, the network on that
interface will still be included in OSPF updates sent via other interfaces.
The default keyword sets all interfaces as passive. You can then configure individual interfaces, where
adjacencies are desired, using the no passive-interface interface command. The no form of this
command is inserted into the configuration for individual interfaces when the no passive-interface
interface command is issued while passive-interface default is configured.
This command behavior has changed as follows:
passive-interface interface
• The previous no passive-interface interface is removed from the running configuration.
default Enter the keyword default to make all OSPF interfaces (current and future) passive.
interface
Enter the following keywords and slot/port or number information:
• For a Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by
the slot/port information.
• For a Port Channel interface, enter the keyword
port-channel followed by a
number:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 32 for EtherScale, 1 to 255 for TeraScale and 1 to 512 for
ExaScale.
• For a SONET interface, enter the keyword
sonet followed by the slot/port
information.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
• For a VLAN, enter the keyword
vlan followed by a number from 1 to 4094.
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
Version 7.4.1.0
Modified to include the
default keyword.
pre-Version 6.1.1.1 Introduced on E-Series