Installing the ASAPIX Software


Installing the ASA/PIX Software

The ASA/PIX operating system software comes installed on the security appliances. If you purchased your hardware before 2005, it will not have the version 7 operating system. Version 7 will be shipped on all ASA/PIX Security Appliances larger than a PIX 515E after the first part of 2005. ASDM runs only on ASA/PIX version 7. If you have a version of the PIX operating system prior to 7, you must manually install ASA/PIX version 7 before you can complete the step-by-step instructions outlined in this book.

Manual ASA/PIX Version 7 Installation

You must do seven things before you can upgrade the security appliance, as follows:

  • Ensure that your PIX operating system is at minimum version 6.3(x).

  • Obtain a valid ASA/PIX version 7 license.

  • Obtain a version of the ASA/PIX version 7 operating system and ASDM from the download area of Cisco.com.

  • Prepare your PC for the version 7 upgrade. Install a TFTP server on your PC and configure your PC so that you can upgrade the ASA/PIX operating system.

  • Prepare your ASA/PIX Security Appliance to download the version 7 operating system.

  • Download ASA/PIX version 7 to your security appliance.

  • Download ASDM 5.0 to your security appliance.

Ensure That PIX 6.3(x) Is Installed

It's a simple task to ensure that PIX version 6.3 is running on your ASA/PIX Security Appliance. Connect to the console port and reboot the device; the version numbers display just before the security appliance prompt displays. Alternatively, manually log in to your appliance and enter the show version command in Privileged or Nonprivileged mode. The Security Appliance will display the following output in the first few lines, revealing the current version of the operating system:

 Cisco PIX Firewall Version 6.3(4) Cisco PIX Device Manager Version 3.0(2) Compiled on Fri 02-Jul-04 00:07 by CiscoSystems CiscoPix up 7 days 18 hours 

If you are on a version of the PIX operating system lower than 6.3, you must go to the Cisco website and upgrade to 6.3 before proceeding to the following steps. You can find all software versions and instructions on the website download pages.

Obtain a Valid ASA/PIX Version 7 License

Before you can use the full functionality offered in ASA/PIX version 7, you must ensure that you have a valid ASA/PIX version 7 license. You have two options for obtaining a license. One is to call Cisco customer support and ask for the license. They will provide you with step-by-step instructions. If you currently have a SmartNet contract, you should be eligible for a no-cost upgrade to the ASA/PIX version 7 operating system.

The second option is to go to Cisco.com and search for the "Licensing and Activation Keys [Cisco PIX Firewall Software]" document. This document describes how you can obtain an ASA/PIX license from Cisco.

Obtain the ASA/PIX Version 7 Operating System and ASDM 5.0 Software

To obtain a version of the ASA/PIX version 7 operating system, you must log on to the Cisco website with a valid username and password. Navigate to Technical Support and then to Downloads. When you are on the download pages, navigate to Cisco Secure Software and then to Cisco Secure PIX Firewall Software.

NOTE

Occasionally, Cisco changes the look of its website, so these steps might vary depending on when you download the software.


Proceed to the location marked Download PIX Firewall Software. On this page, you will see the binary image for the ASA/PIX version 7 operating system. Click the image name, and you will be prompted to open or save the image. Click Save and put the image in a safe location on your PC; later, you will transfer the file to the home directory of your TFTP server. If you have a TFTP server on your system already, you can save the file directly into the home directory of the TFTP server.

Repeat this procedure for the ASDM 5.0 software.

Preparing Your PC for an ASA/PIX Security Appliance Upgrade

To upgrade your ASA/PIX Security Appliance to version 7, you must have a PC with a TFTP server, and you must configure your network interface card to allow connectivity to the security appliance.

NOTE

If you already have a TFTP server on your network, you can skip the section that describes how to configure a PC as a TFTP server.


You can install any number of free TFTP servers from the Internet on your PC. Any implementation of TFTP should work for this download.

NOTE

When this text refers to a PC, the reference can apply to either a Windows-or a Linux-based machine. However, the examples in this book use Windows as the primary operating system.


Before you can transfer the software from your PC to the ASA/PIX device, you must establish a network connection between the two. This connection requires configuration on the PC as well as configuration on the security appliance.

If you already know how to connect the two machines, use the following steps as a reference only. If you have no experience in doing this, however, you can follow the step-by-step instructions to successfully move the file from the TFTP server to the ASA/PIX Security Appliance:

Step 1.

Install the TFTP software on your PC and ensure that the ASA/PIX version 7 binary and ASDM file are in the TFTP default directory. This procedure was previously described.

Step 2.

Configure the properties of the network card on your PC so that it can communicate with the ASA/PIX Security Appliance. Configure the following parameters: IP address 192.168.1.2, subnet mask 255.255.255.0 and default gateway 192.168.1.1. (See Figure 3-4.)

Figure 3-4. Windows IP Configuration


Step 3.

Ensure that the ASA/PIX version 7 operating system and the ASDM 5.0 software are in the download directory of your TFTP server, and then launch the server.

Your PC should now be prepared to copy the ASA/PIX operating system and ASDM software.

Preparing the ASA/PIX Security Appliance for the Upgrade

You must now put the ASA/PIX Security Appliance in a mode in which you can configure it to use its TFTP download functions:

Step 1.

You must first be connected to the ASA/PIX via the console port. This is done using a serial cable from your PC to the security appliance console port and using a terminal emulator such as HyperTerminal. Set the HyperTerminal properties to use your PC serial port with the parameters shown in Figure 3-5: speed at 9600 bps, 8 data bits, no parity checking, and 1 stop bit.

Figure 3-5. HyperTerminal Settings


Step 2.

After you establish console connectivity, you are ready to upgrade your ASA/PIX appliance to the ASA/PIX version 7 image. Enter the enable command followed by the conf t command to get into Command mode.

Step 3.

Plug a crossover Ethernet cable between an Ethernet 1 port on your security appliance and the networking card on your PC.

Upgrading the ASA/PIX Security Appliance to Version 7

The following tasks have been completed:

  • Your PC has the ASA/PIX and ASDM software.

  • TFTP is running on your PC.

  • Your PC is connected physically to the ASA/PIX Security Appliance.

  • The ASA/PIX Security Appliance is configured to access the TFTP server of the PC.

You are ready to start the download procedure. A word of caution: All steps are critical in this process. If these steps are not followed, you might have to restart the download process from the beginning.

Enter the following commands on you security appliance:

Step 1.

Initialize Ethernet 1 to prepare for the download:

 pixfirewall(config)# ip address inside 192.168.1.1 255.255.255.0 

Step 2.

Ping your TFTP server to ensure connectivity. If you don't have connectivity (if your pings are not successful), go back to the previous section and ensure that you have performed all the required steps:

 pixfirewall(config)# ping 192.168.1.2      192.168.1.2 response received -- 0ms      192.168.1.2 response received -- 0ms      192.168.1.2 response received -- 0ms 

Step 3.

Enter the commands and the appropriate responses to copy the ASA/PIX version 7 operating system image to your security appliance:

 pixfirewall(config)# copy tftp://192.168.1.2/asapix70.bin flash: copying tftp://192.168.1.2/asapix70.bin to flash:image !!!!!! Image installed 

Step 4.

Reload your security appliance to start the ASA/PIX version 7 operating system:

 pixfirewall(config)# reload Proceed with reload? [confirm] 

Step 5.

Your security appliance might display the expected benign messages letting you know that it is reformatting the Flash file system and that some old commands are being converted to new commands:

 Old file system detected. Attempting to save data in flash Initializing flashfs... flashfs[7]: Checking block 0...block number was (-23149) flashfs[7]: erasing block 0...done. flashfs[7]: Checking block 1...block number was (-20086) flashfs[7]: erasing block 1...done. INFO: converting 'inspectionprotocol ftp 21' to MPF commands 

Step 6.

After your security appliance has rebooted, you need to show the version to verify that the ASA/PIX version 7 operating system is now running:

 pixfirewall> show version Cisco PIX Security Appliance Software Version 7.0 

Congratulations. At this point, you should have a fully functioning ASA/PIX version 7 image loaded and running on your security appliance.

Upgrading the ASA/PIX Security Appliance to ASDM 5.0

After installing the ASA/PIX version 7 operating system, you need to complete the following steps from Configuration mode (enter the two commands enable and then conf t to get into this mode) to install ASDM 5.0:

Step 1.

Configure your ASA/PIX appliance interface with the following commands:

 pixfirewall(config)# interface Ethernet1 pixfirewall(config)# nameif inside pixfirewall(config)# security-level 100 pixfirewall(config)# ip address 192.168.1.1 255.255.255.0 

Step 2.

Use the ping command to ensure that you still have connectivity between your PC and the security appliance:

 pixfirewall(config)# ping 192.168.1.2 

If you don't have connectivity, you might need to reconfigure your PC and your security appliance to establish a communication path. But if you have followed this procedure step by step, you should be okay.

Step 3.

Now, you are ready to download the ASDM software. Enter the following command on the ASA/PIX Security Appliance in Enable mode:

 pixfirewall(config)# copy tftp://192.168.1.2/asdm50.bin flash 

Note

The filename for the ASDM software might differ from the preceding command.

When prompted for the output filename, use asdm.bin to be consistent with the rest of this book.

You should see exclamation marks displayed on your screen indicating that the file is in the process of downloading.

Step 4.

After the ASDM download has completed, you must configure the ASA/PIX Security Appliance to identify the image name for ASDM. In Enable mode on the security appliance, enter the following command:

 pixfirewall(config)# asdm image asdm.bin 

Step 5.

To enable ASDM to run, you must first enable the web server with the following command:

 pixfirewall(config)# http server enable 

Step 6.

After the HTTP server has started, you must add a command that tells the ASA/PIX Security Appliance what IP address it can access an ASDM session from. To enable your PC to administer your security appliance, enter the following command:

 pixfirewall(config)# http 192.168.1.2 255.255.255.255 inside 

Note

This command allows access only for the PC with the IP address 192.168.1.2.

ASA/PIX Licenses

Before you can use the full functionality of your ASA/PIX Security Appliance, you must ensure that you have a valid license key.

ASA/PIX licenses come in the following basic flavors:

  • Restricted license

  • Unrestricted license

  • 3G Mobile Wireless security services

  • Active/active failover

  • Specialized ASA licenses

Restricted License

The licensing structure on the ASA/PIX Security Appliance is such that you get different functionality with different types of licenses. If you purchase a restricted license, you are limited as to the number of users who can use the security appliance at any one time. When a user goes outbound through the appliance, a table is built called an xlate. The licenses use the number of xlates to enforce the number of users allowed on the PIX. A limited license does not include support for failover. (See Table 3-1 in the next section.)

Unrestricted License

An unrestricted license allows you to pass as many users as you want to the Internet; it also allows failover connectivity to an ASA/PIX Security Appliance with a failover license. This license also allows you to use the maximum number of interfaces and memory available in the security appliance. With more memory, you can support more VPN users.

3G Mobile Wireless Security Services

The 3G Mobile Wireless security services license is a license for security services covering 3G Mobile Wireless deployments that use the General Packet Radio Service (GPRS) Tunneling Protocol standard (GTP). This license also includes advanced GTP inspection services that provide mobile wireless users secure interaction with roaming partners. Refer to the ASA/PIX Security Appliance 7 software description at Cisco.com for more information.

Active/Active Failover

The active/active failover license supports bidirectional state sharing between active/active failover pair members for network environments with asymmetric routing topologies, allowing flows to enter through one Cisco ASA/PIX Security Appliance and exit through the other.

Specialized ASA Licensing

This is a class of licenses to be used specifically for ASA Security Appliance hardware. Refer to the ASA/PIX Security Appliance 7 software description at Cisco.com for more information.

Installing the PIX License Key

Installing an ASA/PIX license key is straightforward. To upgrade a license on PIX 6.3 and above, just follow these steps:

Step 1.

Obtain a valid license that is generated for the serial number of your ASA/PIX Security Appliance.

Caution

If the license is not generated using the serial number on your ASA/PIX Security Appliance, it will not activate the device.

Execute a show version command on your ASA/PIX Security Appliance, and a serial number will be printed in the following format:

 Serial Number: 818273311 

Step 2.

Follow instructions for obtaining a license key from the previous section "Obtain a Valid ASA/PIX version 7 License."

Step 3.

After you have your new key, log on to your ASA/PIX Security Appliance using Access Enable mode. (You do not have to get into Configuration mode.) Enter the following command:

 activation-key <five-tuple license key> 

Step 4.

Enter the command write memory to write the new key to nonvolatile memory.



Securing Your Business with Cisco ASA and PIX Firewalls
Securing Your Business with Cisco ASA and PIX Firewalls
ISBN: 1587052148
EAN: 2147483647
Year: 2006
Pages: 120
Authors: Greg Abelar

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net