Downloading a file to a specific location, Er types, see the – Cisco ASA 5505 User Manual

Page 1837

Advertising
background image

81-3

Cisco ASA 5500 Series Configuration Guide using the CLI

Chapter 81 Managing Software and Configurations

Downloading Software or Configuration Files to Flash Memory

Downloading a File to a Specific Location

This section describes how to download the application image, ASDM software, a configuration file, or
any other file that needs to be downloaded to flash memory. To download a file to the running or startup
configuration, see the

“Downloading a File to the Startup or Running Configuration” section on

page 81-3

.

For information about installing the Cisco SSL VPN client, see the Cisco AnyConnect VPN Client
Administrator Guide
. For information about installing Cisco Secure Desktop on the ASA, see the Cisco
Secure Desktop Configuration Guide for Cisco ASA 5500 Series Administrators
.

To configure the ASA to use a specific application image or ASDM image if you have more than one
installed, or have installed them in external flash memory, see the

“Configuring the Application Image

and ASDM Image to Boot” section on page 81-4

.

To configure the ASA to use a specific configuration as the startup configuration, see the

“Configuring

the File to Boot as the Startup Configuration” section on page 81-5

.

For multiple context mode, you must be in the system execution space.

To download a file to flash memory, see the following commands for each download server type:

To copy from a TFTP server, enter the following command:

hostname# copy tftp://server[/path]/filename {disk0:/ | disk1:/}[path/]filename

To copy from an FTP server, enter the following command:

hostname# copy ftp://[user[:password]@]server[/path]/filename {disk0:/ |

disk1:/

}[path/]filename

To copy from an HTTP or HTTPS server, enter the following command:

hostname# copy http[s]://[user[:password]@]server[:port][/path]/filename {disk0:/ |

disk1:/

}[path/]filename

To copy from an SMB server, enter the following command:

hostname# copy smb://[user[:password]@]server[/path]/filename {disk0:/ |

disk1:/

}[path/]filename

To use secure copy, first enable secure shell (SSH), and then enter the following command:

hostname# ssh scopy enable

From a Linux client, enter the following command:

scp -v -pw

password filename username@asa_address

The -v is for verbose, and if -pw is not specified, you will be prompted for a password.

Downloading a File to the Startup or Running Configuration

You can download a text file to the running or startup configuration from a TFTP, FTP, SMB, or HTTP(S)
server, or from the flash memory.

To copy a file to the startup configuration or running configuration, enter one of the following commands
for the appropriate download server:

Advertising