Cisco CCNA mock exam questions sample test – Question 67

.Which command produced the following output?

A. show ip ospf database
B. show ip ospf statistics
C. show ip ospf
D. show ip ospf traffic

Correct Answer: C

Explanation:
The output was produced by the show ip ospf command. The show ip ospf command is used to view information about the OSPF routing processes. The syntax of the command is as
follows:
Router# show ip ospf [process-id]
The process-id parameter of the command specifies the process ID.
The show ip ospf database command is incorrect because this command is used to view the OSPF database for a specific router. The following is sample output from the show ip
ospf database command when no arguments or keywords are used:
The show ip ospf statistics command is incorrect because this command is used to view the OSPF calculation statistics. The following is sample output from the show ip ospf statistics
command that shows a single line of information for each SPF calculation:
The show ip ospf traffic command is incorrect because this is not a valid command.
Objective:
Routing Fundamentals
Sub-Objective:
Compare and contrast interior and exterior routing protocols
References:
Cisco > Cisco IOS IP Routing Protocols Command Reference > OSPF Commands: show ip ospf through T > show ip ospf
CCNA ICND2 Official Exam Certification Guide (Cisco Press, ISBN 1-58720-181-X), Chapter 9: OSPF, p. 375.