Table 27: CLI display of OSPF virtual link information—Specific IP address
Field
Description
Events
The number of times the virtual link interface state has changed.
Transit delay
The configured transit delay for the virtual link.
Rtr Interval
The configured retransmit interval for the virtual link.
Hello Interval
The configured hello interval for the virtual link.
Dead Interval
The configured router dead interval for the virtual link.
Viewing OSPF SPF statistics
Displays the log used to record SPF calculations on an OSPF-enabled routing switch. 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
This 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.
Displaying OSPF SPF statistics
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
Chapter 11 Open Shortest Path First Protocol (OSPF)
243