Downloading and Backing Up Configuration Files
•
•
•
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:letmein@209.165.200.227/configs/startup.cfg;type=an
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
Downloading a Context Configuration to Disk
To copy context configurations to disk, including the admin configuration, enter one of the following
commands for the appropriate download server from the system execution space:
•
•
•
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
24-16
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[;type=xx]
{startup-config | running-config}
The type can be one of the following keywords:
–
ap—ASCII passive mode
–
an—ASCII normal mode
–
ip—(Default) Binary passive mode
in—Binary normal mode
–
You can use ASCII or binary for configuration files.
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 a TFTP server, enter the following command:
hostname# copy tftp://server[/path]/filename disk:[path/]filename
To copy from a FTP server, enter the following command:
hostname# copy ftp://[user[:password]@]server[/path]/filename disk:[path/]filename
To copy from an HTTP or HTTPS server, enter the following command:
hostname# copy http[s]://[user[:password]@]server[:port][/path]/filename
disk:[path/]filename
Chapter 24
Managing Software, Licenses, and Configurations
OL-20748-01