Table Of Contents
Upgrading the FWSM from Release 2.x to 3.1
Backing up the Single Mode Configuration or Multiple Mode System Configuration
Backing Up a Context Configuration in Flash Memory
Backing Up a Context Configuration within a Context
Copying the Configuration from the Terminal Display
Upgrading Maintenance Software to Release 2.1(2)
Checking the Maintenance Software Release
Upgrading the Maintenance Software
Upgrading the Application Software
Upgrading Application Software from the FWSM CLI
Upgrading Application Software Using the Maintenance Partition
Removing Unused Commands from the System Configuration
Single Mode Sample Configurations
Multiple Mode Sample Configurations
Restoring the FWSM to Release 2.x
Downloading Release 2.x to the Current Application Partition
Booting Release 2.x from the Backup Application Partition
Installing Release 2.x and Booting in to the Backup Application Partition
Changed and Deprecated Commands
Context-Sensitive Help Changes
Documentation Terminology Changes
Application Inspection (fixup Command)
Mixed Routed and Transparent Firewall Mode
Transparent Mode Bridge Groups
Public Key Infrastructure (PKI) Commands
Summary of Changes in the VPN Commands
Cisco Product Security Overview
Reporting Security Problems in Cisco Products
Obtaining Technical Assistance
Cisco Technical Support Website
Definitions of Service Request Severity
Obtaining Additional Publications and Information
Upgrading the Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module from Release 2.x to Release 3.1
This guide describes how to upgrade from FWSM Release 2.2 or 2.3 to FWSM Release 3.1. This guide describes the features and commands that have changed or been deprecated in FWSM Release 3.1.
This guide is written for FWSM administrators with an understanding of FWSM CLI commands and features and with experience configuring the FWSM. This document includes the following sections:
•
Upgrading the FWSM from Release 2.x to 3.1
•
Restoring the FWSM to Release 2.x
•
Changed and Deprecated Commands
New Features
This section includes a brief summary of new features in Release 3.1. For more information on these features and the accompanying CLI commands, see the following documents:
•
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Command Reference
•
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
•
Online Help for ASDM (previously known as PDM for FWSM)
FWSM Release 3.1 introduces the following new functionality and features:
•
AAA
–
Support for simultaneous RADIUS accounting servers
–
Accounting for management traffic
–
Configuring an FTP authentication challenge
–
MAC address-based AAA exemption
–
Cut-through proxy authentication using the local database
•
Access Lists
–
Time-based ACEs
–
Modular Policy Framework
–
Access list editing with line numbers
–
Using the interface keyword as an address in access lists
•
NAT
–
Configurable NAT control
–
Overlapping static NAT configuration
•
Inspection Engines (Fixups)
–
TCP stream assembly for application inspection
–
Persistent TCP connections and TCP pools for URL filtering
–
Configurable application inspection engines
–
ESMTP application inspection
–
FTP command filtering
–
ActiveX and Java filtering
–
Enhanced PPTP PAT and application inspection
•
VoIP Inspection Engines (Fixups)
–
Enhanced H.323 application inspection (for T.38 and GKRCS)
–
MGCP NAT
–
GTP application inspection
–
SIP instant messaging application inspection
–
TAPI/CTIQBE application inspection
–
Skinny video support
•
Application Firewall
–
Enhanced HTTP application inspection
–
Detecting and blocking applications and attacks tunneled over HTTP
–
RFC compliance checking
–
HTTP command filtering
–
MIME type filtering
–
Checking for minimum and maximum size of the HTTP message, header length and URI
–
Content validation
–
HTTP message filtering based on keywords
•
High Availability
–
Active/Active failover
–
Preempt option for Active/Active failover
•
Scalability
–
Support for 250 security contexts
–
Save all context configurations from the system execution space
–
Increasing the number of global statements to 4 K
–
Enhanced access list memory
–
Sessions for non-TCP/UDP packets
–
Support up to ten DHCP relay statements
–
Support for 80 HTTPS sessions to ASDM
•
Network Integration
–
Mixed routed and transparent mode support for contexts
–
Multiple pairs of interfaces in transparent mode
–
Private VLAN support
–
Enabling DHCP relay on specific interfaces
•
Core IP Enhancements
–
IPv6
–
Asymmetric routing support
–
Multicast support in single mode
–
OSPF neighbor support
•
Monitoring and Management
–
SSHv2
–
Ping, logging, and memory management enhancements
–
Syslog server failure policy for TCP transport
–
4K certificate support
–
SNMPv2c
–
Additional MIBs
–
Enhanced parser and CLI
–
Extra information in the command prompt
–
Debug message timestamp
–
System execution space logging to external syslog server using the admin context
–
ACE information as part of message 106023
Upgrading the FWSM from Release 2.x to 3.1
This section describes how to upgrade the FWSM to 3.1, and includes the following topics:
•
Upgrading Maintenance Software to Release 2.1(2)
•
Upgrading the Application Software
•
Removing Unused Commands from the System Configuration
Upgrade Requirements
•
You must install maintenance software Release 2.1(2) before you upgrade to FWSM Release 3.1. See the "Upgrading Maintenance Software to Release 2.1(2)" section for more information.
•
Client PC operating system and browser requirements for ASDM Version 5.0F are listed in Table 1.
Table 1 Operating System and Browser Requirements for ASDM Version 5.0
Operating System Browser Other RequirementsWindows1
Windows 2000 (Service Pack 4) or Windows XP operating systems
Internet Explorer 6.0 with Java Plug-in 1.4.2 or 1.5.0
Note
HTTP 1.1—Settings for Internet Options Advanced HTTP 1.1 should use HTTP 1.1 for both proxy and non-proxy connections.
Netscape 7.1/7.2 with Java Plug-in 1.4.2 or 1.5.0
SSL Encryption Settings—All available encryption options are enabled for SSL in the browser preferences.
Sun Solaris
Sun Solaris 8 or 9 running CDE window manager
Mozilla 1.7.3 with Java Plug-in 1.4.2 or 1.5.0
Linux
Red Hat Linux 9.0 or Red Hat Linux WS, Version 3 running GNOME or KDE
Mozilla 1.7.3 with Java Plug-in 1.4.2 or 1.5.0
1 ASDM is not supported on Windows 3.1, 95, 98, ME or Windows NT4.
Backing up the Configuration
This section describes how to back up your configuration before beginning the upgrade procedure. You might need the original configuration if you have to restore Release 2.x. See the "Restoring the FWSM to Release 2.x" section.
Note
If you are running failover, be sure to back up the configuration from both units; be sure to save the synchronized configuration on the secondary unit (use the write memory command) so that it can run independently with a full configuration.
To back up your configuration, use the following methods:
•
Backing up the Single Mode Configuration or Multiple Mode System Configuration
•
Backing Up a Context Configuration in Flash Memory
•
Backing Up a Context Configuration within a Context
•
Copying the Configuration from the Terminal Display
Note
If you have contexts on an external server, make copies of the contexts on the server.
Backing up the Single Mode Configuration or Multiple Mode System Configuration
In single context mode or from the system configuration in multiple mode, you can copy the startup configuration or running configuration to an external server or to the local Flash memory:
•
To copy to a TFTP server, enter the following command:
hostname# copy {startup-config | running-config} tftp://server[/path]/filename•
To copy to a FTP server, enter the following command:
hostname# copy {startup-config | running-config} ftp://[user[:password]@]server[/path]/filename•
To copy to local Flash memory, enter the following command:
hostname# copy {startup-config | running-config} disk:[path/]filenameBe sure the destination directory exists. If it does not exist, first create the directory using the mkdir command.
Backing Up a Context Configuration in Flash Memory
In multiple context mode, copy context configurations that are on the local Flash memory by entering one of the following commands in the system execution space:
•
To copy to a TFTP server, enter the following command:
hostname# copy disk:[path/]filename tftp://server[/path]/filename•
To copy to a FTP server, enter the following command:
hostname# copy disk:[path/]filename ftp://[user[:password]@]server[/path]/filename•
To copy to local Flash memory, enter the following command:
hostname# copy disk:[path/]filename disk:[path/]newfilenameBe sure the destination directory exists. If it does not exist, first create the directory using the mkdir command.
For example, copy the admin.cfg file to a 2_3 subdirectory:
hostname# mkdir 2_3Create directory filename [2_3]?Created dir disk:/2_3hostname# copy disk:admin.cfg disk:2_3/admin.cfgBacking Up a Context Configuration within a Context
In multiple context mode, from within a context, you can perform the following backups:
•
To copy the running configuration to the startup configuration server (connected to the admin context), enter the following command:
hostname/contexta# copy running-config startup-config•
To copy the running configuration to a TFTP server connected to the context network, enter the following command:
hostname/contexta# copy running-config tftp:/server[/path]/filenameCopying the Configuration from the Terminal Display
To print the configuration to the terminal, enter the following command:
hostname# show running-configCopy the output from this command, then paste the configuration in to a text file.
Upgrading Maintenance Software to Release 2.1(2)
You must install maintenance software Release 2.1(2) or later before you upgrade to FWSM Release 3.1. The latest maintenance release also works with FWSM Release 2.x, so if you later have to restore the FWSM to Release 2.x, this procedure will not prevent it.
Note
If you are running failover, be sure to upgrade the maintenance software on both units.
This section includes the following topics:
•
Checking the Maintenance Software Release
•
Upgrading the Maintenance Software
Checking the Maintenance Software Release
To determine the maintenance software release, boot in to the maintenance partition and view the release by performing the following steps:
Step 1
If necessary, end the FWSM session by entering the following command:
hostname# exitLogoff[Connection to 127.0.0.31 closed by foreign host]Router#You might need to enter the exit command multiple times if you are in a configuration mode.
Step 2
To boot the FWSM into the maintenance partition, enter the command for your operating system at the switch prompt:
•
For Cisco IOS, enter the following command:
Router# hw-module module mod_num reset cf:1•
For Catalyst operating system software, enter the following command:
Console> (enable) reset mod_num cf:1Step 3
To session in to the FWSM, enter the command for your operating system:
•
Cisco IOS software
Router# session slot number processor 1•
Catalyst operating system software
Console> (enable) session module_numberStep 4
To log in to the FWSM maintenance partition as root, enter the following command:
Login: rootStep 5
Enter the password at the prompt:
Password:By default, the password is cisco.
The FWSM shows the version when you first log in, as in the following example:
Maintenance image version: 2.1(2)Step 6
To view the maintenance version after you log in, enter the following command:
root@localhost# show versionMaintenance image version: 2.1(2)mp.2-1-2.bin : Thu Nov 18 11:41:36 PST 2004 : integ@kplus-build-lx.cisco.comLine Card Number :WS-SVC-FWM-1Number of Pentium-class Processors : 2BIOS Vendor: Phoenix Technologies Ltd.BIOS Version: 4.0-Rel 6.0.9Total available memory: 1004 MBSize of compact flash: 123 MBDaughter Card Info: Number of DC Processors: 3Size of DC Processor Memory (per proc): 32 MB
Upgrading the Maintenance Software
To upgrade the maintenance software, perform the following steps. If you have a failover pair, upgrade the standby unit first, and then the active unit. The standby unit will become active while the formerly active unit is upgrading.
Step 1
Download the maintenance software from Cisco.com at the following URL:
http://www.cisco.com/pcgi-bin/tablebuild.pl/cat6000-serv-maint
Put the software on a TFTP, HTTP, or HTTPS server that is accessible from the FWSM admin context (if you are using multiple context mode).
Step 2
If required, log out of the maintenance partition and reload the application partition by performing the following steps:
a.
Log out of the maintenance partition by entering the following command:
root@localhost# logoutb.
If required, reboot the module into the application partition by entering the command for your operating system:
–
For Cisco IOS, enter the following command:
Router# hw-module module mod_num reset–
For Catalyst operating system software, enter the following command:
Console> (enable) reset mod_numc.
To session in to the FWSM, enter the command for your operating system:
–
Cisco IOS software
Router# session slot number processor 1–
Catalyst operating system software
Console> (enable) session module_numberThe default password is cisco (see the password command). In single mode, you can configure Telnet authentication, so the username and password depends on your configuration.
Step 3
To upgrade the maintenance partition software, enter one of the following commands, directed to the appropriate download server. For multiple context mode, you must be in the system execution space.
•
To download the maintenance software from a TFTP server, enter the following command:
hostname# upgrade-mp tftp[://server[:port][/path]/filename]You are prompted to confirm the server information. If you do not supply it in the command, you can enter it in response to the prompt.
•
To download the maintenance software from an HTTP or HTTPS server, enter the following command:
hostname# upgrade-mp http[s]://[user[:password]@]server[:port][/path]/filenamePasswords for the root and guest accounts of the maintenance partition are retained after the upgrade.
The following example shows the prompts for the TFTP server information:
hostname# upgrade-mp tftpAddress or name of remote host [127.0.0.1]? 10.1.1.5Source file name [cdisk]? mp.2-1-0-3.bin.gzcopying tftp://10.1.1.5/mp.2-1-0-3.bin.gz to flash[yes|no|again]? yes!!!!!!!!!!!!!!!!!!!!!!!Received 1695744 bytes.Maintenance partition upgraded.Step 4
Reload the FWSM to load the new maintenance software by entering the following command:
hostname# reloadAlternatively, you can log out of the FWSM in preparation for booting in to the maintenance partition; from the maintenance partition, you can install application software to both application partitions. To end the FWSM session, enter the following command:
hostname# exitLogoff[Connection to 127.0.0.31 closed by foreign host]Router#You might need to enter the exit command multiple times if you are in a configuration mode.
See the "Downloading Application Software Using the Maintenance Partition" section on page 12 to reload the FWSM into the maintenance partition.
Upgrading the Application Software
To upgrade the FWSM application software, use one of the following methods:
•
Upgrading Application Software from the FWSM CLI
The benefit of this method is you do not have to boot in to the maintenance partition; instead you log in as usual and copy the new software.
This method supports downloading from a TFTP, FTP, HTTP, or HTTPS server.
You cannot copy software to the other application partition. You might want to copy to the other partition if you want to keep the old version of software as a backup in the current partition.
You must have an operational configuration with network access. For multiple context mode, you need to have network connectivity through the admin context.
•
Upgrading Application Software Using the Maintenance Partition
The benefit of this method is you can copy software to both application partitions, and you do not have to have an operational network on the application configuration. You just need to configure some routing parameters in the maintenance partition so you can reach the server on VLAN 1. For example, you can leave Release 2.x on one partition and install 3.1 on the other partition, in case you need to restore the FWSM to 2.x.
The disadvantage is that you need to boot in to the maintenance partition, which might not be convenient if you have active connections.
This method supports downloading from an FTP server only.
Note
If you do not have an activation key entered (0x000) before upgrading, then when you enter the show version command after upgrading, you see the following message:
The running activation key is not validThis cosmetic issue can be ignoredl; the FWSM is not affected.
Upgrading Application Software from the FWSM CLI
When you log in to the FWSM during normal operation, you can copy the application software to the current application partition from a TFTP, FTP, HTTP, or HTTPS server.
Note
If you are running failover, be sure to upgrade the application software on both units.
To upgrade software to the current application partition from an FTP, TFTP, or HTTP(S) server, perform the following steps:
Step 1
Enter the following command to confirm access to the selected FTP, TFTP, or HTTP(S) server:
hostname# ping ip_addressStep 2
To copy the application software, enter one of the following commands, directed to the appropriate download server.
•
To copy from a TFTP server, enter the following command:
hostname# copy tftp://server[/path]/filename flash:The flash keyword refers to the application partition on the FWSM. You can only copy an image and ASDM software to the flash partition. Configuration files are copied to the disk partition.
•
To copy from an FTP server, enter the following command:
hostname# copy ftp://[user[:password]@]server[/path]/filename flash:•
To copy from an HTTP or HTTPS server, enter the following command:
hostname# copy http[s]://[user[:password]@]server[:port][/path]/filename flash:For example, to copy the application software from an FTP server, enter the following command:
hostname# copy ftp://10.94.146.80/tftpboot/bnair/cdisk flash:copying ftp://10.94.146.80/tftpboot/bnair/cdisk to flash:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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failover pair, enter the following command:
hostname# reloadProceed with reload? [confirm]At the `Proceed with reload?' prompt, press Enter to confirm the command.
Rebooting...•
If you have a failover pair, perform the following steps:
a.
Ensure that the secondary unit has a configuration saved to memory by entering the following command:
secondary(config)# write memoryThe saved configuration will load when you restart the secondary unit. This step is useful if the primary unit fails to start up correctly.
For multiple context mode, if the primary unit has context configurations in Flash memory, be sure to enter the write memory command in each primary unit context; the context will automiticallly be copied to the secondary unit Flash memory.
b.
To load the new software, reload the primary unit and then reload the secondary unit before the primary unit comes online. Enter the following command separately on each unit:
primary(config)# reloadProceed with reload? [confirm]At the `Proceed with reload?' prompt, press Enter to confirm the command.
Rebooting...secondary(config)# reloadProceed with reload? [confirm]While the units reload, all active connections are terminated. We recommend reloading both units at the same time because if both units are running, and the major version number does not match (2.x vs. 3.1), then both units become active. Two active units can cause networking problems.
After the upgrade to FWSM Release 3.1 is completed, the startup configuration will still be a Release 2.x configuration, but the running configuration will be the newly migrated 3.1 configuration. Once the FWSM is running the 3.1 image, you can no longer enter the Release 2.x commands.
Until you save the new configuration to Flash memory, the software will convert the old startup configuration automatically every time the FWSM reboots.
Step 4
To save the converted Release 3.1 configuration to Flash memory, enter the following command:
hostname# write memoryIn multiple context mode, enter the new write memory all command from the system execution space. This command saves all context configurations to which the FWSM has write access.
If the context configurations are on an HTTP/HTTPS server, or you otherwise do not have write access, use the show running-config command for each context and copy the new configuration so you can later update the context configuration on the server.
Upgrading Application Software Using the Maintenance Partition
You must install maintenance software Release 2.1(2) before you upgrade to FWSM Release 3.1.
If you log in to the maintenance partition, you can install application software to either application partition (cf:4 or cf:5).
Note
The FWSM maintenance partition can only use VLAN 1 on the switch. The FWSM does not support 802.1Q tagging on VLAN 1.
To install application software from an FTP server while logged in to the maintenance partition, perform the following steps.
Note
If you have a failover pair, upgrade the primary unit first, but then be sure to start the upgrade on the secondary unit before the primary unit comes online with the new version. If both units are running, and the major version number does not match (2.x vs. 3.1), then both units become active. Two active units can cause networking problems.
Step 1
Each application partition has its own startup configuration, so you need to make the 2.x configuration available to copy to the 3.1 application partition. You can either copy it to an available TFTP, FTP, or HTTP(S) server, or you can enter the show running-config command and cut and paste the configuration from the terminal. See the "Backing up the Single Mode Configuration or Multiple Mode System Configuration" section.
Step 2
If necessary, end the FWSM session by entering the following command:
hostname# exitLogoff[Connection to 127.0.0.31 closed by foreign host]Router#You might need to enter the exit command multiple times if you are in a configuration mode.
Step 3
To view the current (2.x) boot partition, enter the command for your operating system. Note the current boot partition so you can set a new default boot partition.
•
Cisco IOS software
Router# show boot device [mod_num]For example:
Router# show boot device[mod:1 ]:[mod:2 ]:[mod:3 ]:[mod:4 ]: cf:4[mod:5 ]: cf:4[mod:6 ]:[mod:7 ]: cf:4[mod:8 ]:[mod:9 ]:•
Catalyst operating system software
Console> (enable) show boot device mod_numFor example:
Console> (enable) show boot device 4Device BOOT variable = cf:4Step 4
To change the default boot partition to the backup, enter the command for your operating system:
•
Cisco IOS software
Router(config)# boot device module mod_num cf:{4 | 5}•
Catalyst operating system software
Console> (enable) set boot device cf:{4 | 5} mod_numStep 5
To boot the FWSM into the maintenance partition, enter the command for your operating system at the switch prompt:
•
For Cisco IOS, enter the following command:
Router# hw-module module mod_num reset cf:1•
For Catalyst operating system software, enter the following command:
Console> (enable) reset mod_num cf:1Step 6
To session in to the FWSM, enter the command for your operating system:
•
Cisco IOS software
Router# session slot number processor 1•
Catalyst operating system software
Console> (enable) session module_numberStep 7
To log in to the FWSM maintenance partition as root, enter the following command:
Login: rootPassword:By default, the password is cisco.
Step 8
To set network parameters, perform the following steps:
a.
To assign an IP address to the maintenance partition, enter the following command:
root@localhost# ip address ip _address netmaskThis address is the address for VLAN 1, which is the only VLAN used by the maintenance partition.
b.
To assign a default gateway to the maintenance partition, enter the following command:
root@localhost# ip gateway ip_addressc.
(Optional) To ping the FTP server to verify connectivity, enter the following command:
root@localhost# ping ftp_addressStep 9
To download the application software from the FTP server, enter the following command:
root@localhost# upgrade ftp://[user[:password]@]server[/path]/filename cf:{4 | 5}cf:4 and cf:5 are the application partitions on the FWSM. Install the new software to the backup partition.
Follow the screen prompts during the upgrade.
Step 10
To log out of the maintenance partition, enter the following command:
root@localhost# logoutStep 11
To reboot the FWSM into the 3.1 application partition (that you set as the default in Step 4), enter the command for your operating system:
•
For Cisco IOS, enter the following command:
Router# hw-module module mod_num reset•
For Catalyst operating system software, enter the following command:
Console> (enable) reset mod_numStep 12
To session in to the FWSM, enter the command for your operating system:
•
Cisco IOS software
Router# session slot number processor 1•
Catalyst operating system software
Console> (enable) session module_numberBy default, the password to log in to the FWSM is cisco (set by the password command). If this partition does not have a startup configuration, the default password is used.
Step 13
Enter privileged EXEC mode using the following command:
hostname> enableThe default password is blank (set by the enable password command). If this partition does not have a startup configuration, the default password is used.
Step 14
Each application partition has its own startup configuration, so you need to copy the current 2.x configuration to the 3.1 application partition using one of the following methods:
•
If you paste the 2.x configuration at the command line, enter the following command to save it:
hostname# write memory•
To copy from a TFTP server, enter the following command:
hostname# copy tftp://server[/path]/filename startup-config•
To copy from an FTP server, enter the following command:
hostname# copy ftp://[user[:password]@]server[/path]/filename startup-config•
To copy from an HTTP or HTTPS server, enter the following command:
hostname# copy http[s]://[user[:password]@]server[:port][/path]/filename startup-configStep 15
The default context mode is single mode, so if you are running in multiple context mode, set the mode to multiple in the 3.1 application partition using the following command:
hostname# configuration terminalhostname(config)# mode multipleWARNING: This command will change the behavior of the deviceWARNING: This command will initiate a RebootProceed with change mode? [confirm]Confirm to reload the FWSM.
Note
Be sure to back up your configurations because the switch to mutiple mode can overwrite the default configurations.
Step 16
If you did not change the mode and reload in Step 15, then reload the FWSM using the following command:
hostname# reloadAfter you reload, the startup configuration will still be a Release 2.x configuration, but the running configuration will be the newly migrated 3.1 configuration. Once the FWSM is running the 3.1 image, you can no longer enter the Release 2.x commands.
Until you save the new configuration to Flash memory, the software will convert the old startup configuration automatically every time the FWSM reboots.
Step 17
To save the converted Release 3.1 configuration to Flash memory, enter the following command:
hostname# write memoryIn multiple context mode, enter the write memory all command from the system execution space. This command saves all context configurations to which the FWSM has write access.
If the context configurations are on an HTTP/HTTPS server, or you otherwise do not have write access, use the show running-config command for each context and copy the new configuration so you can later update the context configuration on the server.
Removing Unused Commands from the System Configuration
Most commands are converted automatically when you load Release 3.1. Some deprecated commands are left in your configuration so you can decide how to manage the changes. For example, you can no longer configure any logging commands in the system execution space. Instead, system messages (including failover messages) are output to the admin context. However, logging commands are not automatically removed from the system configuration.
When the FWSM loads deprecated commands, you see error messages; however, they do not affect the running of your configuration. To clean up your configuration, perform the following steps:
Step 1
To view deprecated commands, enter the following command:
hostname# show startup-config errorsStep 2
To remove the commands, enter the no form of the command.
Upgrading from PDM to ASDM
To upgrade from PDM 4.x to ASDM 5.0F, which runs with application software Release 3.1, see the Cisco ASDM Release Notes.
Upgrade Examples
This section includes sample Release 2.3 configurations and converted Release 3.1 configurations. This section contains the following topics:
•
Single Mode Sample Configurations
•
Multiple Mode Sample Configurations
Single Mode Sample Configurations
The following is sample output from the show version command for a system running FWSM Release 2.3 before upgrading to FWSM Release 3.1:
hostname(config)# show versionFWSM Firewall Version 2.3(2)9Compiled on Thu 14-Jul-05 01:30 by daleckiFWSM up 28 mins 48 secsHardware: WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000 MHzFlash V1.01 SMART ATA FLASH DISK @ 0xc321, 20MB0: gb-ethernet0: irq 51: gb-ethernet1: irq 72: ethernet0: irq 11Licensed Features:Failover: EnabledVPN-DES: EnabledVPN-3DES: EnabledMaximum Interfaces: 256Cut-through Proxy: EnabledGuards: EnabledURL-filtering: EnabledThroughput: UnlimitedISAKMP peers: UnlimitedSecurity Contexts: 2This machine has an Unrestricted (UR) license.Serial Number: SAD062302U5Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000Configuration last modified by enable_15 at 06:36:55 Aug 24 2005Table 2 shows the unmodified startup configuration and the converted running configuration after upgrading to Release 3.1.
The following is sample output from the show version command for a system after upgrading to FWSM Release 3.1:
hostname(config)# show versionFWSM Firewall Version 3.1(0)78Compiled on Tue 23-Aug-05 23:54 by bnairFWSM up 20 mins 17 secsHardware: WS-SVC-FWM-1, 1024 MB RAM, CPU Pentium III 1000 MHzFlash SMART ATA FLASH DISK @ 0xc321, 20MBDisk Partition: ATA Compact Flash, 57MB0: Int: Not licensed : irq 51: Int: Not licensed

