Reference Guide
Open Shortest Path First (OSPFv2) | 1103
Command Modes
ROUTER OSPF
Command
History
Usage
Information
To enable OSPF on an interface, the network area  command must include, in its 
range of addresses, the primary IP address of an interface. 
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
Version 8.3.19.0 Introduced on S4820T
Version 8.3.7.0 Introduced on S4810
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
pre-Version 6.1.1.1 Introduced on E-Series
Note: An interface can be attached only to a single OSPF area.
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 Port Channel groups, enter the keyword 
port-channel followed by a 
number:
C-Series and S-Series Range: 1-128
E-Series Range: 1-32 for EtherScale, 1-255 for TeraScale
• 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.
• For a 40-Gigabit Ethernet interface, enter the keyword 
fortyGigE followed 
by the slot/port information.










