Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Cisco Certified Network Associate (CCNA) Practice Exam. Test your knowledge with our interactive quizzes featuring multiple choice questions, hints, and explanations. Equip yourself for success!

Practice this question and more.


What command would you use to view all access lists in a Cisco router?

  1. #show running-config

  2. #show ip access-lists

  3. #show access-lists

  4. #display config

The correct answer is: #show access-lists

To view all access lists configured on a Cisco router, the correct command is to use the command that directly queries the access lists. This command allows you to see not only the presence of access lists but also the associated rules and conditions defined within those lists. The command provides a detailed output that includes all standard and extended IP access lists, along with their entries. Using the command that explicitly states to show access lists will give you the specific information you need about ACLs, such as the sequence numbers, permit or deny actions, and the source and destination addresses involved. Other commands may give useful information, but they won't compile all access list details as succinctly. For example, while "show running-config" provides the entire configuration of the router, it might be overwhelming if you're specifically looking for access lists. Similarly, "show ip access-lists" does provide information about IP access lists, but it may not include non-IP access lists, which could be a limitation depending on your need. "Display config" is also not a valid command in typical Cisco command sets and may confuse users not familiar with Cisco IOS syntax. Thus, focusing on querying access lists directly ensures that you efficiently retrieve the precise information needed regarding the access control configurations of the