21.9.5 Lab Configure ASA Basic Settings and Firewall Using ASDM
21.9.5 Lab Configure ASA Basic Settings and Firewall Using ASDM
Topology
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
Addressing Table
Default
Device Interface IP Address Subnet Mask Gateway Switch Port
R1
G0/0/0 209.165.200.225 255.255.255.248 ASA G1/0
ASA G1/1 (OUTSIDE) 209.165.200.226 255.255.255.248 N/A R1 G0/0/0
ASA N/A
Objectives
Part 1: Configure Basic Device Settings
Part 2: Access the ASA Console and ASDM
Part 3: Configure ASA Settings and Firewall Using the ASDM Startup Wizard
Part 4: Configure ASA Settings from the ASDM Configuration Menu
Part 5: Configure DMZ, Static NAT, and ACLs
Background/Scenario
The Cisco Adaptive Security Appliance (ASA) is an advanced network security device that integrates a
stateful firewall, a VPN, and FirePOWER services. This lab employs an ASA 5506-X to create a firewall and
protect an internal corporate network from external intruders while allowing internal hosts access to the
Internet. The ASA creates three security interfaces: Outside, Inside, and DMZ. It provides outside users with
limited access to the DMZ and no access to internal resources. Inside users can access the DMZ and outside
resources.
The focus of this lab is to configure the ASA as a basic firewall. Other devices will receive minimal
configuration to support the ASA portion of the lab. This lab uses the ASA GUI interface ASDM to configure
basic device and security settings.
In Part 1 of this lab, you will configure the topology and non-ASA devices. In Part 2, you will prepare the ASA
for Adaptive Security Device Manager (ASDM) access. In Part 3, you will use the ASDM Startup wizard to
configure basic ASA settings and the firewall between the inside and outside networks. In Part 4, you will
configure additional settings via the ASDM configuration menu. In Part 5, you will configure a DMZ on the
ASA and provide access to a server in the DMZ.
The scenario for this lab assumes your company has a location connected to an ISP. R1 is a customer-
premise equipment (CPE) device managed by the ISP. R2 represents an intermediate Internet router. R3
connects an administrator from a network management company, who has been hired to remotely manage
your network. The ASA is an edge security device that connects the internal corporate network and DMZ to
the ISP while providing NAT and DHCP services to inside hosts. The ASA will be configured for management
by an administrator on the internal network and the remote administrator. Layer 3 VLAN interfaces provide
access to the three areas created in the lab: Inside, Outside, and DMZ. The ISP has assigned the public IP
address space of 209.165.200.224/29, which will be used for address translation on the ASA.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
Note: The routers used with hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.6 (universalk9
image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(7) (lanbasek9
image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model and Cisco
IOS version, the commands available and the output produced might vary from what is shown in the labs.
Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
The ASA used with this lab is a Cisco model 5506-X with an 8-port integrated switch, running OS version
9.15(1), Adaptive Security Device Manager (ASDM) version 7.15(1).
Note: Make sure that the devices have been erased and have no startup configurations. If you are unsure,
contact your instructor.
Instructions
R1 Script
enable
configure terminal
hostname R1
security passwords min-length 10
enable algorithm-type scrypt secret cisco12345
ip domain name netsec.com
username admin01 algorithm-type scrypt secret admin01pass
interface GigabitEthernet0/0/1
ip address 172.16.3.1 255.255.255.0
no shutdown
interface GigabitEthernet0/0/0
ip address 209.165.200.225 255.255.255.248
no shutdown
crypto key generate rsa general-keys modulus 2048
ip http server
ip http authentication local
line con 0
exec-timeout 5 0
logging synchronous
login local
line vty 0 4
exec-timeout 5 0
login local
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
b. Configure a static IP address, subnet mask, and default gateway for PC-A, PC-B, and PC-C as shown in
the IP Addressing Table.
a. Accessing the ASA via the console port is the same as with a Cisco router or switch. Connect to the ASA
console.
b. The ASA initially prompts you to pre-configure the firewall using an interactive prompt. We will not be
configuring the ASA this way, therefore enter no and press Enter. If you have inadvertently started the
setup wizard, press CTRL-Z to exit it. The terminal screen should display the default ASA user EXEC
hostname and prompt ciscoasa>.
c. You will get prompt requesting that you configure an enable password to enter privileged EXEC mode.
Enter class to configure the password and then again to confirm it. You will now be in privileged EXEC
mode.
enable password cannot be removed
Enter Password: class
Repeat Password: class
Note: Save your configuration so that the password persists across reboots
("write memory" or "copy running-config startup-config").
ciscoasa#
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
ciscoasa(config)#
d. Set the enable password:
ciscoasa(config)# enable password cisco12345
e. Configure the INSIDE interface G1/2 to prepare for ASDM access. The Security Level should be
automatically set to the highest level of 100. The interface G1/2 will be used by PC-B to access ASDM on
ASA.
ciscoasa(config)# interface g1/2
ciscoasa(config-if)# nameif INSIDE
INFO: Security level for "INSIDE" set to 100 by default.
ciscoasa(config-if)# ip address 192.168.1.1 255.255.255.0
ciscoasa(config-if)# security-level 100
ciscoasa(config-if)# no shut
ciscoasa(config-if)# exit
ciscoasa(config)# show interface ip brief
Interface IP-Address OK? Method Status Protocol
Virtual0 127.1.0.1 YES unset up up
GigabitEthernet1/1 unassigned YES unset administratively down down
GigabitEthernet1/2 192.168.1.1 YES manual up up
GigabitEthernet1/3 unassigned YES unset administratively down down
GigabitEthernet1/4 unassigned YES unset administratively down down
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
<output omitted>
f. Configure OUTSIDE interface G1/1 and enable the G1/1 interface. You will assign the IP address using
ASDM.
ciscoasa(config)# interface g1/1
ciscoasa(config-if)# nameif OUTSIDE
INFO: Security level for "OUTSIDE" set to 0 by default.
ciscoasa(config-if)# security-level 0
ciscoasa(config-if)# no shut
ciscoasa(config-if)# exit
g. Test connectivity to the ASA by pinging from PC-B to ASA interface G1/2 192.168.1.1. The pings should
be successful.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
j. The initial GUI screen is displayed with various areas and options. The menu at the top left of the screen
contains three main sections: Home, Configuration, and Monitoring. The Home section is the default
and has two dashboards: Device Dashboard and Firewall Dashboard.
k. There are five areas on the Device Dashboard:
o Device Information (default ASDM screen)
o Interface Status
o VPN Sessions
o System Resources Status
o Traffic Status
These areas display various information about the ASA. For instance, the Device Information displays
device information, such as hostname, ASA version, ASDM version, firewall mode, device type (ASA
5506), and more.
Note: If the Cisco Smart Call Home window appears, click Do not enable Smart Call Home and click
OK.
l. Click the Configuration and Monitoring buttons to become familiar with their layout and to see what
options are available.
Part 3: Configure Basic ASA Settings and Firewall Using the ASDM Startup Wizard
In this part, you will use ASDM Startup Wizard to modify the configurations.
Note: The following steps are based on ASA version 9.15(1)1 and ASDM version 7.15(1) These steps are for
reference only. Your steps maybe different.
Step 1: Access the Configuration menu and launch the Startup wizard.
a. On the menu bar, click Configuration. The Configuration screen provides the following five areas of
device configuration:
o Device Setup (default display)
o Firewall
o Remote Access VPN
o Site-to-Site VPN
o Device Management
b. The Device Setup option displays the Startup Wizard by default. Read through the on-screen text
describing the Startup wizard, and then click Launch Startup Wizard.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
security level is set to 0 (lowest). Enter the IP address of 209.165.200.226 with a subnet mask of
255.255.255.248. Click Next to continue.
b. On the Startup Wizard Step 4 screen, verify that the inside and outside interfaces are configured correctly
according to the Addressing Table. Click Next to continue.
Note: The DMZ interface will be configured later in this lab.
Step 6: Review the summary and deliver the commands to the ASA.
a. On the Startup Wizard Step 9 screen – Auto Update Server, leave everything to the default and click Next
to continue.
b. On the Startup Wizard Step 10 – Do not enable Smart Call Home, leave everything to the default and
click Next to continue.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
c. On the Startup Wizard Step 11 screen – Startup Wizard Summary, review the Configuration Summary
and click Finish. ASDM will deliver the commands to the ASA device and then reload the modified
configuration.
Note: If the GUI dialogue box stops responding during the reload process, close it, exit ASDM, and restart
the Cisco ASDM-ID Launcher. If prompted to save the configuration to flash memory, respond with Yes.
Even though ASDM may not appear to have reloaded the configuration, the commands were delivered. If
there are errors encountered as ASDM delivers the commands, you will be notified with a list of
commands that succeeded and the commands that failed. Provide the new enable password cisco12345
with no username when prompted. Return to the Device dashboard and check the Interface Status
window. You should see the inside and outside interfaces with IP address and status. The inside interface
should show a number of Kb/s. The Traffic Status window may show the ASDM access as TCP traffic
spike.
Step 8: Test access to an external website using the ASDM Packet Tracer utility.
a. Click Tools > Packet Tracer… from the menu. This tool allows you test a variety of packet types
between a specified source and destination.
b. If necessary, select the INSIDE interface from the Interface drop-down list and click TCP from the Packet
Type radio buttons. From the Source drop-down list, select IP Address and enter the address
192.168.1.3 (PC-B) with a Source Port of 1500. From the Destination drop-down list, select IP Address,
and enter 209.165.200.225 (R1 G0/0/1) with a Destination Port of http.
c. Click Start to begin the trace of the packet. You should the output RESULT - The packet is allowed.
d. Click Clear to reset the entries. Try another trace and select OUTSIDE from the Interface drop-down list
and leave TCP as the packet type. From the Sources drop-down list, select IP Address, and enter
209.165.200.225 (R1 G0/0/1) and a Source Port of 1500. From the Destination drop-down list, select IP
Address and enter the address 209.165.200.226 (ASA OUTSIDE interface) with a Destination Port of
telnet.
e. Click Start to begin the trace of the packet. You should the output RESULT - The packet is dropped.
f. Click Close to continue.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
Note: When using ASDM, it is important that changes be configured using the Apply button. Failure to do this
will not enable the configuration.
h. From the menu, select Tools > Ping… again and enter the IP address of router R1 G0/0/0 (172.16.3.1).
i. Click Ping. The ping should succeed this time. Click Close to continue.
Step 3: Configure AAA user authentication using the ASA local database.
In a previous step, inside hosts and PC-C were configured SSH access to the ASA. We will now enable AAA
user authentication to access the ASA using SSH. To allow the administrator to have SSH access to the ASA,
you will add a user in the local database.
a. On the Configuration screen and select Device Management > Users/AAA > User Accounts.
b. Click Add to open the Add User Account dialog.
c. Create a new user named admin01 with a password of admin01pass and enter the password again to
confirm it. Allow this user Full access (ASDM, SSH, Telnet, and console) and set the privilege level to 15.
d. Click OK to add the user and return to the User Accounts window. Verify that the new entry is correct.
e. Click Apply to send the command to the ASA.
f. Next, we will enable AAA access to the ASA. From the Users/AAA submenu, select AAA Access.
g. On the Authentication tab, click the check boxes to require authentication for HTTP/ASDM and SSH
connections using the LOCAL server group to authenticate against.
h. Click Apply to send the commands to the ASA.
Note: The next action you attempt within ASDM will require that you log in as admin01 with the password
admin01pass.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
e. After logging in to the ASA using SSH, enter the enable command and provide the password
cisco12345.
f. Issue the show run command to display the current configuration that you have created using ASDM.
Note: The idle timeout for SSH could also be modified. You can change this setting by using the CLI
logging synchronous command or go to ASDM Device Management > Management Access >
ASDM/HTTP/Telnet/SSH.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
Step 4: Test access to the DMZ server from the outside network.
a. From PC-C, ping the IP address of the static NAT public server address (209.165.200.227). The pings
should not be successful.
b. Ping the DMZ server (PC-A) internal IP address 192.168.2.3 from inside network host PC-B. The pings
should be successful. This is because the ASA inside interface G1/2 is set to security level 100 (the
highest) and the DMZ interface G1/4 is set to 70.
c. Try to ping from the DMZ server PC-A to PC-B at the IP address 192.168.1.3. The pings should not be
successful. The reason the DMZ server cannot ping PC-B on the inside network is because the DMZ
interface G1/4 has a lower security level than the inside interface.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 12 of 13 www.netacad.com
Lab 21.9.5 - Configure ASA Basic Settings and Firewall Using ASDM
Reflection
1. What are some of the benefits of using ASDM over the CLI?
Type your answers here.
2. What are some of the benefits of using the CLI over ASDM?
Type your answers here.
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.
2019 - 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 13 of 13 www.netacad.com