Which command is used to display the collection of OSPF link states?

IT Questions BankWhich command is used to display the collection of OSPF link states?

Question:
Which command is used to display the collection of OSPF link states?

  • show ip ospf link-state
  • show ip ospf lsa database
  • show ip ospf neighbors
  • show ip ospf database

Explanation: The “show ip ospf database” command displays the link states. Here is an example:
Here is the lsa database on R2.
R2#show ip ospf database
OSPF Router with ID (2.2.2.2) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count2.2.2.2 2.2.2.2 793 0x80000003 0x004F85 210.4.4.4 10.4.4.4 776 0x80000004 0x005643 1111.111.111.111 111.111.111.111 755 0x80000005 0x0059CA 2133.133.133.133 133.133.133.133 775 0x80000005 0x00B5B1 2 Net Link States (Area 0) Link ID ADV Router Age Seq# Checksum10.1.1.1 111.111.111.111 794 0x80000001 0x001E8B10.2.2.3 133.133.133.133 812 0x80000001 0x004BA910.4.4.1 111.111.111.111 755 0x80000001 0x007F1610.4.4.3 133.133.133.133 775 0x80000001 0x00C31F

Exam with this question: CA201
Exam with this question: CCNA v3.0 (200-125) Study Guide – Exam Dumps

IFixYourWrongAnswers replied 1 year ago

both B. show ip ospf lsa database and D. show ip ospf database display the collection of OSPF link states, but in different levels of detail.

The show ip ospf lsa database command displays a detailed list of all the LSAs that the router has received or generated, including information about the router’s own interfaces, neighboring routers, and the network topology.

The show ip ospf database command, on the other hand, provides a summary of the OSPF database, including the number of LSAs in each category (Router, Network, Summary, and External). It does not provide detailed information about each LSA, but it does display the collection of OSPF link states in a summarized form.

Therefore, both commands can be considered correct answers to the question “Which command is used to display the collection of OSPF link states?”, but the level of detail required in the output will determine which command is more appropriate for a particular situation.

For this question on the CCNA, D is the correct answer because it’s only asking about the link-states and nothing more.

Subscribe
Notify of
guest

1 Comment
Inline Feedbacks
View all comments
IFixYourWrongAnswers
IFixYourWrongAnswers
1 year ago

both B. show ip ospf lsa database and D. show ip ospf database display the collection of OSPF link states, but in different levels of detail.

The show ip ospf lsa database command displays a detailed list of all the LSAs that the router has received or generated, including information about the router’s own interfaces, neighboring routers, and the network topology.

The show ip ospf database command, on the other hand, provides a summary of the OSPF database, including the number of LSAs in each category (Router, Network, Summary, and External). It does not provide detailed information about each LSA, but it does display the collection of OSPF link states in a summarized form.

Therefore, both commands can be considered correct answers to the question “Which command is used to display the collection of OSPF link states?”, but the level of detail required in the output will determine which command is more appropriate for a particular situation.

For this question on the CCNA, D is the correct answer because it’s only asking about the link-states and nothing more.