Open Shortest Path First (OSPFv2) | 373
To suppress the interface’s participation on an OSPF interface, use the following command in ROUTER 
OSPF mode. This command stops the router from sending updates on that interface. 
To enable both receiving and sending routing updates, use the 
no passive-interface interface command.
When you configure a passive interface, the 
show ip ospf process-id interface command adds the words 
“passive interface” to indicate that hello packets are not transmitted on that interface 
(Figure 20-13). 
Command Syntax Command Mode Usage
passive-interface {default | 
interface}
CONFIG-ROUTER-OSPF-id Specify whether all or some of the interfaces will be 
passive.
Default enabled passive interfaces on ALL 
interfaces in the OSPF process.
Entering the physical interface type, slot, and 
number enable passive interface on only the 
identified interface. 
• For a port channel, enter the keyword 
port-channel followed by a number from 1 to 
128
• For a 10-Gigabit Ethernet interface, enter the 
keyword 
TenGigabitEthernet followed by the 
slot/port information (for example, 
passive-interface ten 2/3).
• For a VLAN, enter the keyword vlan followed 
by a number from 1 to 4094 (for example, 
passive-interface vlan 2222).
• For a 40-Gigabit Ethernet interface, enter the 
keyword fortyGigE followed by the slot/port 
information.
The default keyword sets all interfaces on this OSPF process as passive. To remove the 
passive interface from select interfaces, use the no passive-interface interface 
command while passive interface default is configured.