Configuring the application image – Cisco ASA 5505 User Manual

Page 1838

Advertising
background image

81-4

Cisco ASA 5500 Series Configuration Guide using the CLI

Chapter 81 Managing Software and Configurations

Configuring the Application Image and ASDM Image to Boot

Note

When you copy a configuration to the running configuration, you merge the two configurations. A merge
adds any new commands from the new configuration to the running configuration. If the configurations
are the same, no changes occur. If commands conflict or if commands affect the running of the context,
then the effect of the merge depends on the command. You might get errors, or you might have
unexpected results.

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

hostname# copy tftp://server[/path]/filename {startup-config | running-config}

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

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

running-config

}

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

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

{startup-config | running-config}

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

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

running-config

}

To copy from flash memory, enter the following command:

hostname# copy {disk0:/ | disk1:/}[path/]filename {startup-config | running-config}

For example, to copy the configuration from a TFTP server, enter the following command:

hostname# copy tftp://209.165.200.226/configs/startup.cfg startup-config

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

hostname# copy ftp://admin:[email protected]/configs/startup.cfg startup-config

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

hostname# copy http://209.165.200.228/configs/startup.cfg startup-config

Configuring the Application Image and ASDM Image to Boot

By default, the ASA boots the first application image that it finds in internal flash memory. It also boots
the first ASDM image it finds in internal flash memory, or if one does not exist in this location, then in
external flash memory. If you have more than one image, you should specify the image that you want to
boot. For the ASDM image, if you do not specify the image to boot, even if you have only one image
installed, then the ASA inserts the asdm image command into the running configuration. To avoid
problems with Auto Update (if configured), and to avoid the image search at each startup, you should
specify the ASDM image that you want to boot in the startup configuration.

To configure the application image to boot, enter the following command:

hostname(config)# boot system url

where url can be one of the following:

{disk0:/ | disk1:/}[path/]filename

Advertising