Juniper JN0-360 Exam: Command to Display SPF Calculation Information

Verify Frequency and Type of SPF Calculations | Junos Device Command | JN0-360

Prev Question Next Question

Question

You want to verify the frequency and type of SPF calculations on your Junos device.

Which command displays this information?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

The correct command to display the frequency and type of SPF calculations on a Junos device is the "show ospf statistics" command.

The OSPF (Open Shortest Path First) protocol is used for routing in IP networks, and SPF (Shortest Path First) is the algorithm used by OSPF to calculate the shortest path between two nodes in the network. The "show ospf statistics" command provides information about the current state of the OSPF protocol and its operations, including the frequency and type of SPF calculations.

Option A, "show ospf database | match log", displays the OSPF database entries that match the keyword "log", which may not necessarily provide information on SPF calculations.

Option B, "show spf log", displays the log messages related to the SPF calculation process. However, it may not provide an overview of the frequency and type of SPF calculations.

Option C, "show ospf log", displays the OSPF log messages, which may include information related to SPF calculations. However, it may not provide a detailed overview of the frequency and type of SPF calculations.

Option D, "show ospf statistics", displays a range of statistics related to the OSPF protocol, including the frequency and type of SPF calculations. The output includes information such as the total number of SPF calculations performed, the number of times a full SPF calculation was executed, and the number of times a partial SPF calculation was executed. This command provides a comprehensive view of the SPF calculations on the device.

Therefore, the correct answer to the question is D, "show ospf statistics".