show ip ospf

Use this command to display OSPF information.

Syntax

show ip ospf

Parameters

None.

Defaults

None.

Mode

All command modes.

Example

This example shows how to display OSPF information:

System(rw)->show ip ospf
Routing Process “ospf 20“ with ID 134.141.7.2
Supports only single TOS(TOS0) route
It is an area border and autonomous system boundary router
Summary Link update interval is 0 seconds.
External Link update interval is 0 seconds.
Redistributing External Routes from,
Number of areas in this router is 3
Area BACKBONE (0)
    Number of interfaces in this area is 0
    Area has no authentication
    SPF algorithm executed 65 times
    Area ranges are
    Link State Update Interval is 00:30:00 and due in 00:03:12.
    Link State Age Interval is 00:00:00 and due in 00:00:00.
Area 0.0.0.3
    Number of interfaces in this area is 1
    Area has no authentication
    SPF algorithm executed 59 times
    Area ranges are
    Link State Update Interval is 00:30:00 and due in 00:02:28.
    Link State Age Interval is 00:00:00 and due in 00:00:00.
Area 0.0.0.2
    Number of interfaces in this area is 3
    Area has no authentication
    SPF algorithm executed 61 times
    Area ranges are
         140.20.0.0/255.255.0.0
    Link State Update Interval is 00:30:00 and due in 00:03:07.
    Link State Age Interval is 00:00:00 and due in 00:00:00.