ospf enable
router ospf
Specifying an OSPF Router ID
The router ID is typically derived by each router from its interface IP addresses.
However, you can use the router-id command to specify a different router ID for
OSPF.
NOTE: You must specify a router ID to enable OSPFv3.
router-id
Configures OSPFv2 with the default values. You can configure the interface with
a nondefault value by using the other address commands. You must first issue
the address area command before issuing any other address commands. See
"Configuring OSPF Interfaces" on page 257 for more information.
Example
host1(config-router)#address 10.10.32.100 area 0.0.0.0
Use the no version to delete the OSPFv2 interface.
See address area
Use to enable OSPF on the router.
OSPF is enabled by default.
Example
host1(config-router)#ospf enable
The no version of this command is deprecated and might be removed in a future
release. Use the ospf shutdown command to disable OSPF on the router.
See ospf enable
Use to set an OSPF process ID.
The process ID can be any positive integer in the range 1–65535.
You must assign a unique ID for each OSPF routing process.
Example
host1(config)#router ospf 5
Use the no version to end the designated OSPF routing process.
See router ospf
Chapter 5: Configuring OSPF
255
Starting OSPF
Need help?
Do you have a question about the IGP - CONFIGURATION GUIDE V11.1.X and is the answer not in the manual?
Questions and answers