copy startup-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 not 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 startup-config ftp filename {<ip-addr>|<IPv6–addr>[%zone-id]|<hostname>}

Parameters

Parameter

Description

Possible Values

Default Value

filename

File name with full path

string

ip-addr

IPv4 address of the server

IPv6-addr

IPv6 address of the server

%zone-id

VLAN number

1 — 4,090

hostname

Hostname of the 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:

Gxxx-001(super)# copy startup-config ftp Gxxx.cfg 135.64.10.33

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

Gxxx-001(super)# copy startup-config ftp Gxxx.cfg 2001:db8::c0a8:310a

To upload the current configuration to Gxxx.cfg on the FTP server with the name my.ftp.server:

Gxxx-001(super)# copy startup-config ftp Gxxx.cfg my.ftp.server