Multicast and Routing Guide K/KA/KB.15.15
Example 121 Displaying OSPF SPF statistics
HP Switch(ospf)# show ip ospf spf-log
OSPF SPF (SHORTEST PATH FIRST) LOG
Area : 0.0.0.100 - Number of times SPF executed : 12
SPF Instance Reason Time
--------------- --------------------------- ----------------
1 Router LS Update 0h:35m:44
2 Router LS Update 0h:36m:03
3 Generated RTR LSA 1h:04m:21
4 Generated NTW LSA 1h:28m:12
5 Network LS Update 2h:11m:05
6 Network LS Update 2h:54m:55
7 Generated RTR LSA 3h:01m:11
8 Router LS Update 3h:22m:39
9 Generated RTR LSA 4h:36m:22
10 Re-Init 4h:48m:54
Table 25 CLI display of OSPF SPF statistics
ID number or IP address of an area to which the switch is
assigned, including the number of times the SPF algorithm
was executed to recalculate OSPF routes in the area.
area [area id | ip-address]
Last ten instances in which the SPF algorithm was executed
to recalculate an OSPF route in the area.
SPF instances
The event or reason why the SPF algorithm was executed.Reason
Time when the SPF computation began.Time
Displaying OSPF route information
Syntax:
show ip ospf
To display OSPF route and other OSPF configuration information, enter show ip
ospf at any CLI level.
186 Open Shortest Path First Protocol (OSPF)










