A SERVICE OF

logo

IP Routing Features
Configuring OSPF
Displaying OSPF SPF Statistics
To display the log used to record shortest-path-first (SPF) calculations on an
OSPF-enabled routing switch, enter the show ip ospf spf-log command at any
CLI level. The SPF algorithm recalculates the routes in an OSPF domain when
a change in the area topology is received.
Syntax: show ip ospf spf-log
The show ip ospf spf-log command output displays:
The number of times that the SPF algorithm was executed for each OSPF
area to which the routing switch is assigned
The event that resulted in the last ten executions of the SPF algorithm on
the routing switch. Possible events (reasons) are as follows:
Re-Init: OSPF was enabled or disabled on the routing switch.
Router LS Update: A router (type 1) link-state advertisement was
received.
Network LS Update: A network (type 2) link-state advertisement was
received.
Generated RTR LSA: A router (type 1) link-state advertisement was
generated on the routing switch.
Generated NTW LSA: A network (type 2) link-state advertisement was
generated on the routing switch.
5-117