show ip ospf
To display general information about Open Shortest Path First (OSPF) routing processes, use the show ip ospf command in user EXEC or privileged EXEC mode.
show ip ospf [process-id]
Syntax Description
process-id |
(Optional) Process ID. If this argument is included, only information for the specified routing process is included. |
Command Modes
User EXEC Privileged EXEC
Command History
Mainline Release |
Modification |
---|---|
10.0 |
This command was introduced. |
15.0(1)M |
This command was integrated into Cisco IOS Release 15.0(1)M. |
0S Release |
Modification |
12.0(25)S |
This command was integrated into Cisco IOS Release 12.0(25)S and the output was expanded to display link-state advertisement (LSA) throttling timers. |
12.0(31)S |
Support for the Bidirectional Forwarding Detection (BFD) feature was added. |
S Release |
Modification |
12.2(14)S |
Support for displaying packet pacing timers was added. |
12.2(28)SB |
This command was integrated into Cisco IOS Release 12.2(28)SB. |
12.2(18)SXE |
This command was integrated into Cisco IOS Release 12.2(18)SXE and support for the BFD feature was added. |
12.2(33)SRA |
This command was integrated into Cisco IOS Release 12.2(33)SRA. |
T Release |
Modification |
12.2(4)T |
This command was modified to show packet pacing timers in the displayed output. |
12.2(15)T |
This command was modified to show additional information if the OSPF Forwarding Address Suppression in Type-5 LSAs feature is configured. |
12.3(2)T |
The output of this command was expanded to display LSA throttling timers and the limit on redistributed routes. |
12.4(4)T |
Support for the BFD feature was added. |
Examples
The following is sample output from the show ip ospf command when entered without a specific OSPF process ID:
Router# show ip ospf
Routing Process "ospf 201" with ID 10.0.0.1 and Domain ID 10.20.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
LSA group pacing timer 100 secs
Interface flood pacing timer 55 msecs
Retransmission pacing timer 100 msecs
Number of external LSA 0. Checksum Sum 0x0
Number of opaque AS LSA 0. Checksum Sum 0x0
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 2. 2 normal 0 stub 0 nssa
External flood list length 0
Area BACKBONE(0)
Number of interfaces in this area is 2
Area has message digest authentication
SPF algorithm executed 4 times
Area ranges are
Number of LSA 4. Checksum Sum 0x29BEB
Number of opaque link LSA 0. Checksum Sum 0x0
Number of DCbitless LSA 3
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Area 172.16.26.0
Number of interfaces in this area is 0
Area has no authentication
SPF algorithm executed 1 times
Area ranges are
192.168.0.0/16 Passive Advertise
Number of LSA 1. Checksum Sum 0x44FD
Number of opaque link LSA 0. Checksum Sum 0x0
Number of DCbitless LSA 1
Number of indication LSA 1
Number of DoNotAge LSA 0
Flood list length 0
Examples
The following is sample output from the show ip ospf command to verify that the BFD feature has been enabled for OSPF process 123. The relevant command output is shown in bold in the output.
Router# show ip ospf
Routing Process "ospf 123" with ID 172.16.10.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Incremental-SPF disabled
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0x000000
Number of opaque AS LSA 0. Checksum Sum 0x000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
External flood list length 0
BFD is enabled
Area BACKBONE(0)
Number of interfaces in this area is 2
Area has no authentication
SPF algorithm last executed 00:00:03.708 ago
SPF algorithm executed 27 times
Area ranges are
Number of LSA 3. Checksum Sum 0x00AEF1
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
The table below describes the significant fields shown in the display.
Field |
Description |
---|---|
Routing process “ospf 201” with ID 10.0.0.1 |
Process ID and OSPF router ID. |
Supports... |
Number of types of service supported (Type 0 only). |
SPF schedule delay |
Delay time (in seconds) of SPF calculations. |
Minimum LSA interval |
Minimum interval (in seconds) between link-state advertisements. |
LSA group pacing timer |
Configured LSA group pacing timer (in seconds). |
Interface flood pacing timer |
Configured LSA flood pacing timer (in milliseconds). |
Retransmission pacing timer |
Configured LSA retransmission pacing timer (in milliseconds). |
Number of external LSA |
Number of external link-state advertisements. |
Number of opaque AS LSA |
Number of opaque link-state advertisements. |
Number of DCbitless external and opaque AS LSA |
Number of demand circuit external and opaque link-state advertisements. |
Number of DoNotAge external and opaque AS LSA |
Number of do not age external and opaque link-state advertisements. |
Number of areas in this router is |
Number of areas configured for the router. |
External flood list length |
External flood list length. |
BFD is enabled |
BFD has been enabled on the OSPF process. |
The following is an excerpt of output from the show ip ospf command when the OSPF Forwarding Address Suppression in Type-5 LSAs feature is configured:
Router# show ip ospf
.
.
.
Area 2
Number of interfaces in this area is 4
It is a NSSA area
Perform type-7/type-5 LSA translation, suppress forwarding address
.
.
.
Routing Process "ospf 1" with ID 192.168.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Incremental-SPF disabled
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0x0
Number of opaque AS LSA 0. Checksum Sum 0x0
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 0. 0 normal 0 stub 0 nssa
External flood list length 0
The table below describes the significant fields shown in the display.
Field |
Description |
---|---|
Area |
OSPF area and tag. |
Number of interfaces... |
Number of interfaces configured in the area. |
It is... |
Possible types are internal, area border, or autonomous system boundary. |
Routing process “ospf 1” with ID 192.168.0.1 |
Process ID and OSPF router ID. |
Supports... |
Number of types of service supported (Type 0 only). |
Initial SPF schedule delay |
Delay time of SPF calculations at startup. |
Minimum hold time |
Minimum hold time (in milliseconds) between consecutive SPF calculations. |
Maximum wait time |
Maximum wait time (in milliseconds) between consecutive SPF calculations. |
Incremental-SPF |
Status of incremental SPF calculations. |
Minimum LSA... |
Minimum time interval (in seconds) between link-state advertisements, and minimum arrival time (in milliseconds) of link-state advertisements, |
LSA group pacing timer |
Configured LSA group pacing timer (in seconds). |
Interface flood pacing timer |
Configured LSA flood pacing timer (in milliseconds). |
Retransmission pacing timer |
Configured LSA retransmission pacing timer (in milliseconds). |
Number of... |
Number and type of link-state advertisements that have been received. |
Number of external LSA |
Number of external link-state advertisements. |
Number of opaque AS LSA |
Number of opaque link-state advertisements. |
Number of DCbitless external and opaque AS LSA |
Number of demand circuit external and opaque link-state advertisements. |
Number of DoNotAge external and opaque AS LSA |
Number of do not age external and opaque link-state advertisements. |
Number of areas in this router is |
Number of areas configured for the router listed by type. |
External flood list length |
External flood list length. |
The following is sample output from the show ip ospf command. In this example, the user had configured the redistribution maximum-prefix command to set a limit of 2000 redistributed routes. SPF throttling was configured with the timers throttle spf command.
Router# show ip ospf 1
Routing Process "ospf 1" with ID 10.0.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
It is an autonomous system boundary router
Redistributing External Routes from,
static, includes subnets in redistribution
Maximum limit of redistributed prefixes 2000
Threshold for warning message 75%
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
The table below describes the significant fields shown in the display.
Field |
Description |
---|---|
Routing process “ospf 1” with ID 10.0.0.1 |
Process ID and OSPF router ID. |
Supports ... |
Number of Types of Service supported. |
It is ... |
Possible types are internal, area border, or autonomous system boundary router. |
Redistributing External Routes from |
Lists of redistributed routes, by protocol. |
Maximum limit of redistributed prefixes |
Value set in the redistribution maximum-prefix command to set a limit on the number of redistributed routes. |
Threshold for warning message |
Percentage set in the redistribution maximum-prefix command for the threshold number of redistributed routes needed to cause a warning message. The default is 75 percent of the maximum limit. |
Initial SPF schedule delay |
Delay (in milliseconds) before initial SPF schedule for SPF throttling. Configured with the timers throttle spf command. |
Minimum hold time between two consecutive SPFs |
Minimum hold time (in milliseconds) between two consecutive SPF calculations for SPF throttling. Configured with the timers throttle spf command. |
Maximum wait time between two consecutive SPFs |
Maximum wait time (in milliseconds) between two consecutive SPF calculations for SPF throttling. Configured with the timers throttle spf command. |
Number of areas |
Number of areas in router, area addresses, and so on. |
The following is sample output from the show ip ospf command. In this example, the user had configured LSA throttling, and those lines of output are displayed in bold.
Router# show ip ospf 1
Routing Process "ospf 4" with ID 10.10.24.4
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Incremental-SPF disabled
Initial LSA throttle delay 100 msecs
Minimum hold time for LSA throttle 10000 msecs
Maximum wait time for LSA throttle 45000 msecs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0x0
Number of opaque AS LSA 0. Checksum Sum 0x0
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
External flood list length 0
Area 24
Number of interfaces in this area is 2
Area has no authentication
SPF algorithm last executed 04:28:18.396 ago
SPF algorithm executed 8 times
Area ranges are
Number of LSA 4. Checksum Sum 0x23EB9
Number of opaque link LSA 0. Checksum Sum 0x0
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
The following is sample show ip ospf command. In this example, the user had configured the redistribution maximum-prefix command to set a limit of 2000 redistributed routes. SPF throttling was configured with the timers throttle spf command.
Router# show ip ospf 1
Routing Process "ospf 1" with ID 192.168.0.0
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
It is an autonomous system boundary router
Redistributing External Routes from,
static, includes subnets in redistribution
Maximum limit of redistributed prefixes 2000
Threshold for warning message 75%
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
The table below describes the significant fields shown in the display.
Field |
Description |
---|---|
Routing process “ospf 1” with ID 192.168.0.0. |
Process ID and OSPF router ID. |
Supports ... |
Number of TOS supported. |
It is ... |
Possible types are internal, area border, or autonomous system boundary routers. |
Redistributing External Routes from |
Lists of redistributed routes, by protocol. |
Maximum limit of redistributed prefixes |
Value set in the redistribution maximum-prefix command to set a limit on the number of redistributed routes. |
Threshold for warning message |
Percentage set in the redistribution maximum-prefix command for the threshold number of redistributed routes needed to cause a warning message. The default is 75 percent of the maximum limit. |
Initial SPF schedule delay |
Delay (in milliseconds) before the initial SPF schedule for SPF throttling. Configured with the timers throttle spf command. |
Minimum hold time between two consecutive SPFs |
Minimum hold time (in milliseconds) between two consecutive SPF calculations for SPF throttling. Configured with the timers throttle spf command. |
Maximum wait time between two consecutive SPFs |
Maximum wait time (in milliseconds) between two consecutive SPF calculations for SPF throttling. Configured with the timers throttle spf command. |
Number of areas |
Number of areas in router, area addresses, and so on. |
The following is sample output from the show ip ospf command. In this example, the user had configured LSA throttling, and those lines of output are displayed in bold.
Router# show ip ospf 1
Routing Process "ospf 4" with ID 10.10.24.4
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Incremental-SPF disabled
Initial LSA throttle delay 100 msecs
Minimum hold time for LSA throttle 10000 msecs
Maximum wait time for LSA throttle 45000 msecs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 0. Checksum Sum 0x0
Number of opaque AS LSA 0. Checksum Sum 0x0
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
External flood list length 0
Area 24
Number of interfaces in this area is 2
Area has no authentication
SPF algorithm last executed 04:28:18.396 ago
SPF algorithm executed 8 times
Area ranges are
Number of LSA 4. Checksum Sum 0x23EB9
Number of opaque link LSA 0. Checksum Sum 0x0
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0