Implementing Cisco IP Routing (CCNP ROUTE, legacy) — Question 86
Which command displays the number of times that the OSPF Shortest Path First (SPF) algorithm has been executed?
Answer options
- A. show ip protocol
- B. show ip ospf
- C. show ip ospf database
Correct answer:
Explanation
The correct answer is B, as the 'show ip ospf' command provides detailed OSPF statistics, including the SPF algorithm execution count. Option A, 'show ip protocol', gives general information about routing protocols but does not specifically detail OSPF execution. Option C, 'show ip ospf database', presents the OSPF database contents but does not include SPF execution counts.