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
Console(config)#router ospf
Console(config-router)#
Related Commands
network area (42-26)
42-19
Command
Display Information
show ip ospf
show ip ospf
border-routers
show ip ospf database
show ip ospf interface
show ip ospf neighbor
show ip ospf
summary-address
show ip ospf virtual-links
Function
Displays general information about the routing processes
Displays routing table entries for Area Border Routers (ABR) and
Autonomous System Boundary Routers (ASBR)
Shows information about different LSAs in the database
Displays interface information
Displays neighbor information
Displays all summary address redistribution information
Displays parameters and the adjacency state of virtual links
Mode Page
PE 42-39
PE 42-40
PE 42-41
PE 42-49
PE 42-50
PE 42-51
PE 42-51
Open Shortest Path First (OSPF)
Table 42-8 Open Shortest Path First Commands
(Continued)
42