9.3.2.13 Lab - Configuring and Verifying Extended ACLs
9.3.2.13 Lab - Configuring and Verifying Extended ACLs
Topology
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 8
Addressing Table
Device
R1
Interface
IP Address
Subnet Mask
Default Gateway
G0/1
192.168.10.1
255.255.255.0
N/A
Lo0
192.168.20.1
255.255.255.0
N/A
S0/0/0 (DCE)
10.1.1.1
255.255.255.252
N/A
S0/0/0
10.1.1.2
255.255.255.252
N/A
S0/0/1 (DCE)
10.2.2.2
255.255.255.252
N/A
Lo0
209.165.200.225
255.255.255.224
N/A
Lo1
209.165.201.1
255.255.255.224
N/A
G0/1
192.168.30.1
255.255.255.0
N/A
Lo0
192.168.40.1
255.255.255.0
N/A
S0/0/1
10.2.2.1
255.255.255.252
N/A
S1
VLAN 1
192.168.10.11
255.255.255.0
192.168.10.1
S3
VLAN 1
192.168.30.11
255.255.255.0
192.168.30.1
PC-A
NIC
192.168.10.3
255.255.255.0
192.168.10.1
PC-C
NIC
192.168.30.3
255.255.255.0
192.168.30.1
ISP
R3
Objectives
Part 1: Set Up the Topology and Initialize Devices
Part 2: Configure Devices and Verify Connectivity
Background / Scenario
Extended access control lists (ACLs) are extremely powerful. They offer a much greater degree of control
than standard ACLs as to the types of traffic that can be filtered, as well as where the traffic originated and
where it is going.
In this lab, you will set up filtering rules for two offices represented by R1 and R3. Management has
established some access policies between the LANs located at R1 and R3, which you must implement. The
ISP router between R1 and R3 does not have any ACLs placed on it. You would not be allowed any
administrative access to an ISP router as you can only control and manage your own equipment.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs) with
Cisco IOS Release 15.2(4)M3 (universalk9 image). The switches used are Cisco Catalyst 2960s with Cisco
IOS Release 15.0(2) (lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 8
Required Resources
3 Routers (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)
2 Switches (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
2 PCs (Windows 7, Vista, or XP with terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
g. Assign cisco as the console and vty password and enable Telnet access. Configure logging
synchronous for both the console and vty lines.
h. Enable web access on R1 to simulate a web server with local authentication for user admin.
R1(config)# ip http server
R1(config)# ip http authentication local
R1(config)# username admin privilege 15 secret class
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 8
g. Assign cisco as the console and vty password and enable Telnet access. Configure logging
synchronous for both console and vty lines.
h. Enable web access on the ISP. Use the same parameters as in Step 2h.
Assign cisco as the console password and configure logging synchronous on the console line.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 8
From PC-C, ping PC-A and the loopback and serial interface on R1.
Were your pings successful?
d. From R3, ping PC-A and the loopback and serial interface on R1.
Were your pings successful?
e. From PC-A, ping the loopback interfaces on the ISP router.
Were your pings successful?
f.
g. Open a web browser on PC-A and go to http://209.165.200.225 on ISP. You will be prompted for a
username and password. Use admin for the username and class for the password. If you are prompted
to accept a signature, accept it. The router will load the Cisco Configuration Professional (CCP) Express
in a separate window. You may be prompted for a username and password. Use admin for the username
and class for the password.
h. Open a web browser on PC-C and go to http://10.1.1.1 on R1. You will be prompted for a username and
password. Use admin for username and class for the password. If you are prompted to accept a
signature, accept it. The router will load CCP Express in a separate window. You may be prompted for a
username and password. Use admin for the username and class for the password.
Step 1: Configure a numbered extended ACL on R1 for security policy numbers 1 and 2.
You will use a numbered extended ACL on R1. What are the ranges for extended ACLs?
a. Configure the ACL on R1. Use 100 for the ACL number.
R1(config)# access-list 100 remark Allow Web & SSH Access
R1(config)# access-list 100 permit tcp host 192.168.10.3 host 10.2.2.1 eq 22
R1(config)# access-list 100 permit tcp any any eq 80
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 8
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 6 of 8
Issue the show access-lists command to verify that the new line was added at the end of the ACL.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 7 of 8
Reflection
1. Why is careful planning and testing of ACLs required?
3. Why are EIGRP hello packets and routing updates not blocked by the implicit deny any access control entry
(ACE) or ACL statement of the ACLs applied to R1 and R3?
Ethernet Interface #1
Ethernet Interface #2
Serial Interface #1
Serial Interface #2
1800
1900
2801
2811
2900
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 8 of 8