Command Reference Guide
Open Shortest Path First Commands
CLI Command Reference
September 2014 Page 603
HP Moonshot Switch Module CLI Command Reference
Example: The following shows example CLI display output for the command.
(R1) #show ip ospf range 0
Prefix Subnet Mask Type Action Cost Active
10.1.0.0 255.255.0.0 S Advertise Auto N
172.20.0.0 255.255.0.0 S Advertise 500 Y
show ip ospf statistics
This command displays information about recent Shortest Path First (SPF) calculations. The SPF is the OSPF
routing table calculation. The output lists the number of times the SPF has run for each OSPF area. A table
follows this information. For each of the 15 most recent SPF runs, the command shows statistics for how long
ago the SPF ran, how long the SPF took, the reasons why the SPF was scheduled, the individual components of
the routing table calculation time and to show the RIB update time. The most recent statistics are displayed at
the end of the table.
Example: The following shows example CLI display output for the command.
(Router) #show ip ospf statistics
Area 0.0.0.0: SPF algorithm executed 15 times
Delta T Intra Summ Ext SPF Total RIB Update Reason
00:05:33 0 0 0 0 0 R
00:05:30 0 0 0 0 0 R
00:05:19 0 0 0 0 0 N, SN
Format
show ip ospf statistics
Modes Privileged EXEC
Term Definition
Delta T The time since the routing table was computed. The time is in the format hours, minutes,
and seconds (hh:mm:ss).
Intra The time taken to compute intra-area routes, in milliseconds.
Summ The time taken to compute inter-area routes, in milliseconds.
Ext The time taken to compute external routes, in milliseconds.
SPF Total The total time to compute routes, in milliseconds. The total may exceed the sum of the
Intra, Summ, and Ext times.
RIB Update The time from the completion of the routing table calculation until all changes have been
made in the common routing table [the Routing Information Base (RIB)], in milliseconds.
Reason The event or events that triggered the SPF. Reason codes are as follows:
• R - new router LSA
•N - new network LSA
•SN - new network summary LSA
• SA - new ASBR summary LSA
•X - new external LSA