10.1.4.8 Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
10.1.4.8 Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
IP Addressing Table
Objectives
Part 1: Configure Basic Device Settings
• Cable the network and clear previous device settings.
• Configure basic settings for routers and switches.
• Configure static routes on R2 and default routes on R1 and R3.
• Enable the HTTP server on R1 and set the enable and VTY passwords.
• Configure PC host IP settings.
• Verify connectivity.
Part 2: Access the ASA Console and ASDM
• Access the ASA console and view hardware, software, and configuration settings.
• Clear previous ASA configuration settings.
• Bypass Setup mode and configure the ASDM VLAN interfaces.
• Configure ASDM and verify access to the ASA.
• Access ASDM and explore the GUI.
Part 3: Configure ASA Settings and Firewall Using the ASDM Startup Wizard
• Access the Configuration menu and launch the Startup wizard.
• Configure the hostname, domain name, and enable the password.
• Configure the inside and outside VLAN interfaces.
• Configure DHCP, address translation, and administrative access.
• Review the summary and deliver the commands to the ASA.
• Test access to an external website from PC-B.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
• Test access to an external website using the ASDM Packet Tracer utility.
Part 4: Configure ASA Settings from the ASDM Configuration Menu
• Set the ASA date and time.
• Configure a static default route for the ASA.
• Configure AAA user authentication using the local ASA database.
• Test SSH access to the ASA.
• Test connectivity using ASDM Ping and Traceroute.
• Modify the MPF application inspection policy.
Part 5: Configure DMZ, Static NAT, and ACLs
• Configure the ASA DMZ VLAN 3 interface.
• Configure the DMZ server and static NAT.
• View the DMZ Access Rule generated by ASDM.
• Test access to the DMZ server from the outside network.
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.
Note: The router commands and output in this lab are from a Cisco 1941 router with Cisco IOS Release
15.4(3)M2 (with a Security Technology Package license). Other routers and Cisco IOS versions can be used.
See the Router Interface Summary Table at the end of the lab to determine which interface identifiers to use
based on the equipment in the lab. Depending on the router model and Cisco IOS version, the commands
available and the output produced might vary from what is shown in this lab.
The ASA used with this lab is a Cisco model 5506-X with an 8-port integrated switch, running OS version
9.10(1), Adaptive Security Device Manager (ASDM) version 7.10(1), and comes with a Base license that
allows a maximum of five VLANs.
Note: Before beginning, ensure that the ASA, routers and switches have been erased and have no startup
configurations.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
Required Resources
• 3 Routers (Cisco 1941 with Cisco IOS Release 15.4(3)M2 image with a Security Technology Package
license)
• 3 Switches (Cisco 2960 with cryptography IOS image for SSH support – Release 15.0(2)SE7 or
comparable) (not required)
• 1 ASA 5506-X (OS version 9.10(1) and ASDM version 7.10(1) and Base license or comparable)
• 3 PCs (Windows, SSH Client and Java version compatible with installed ASDM version)
• Serial and Ethernet cables, as shown in the topology
• Console cables to configure Cisco networking devices
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
d. Configure the Console and VTY lines to use the local database for login. For additional security, configure
the lines to log out after five minutes of inactivity. Issue the logging synchronous command to prevent
console messages from interrupting command entry. Configure the VTY lines to support SSH.
e. Enable HTTP server access on R1. Use the local database for HTTP authentication.
Note: HTTP server access will be used to demonstrate ASDM tools in Part 3.
Step 7: Save the basic running configuration for each router and switch.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
b. Enter privileged EXEC mode with the enable command. The password should be blank (no password) at
this point.
c. Enter global configuration mode using the conf t command. The first time you enter configuration mode
after reloading, you will be prompted to enable anonymous reporting. Respond with no.
d. 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)# exit
ASA 5506-X interface notes:
The ASA 5506-X comes with an integrated eight-port Ethernet switch. Ports G1/1 to G1/8 are normal
GigabitEthernet ports.
By default, all ASA physical interfaces are administratively down unless the Setup utility has been run, or the
factory defaults have been reset. Use the show interface ip brief command to verify this.
ciscoasa(config-if)# 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 administratively down down
GigabitEthernet1/3 unassigned YES unset administratively down down
GigabitEthernet1/4 unassigned YES unset administratively down down
<output omitted>
e. Enable the G1/2 interface using the no shutdown command and verify the G1/2 interface status. The
status and protocol for interface G1/2 should be up/up.
ciscoasa(config)# interface G1/2
ciscoasa(config-if)# no shut
ciscoasa(config-if)# exit
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
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.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
g. 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.10(1), ASDM version 7.10(1) and Java version
1.8(201). 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.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
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.
a. On the Startup Wizard Step 10 – Do not enable Smart Call Home, leave everything to the default and
click Next to continue.
b. 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 browser and ASDM. 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.
Note: The process to restart ASDM would be different if ASDM was installed on your PC or ran from the
web browser. If it was installed, launch ASDM from the program menu. Otherwise, ASDM can be started
from the web browser.
c. 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.
b. 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) with a Destination Port of http.
c. Click Start to begin the trace of the packet. The packet should be permitted.
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) and a Source Port of 1500. From the Destination drop-down list, select IP
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
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. The packet should be dropped.
f. Click Close to continue.
h. On the ASDM Tools menu, select Ping and enter the IP address of router R1 S0/0/0 (10.1.1.1).
i. Click Ping. The ping should succeed this time. Click Close to continue.
j. We will now verify the routing hops to PC-C. From the ASDM Tools menu, select Traceroute.
k. Enter the IP address of external host PC-C (172.16.3.3).
l. Click Trace Route. The traceroute should succeed and show the hops from the ASA through R1, R2, and
R3 to host PC-C. 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.
b. Click Users/AAA > User Accounts.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
c. To add a new user, click Add to open the Add User Account window
d. 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.
e. Click OK to add the user and return to the User Accounts window. Verify that the new entry is correct.
f. Click Apply to send the command to the ASA.
g. Next we will enable AAA access to the ASA. In the Device Management > Users/AAA > and select AAA
Access.
h. 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.
i. 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.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 12 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
k. In the Browse Private Service window, you will double-click various services to select them and add them
to the Public Service field. Double-click the following services: tcp/ftp, tcp/http, icmp/echo, and
icmp/echo-reply (Note: scroll down to see all services).
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 13 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
m. When you have completed all the information in the Add Public Server dialog box, it should look like the
one shown below.
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 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/3 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/3 has a lower security level than the inside interface.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 14 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
c. Click Show Graphs to display the graph. Initially, there is no traffic displayed.
d. From a privileged mode command prompt on R2, simulate Internet traffic to the ASA by pinging the DMZ
server’s public address with a repeat count of 1000. You can increase the number of pings if desired.
R2# ping 209.165.200.227 repeat 1000
Reflection
1. What are some of the benefits of using ASDM over the CLI?
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
2. What are some of the benefits of using the CLI over ASDM?
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 15 of 16 www.netacad.com
Lab - Configure ASA 5506-X Basic Settings and Firewall Using ASDM
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
1900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)
(F0/0) (F0/1)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
2900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
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.
© 2015 - 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 16 of 16 www.netacad.com