copy running-config ftp

Last Updated : Nov 06, 2012 |

Uploads the current configuration to a file on an FTP server. The command prompts for the username and password. Uncommitted changes to the configuration are included.

Note:

After you change the configuration, run the copy running-config startup-config command to save the changes. If you do not save the changes, the device loses them when you reset.

Syntax

copy running-config ftp filename {<ip-addr>|<IPv6–addr>[%zone-id]|<hostname>}

Parameters

Parameter

Description

Possible Values

Default Value

filename

File name to create on the FTP server

ip-addr

IPv4 address of the FTP server

IPv6-addr

IPv6 address of the FTP server

%zone-id

VLAN number

1 — 4,090

hostname

Hostname of the FTP server

User level

read-write

Context

general

Example

To upload the current configuration to Gxxx.cfg on the ftp server at IP address 135.64.10.33 using login dan:

Gxxx-001(super)# copy running-config ftp c:\config_files\router1.cfg
135.64.10.33
Username: dan
Password:

To upload the current configuration to Gxxx.cfg on the ftp server at IP address 2001:db8::c0a8:310a using login dan:

Gxxx-001(super)# copy running-config ftp c:\config_files\router1.cfg
2001:db8::c0a8:310a
Username: dan
Password:

To upload the current configuration to Gxxx.cfg on the ftp server at with the name my.ftp.server using login dan:

Gxxx-001(super)# copy running-config ftp c:\config_files\router1.cfg
my.ftp.server
Username: dan
Password: