Command Line Reference Guide

Open Shortest Path First (OSPFv2 and OSPFv3) | 1039
Parameters
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.
ip-address
Specify a primary or secondary address in dotted decimal format. The primary address
is required before adding the secondary address.
mask
Enter a network mask in /prefix format. (/x)
area-id
Enter the OSPF area ID as either a decimal value or in a valid IP address.
Decimal value range: 0 to 65535
IP address format: dotted decimal format A.B.C.D.
Note: If the area ID is smaller than 65535, it will be converted to a decimal
value. For example, if you use an area ID of 0.0.0.1, it will be converted to 1.
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.