4A0-113 practice question 23 of 25

Which of the following commands can be used to display the number of SPF computations that have been performed on a router?

Full set: 103 questions
Answer options
A: show router ospf area Correct answer
B: show router ospf neighbor
C: show router ospf interface
D: show router ospf status Correct answer
Correct Answer:
A. show router ospf area; D. show router ospf status
Explanation

Both show router ospf area and show router ospf status can display the number of SPF computations. The SPF algorithm is executed on a per-area basis. The show router ospf area command is the most direct method, showing the "Number of SPF runs" for a specific area, which is crucial for troubleshooting area-specific instability. The show router ospf status command provides a summary view, displaying the "Total SPF Runs" for the entire OSPF instance, which is a cumulative count across all areas. Both commands fulfill the user's request.

Why Incorrect

B. show router ospf neighbor: This command displays the state of OSPF adjacencies with neighboring routers, not SPF calculation statistics.
C. show router ospf interface: This command shows OSPF parameters configured on a specific interface, such as cost and timers, not SPF run counts.

References

1. Nokia 7750 SR OS OSPF and IS-IS Command Reference, Release 21.10.R1, Document Part Number: 3HE 17483 AAAB TQZZA, Edition 01.

Reference for A: In the section for show router ospf area, the sample output clearly includes the field "Number of SPF runs", confirming it displays the SPF computation count for the specified area. (Page 101)

Reference for D: In the section for show router ospf status, the sample output includes the field "Total SPF Runs" under the "SPF Information" heading, confirming it displays the total SPF computations for the OSPF instance. (Page 161)

Scroll to Top