copy ftp startup-config

Last Updated : Mar 31, 2020 |
Downloads a configuration file from an FTP server. The command prompts for the username and password.
Prolog information
Note:
After you download the configuration file, the new configuration is not active until you reset the device.

Syntax

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

Parameters

Parameter
Description
Possible Values
Default Value
filename
The file name on the FTP server
ip-addr
The IPv4 address of the FTP server
IPv6–addr
IPv6 address of the host
%zone-id
VLAN number
1–4,090
hostname
Hostname of the server

User level

read-write

Context

general

Example

To download the configuration file, g450_sw_41_24_0.bin (for G450 hardware vintage 1.x, 2.x, 3.x) or g450v4_sw_41_24_0.bin (for G450 hardware vintage v4 4.x), from the FTP server at IP address 135.64.10.33 using login
Gxxx-001(super)# copy ftp startup-config <configuration file name> 135.64.10.33
Username: dan
Password:
Gxxx-001(super)# reset
To download the configuration file, g450_sw_41_24_0.bin (for G450 hardware vintage 1.x, 2.x, 3.x) or g450v4_sw_41_24_0.bin (for G450 hardware vintage v4 4.x), from the FTP server at IP address 2001:db8::9531:8699 using login
Gxxx-001(super)# copy ftp startup-config <configuration file name> 2001:db8::9531:8699

Username: dan
Password:
Gxxx-001(super)# reset