Example
The following example enables OSPF on IP interface 1.100.100.100.
Console(config)# interface ip 1.100.100.100
Console(config-ip)# ospf
ospf enable
The ospf enable interface configuration command activates OSPF on an interface. To deactivate
OSPF on an interface, use the no form of this command.
Syntax
ospf enable
no ospf enable
Default Configuration
OSPF is enabled on an interface.
Command Mode
IP Interface Configuration mode
User Guidelines
An
OSPF interface must be created before it can be enabled. To enable an OSPF interface,
use the ospf command.
Example
The following example activates OSPF on IP interface 1.100.100.100.
Console(config)# interface ip 1.100.100.100
Console(config-ip)# ospf enable
ospf area
The ospf area interface configuration command assigns an area to an interface. To remove the
definition, use the no form of this command.
Syntax
ospf area area-id
no ospf area
•
area-id—Area associated with the OSPF address range. It is specified as an IP address.
244
OSPF Commands