Which command would produce the following output?
Router# 10 permit 192.168.1.0 0.0.0.7 20 permit 192.168.1.64 0.0.0.63 (4 match(es)) 30 deny any (8 match(es))
- show access-lists
- clear access-list counters
- show run | section access-list
- no access-list 1
Explanation: The output provided is characteristic of the show access-lists command. According to the sources, this command is used to display all configured access control lists (ACLs) on a router along with their hit counters. These hit counters, shown in the output as "(4 match(es))" or "(8 match(es))", indicate the number of packets that have matched a specific access control entry (ACE) since the counters were last cleared.
The other options are incorrect for the following reasons:
- clear access-list counters: This command is used to reset the hit counters to zero for tuning purposes, rather than displaying them.
- show run | section access-list: This command displays the ACL configuration as it exists in the running configuration file, but it does not show dynamic operational data like hit counters.
- no access-list 1: This is a configuration command used to delete an entire numbered ACL rather than display its status.
Related exam: Modules 14 – 16: Checkpoint Exam: Network Security Answers (CCNP ENCOR v9)
