Chapter 50
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1003 –
General Configuration
router ospf This command enables Open Shortest Path First (OSPFv2) routing for all IP
interfaces on the router and enters router configuration mode. Use the no form to
disable OSPF for all processes or for a specified process.
Syntax
[no] router ospf [process-id]
process-id - Process ID must be entered when configuring multiple routing
instances. (Range: 1-65535; Default: 1)
Command Mode
Global Configuration
Default Setting
No routing process is defined.
Command Usage
â—† OSPF is used to specify how routers exchange routing table information.
â—† This command is also used to enter router configuration mode.
â—† If the process ID is not defined, the default is instance 1.
ip ospf priority Sets the router priority used to determine the designated
router
IC
ip ospf retransmit-interval Specifies the time between resending a link-state
advertisement
IC
ip ospf transmit-delay Estimates time to send a link-state update packet over an
interface
IC
passive-interface Suppresses OSPF routing traffic on the specified interface RC
Display Information
show ip ospf Displays general information about the routing processes PE
show ip ospf border-routers Displays routing table entries for Area Border Routers (ABR)
and Autonomous System Boundary Routers (ASBR)
PE
show ip ospf database Shows information about different LSAs in the database PE
show ip ospf interface Displays interface information PE
show ip ospf neighbor Displays neighbor information PE
show ip ospf route Displays the OSPF routing table PE
show ip ospf virtual-links Displays parameters and the adjacency state of virtual links PE
show ip protocols ospf Displays OSPF process parameters PE
Table 5: Open Shortest Path First Commands (Continued)
Command Function Mode