PurposeCommand or Action
default remote username or password (see Steps
2 and 3).
Device(config)# end
Copies the running configuration or startup
configuration file to the specified location on
the FTP server.
Do one of the following:
Step 6
• copy system:running-config ftp:
[[[//[username [:password
]@]location]/directory ]/filename ] or
• copy nvram:startup-config ftp:
[[[//[username [:password
]@]location]/directory ]/filename ]
Example:
Device# copy system:running-config ftp:
Examples
Storing a Running Configuration File on an FTP Server
The following example copies the running configuration file named runfile-confg to the netadmin1 directory
on the remote host with an IP address of 172.16.101.101:
Device# copy system:running-config ftp://netadmin1:mypass@172.16.101.101/runfile-confg
Write file runfile-confg on host 172.16.101.101?[confirm]
Building configuration...[OK]
Connected to 172.16.101.101
Device#
Storing a Startup Configuration File on an FTP Server
The following example shows how to store a startup configuration file on a server by using FTP to copy the
file:
Device# configure terminal
Device(config)# ip ftp username netadmin2
Device(config)# ip ftp password mypass
Device(config)# end
Device# copy nvram:startup-config ftp:
Remote host[]? 172.16.101.101
Name of configuration file to write [start-confg]?
Write file start-confg on host 172.16.101.101?[confirm]
![OK]
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
296
Managing Configuration Files
Examples