Open Shortest Path First (OSPF)
42-19
42
router ospf
This command enables Open Shortest Path First (OSPF) routing for all IP interfaces
on the router and enters router configuration mode. Use the no form to disable
OSPF.
Syntax
[no] router ospf
Command Mode
Global Configuration
Default Setting
Disabled
Command Usage
OSPF is used to specify how routers exchange routing table information.
Example
Related Commands
network area (42-26)
Display Information
show ip ospf Displays general information about the routing processes PE 42-39
show ip ospf
border-routers
Displays routing table entries for Area Border Routers (ABR) and
Autonomous System Boundary Routers (ASBR)
PE 42-40
show ip ospf database Shows information about different LSAs in the database PE 42-41
show ip ospf interface Displays interface information PE 42-49
show ip ospf neighbor Displays neighbor information PE 42-50
show ip ospf
summary-address
Displays all summary address redistribution information PE 42-51
show ip ospf virtual-links Displays parameters and the adjacency state of virtual links PE 42-51
Console(config)#router ospf
Console(config-router)#
Table 42-8 Open Shortest Path First Commands (Continued)
Command Function Mode Page