Scenario

Ticket: users in 10.7.10.0/24 should browse the web server 10.7.50.80 (TCP 80), and telnet (TCP 23) to the server must be blocked. Last week someone wrote the ACL SRV-IN. Today telnet to the server still works, and when it was moved for a test, web access broke. Everything else on the network must continue to work.

Topology

R1Internet

Requirements

  1. 1Users can reach the web server on TCP 80
  2. 2Telnet (TCP 23) from the users to the server is blocked
  3. 3Users can still reach other destinations, such as 198.51.100.7 on TCP 443
  4. 4SRV-IN is bound only to Gi0/0, inbound

Something is broken. Find it with show commands, then fix it. Type ? for the commands you can use.

R1> show running-config

CCNA lab · about 12 min

Troubleshoot: an ACL that blocks the wrong traffic

An access list filters the wrong port and sits on the wrong interface. Read the match counts, find both faults and make web work and telnet fail.

This lab is included in the CCNA plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this lab

Ticket: users in 10.7.10.0/24 should browse the web server 10.7.50.80 (TCP 80), and telnet (TCP 23) to the server must be blocked. Last week someone wrote the ACL SRV-IN. Today telnet to the server still works, and when it was moved for a test, web access broke. Everything else on the network must continue to work.

About 12 minutes. Included in the CCNA plans and the free trial.

Questions about this lab

Is this a real Cisco router?

No. It is a small simulator written by CertAce. It understands a handful of commands and keeps the state of one router, so you can practise the ideas without lab gear. Real devices print more, and the exam may ask for things this lab does not cover. CertAce is not affiliated with Cisco.

How can the hit counters help me?

show access-lists prints (n matches) next to each line. A line that never matches while the symptom is happening tells you the ACL is not in the path, or that its match is wrong.

How do I edit a line in a named ACL?

Enter the ACL, delete the line by its sequence number with no <n>, and add the new one with a sequence number. Without a number it is added to the end, below the permit any any.

How do I see where an ACL is applied?

show ip interface <port> prints the inbound and outgoing ACL. show running-config also shows the ip access-group lines under each interface.

CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.