Copying a Configuration File from a TFTP Server to the Device
Copying a Configuration File from a TFTP Server to the Device
To copy a configuration file from a TFTP server to the device, complete the tasks in this section:
SUMMARY STEPS
1. enable
2. copy tftp: [[[//location]/directory]/filename] system:running-config
3. copy tftp: [[[//location]/directory]/filename] nvram:startup-config
4. copy tftp: [[[//location]/directory]/filename]flash-[n]:/directory/startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
copy tftp: [[[//location]/directory]/filename]
system:running-config
Example:
Device# copy tftp://server1/dir10/datasource
system:running-config
Step 3
copy tftp: [[[//location]/directory]/filename]
nvram:startup-config
Example:
Device# copy tftp://server1/dir10/datasource
nvram:startup-config
Step 4
copy tftp:
[[[//location]/directory]/filename]flash-[n]:/directory/startup-config
Example:
Device# copy tftp://server1/dir10/datasource
flash:startup-config
Examples
In the following example, the software is configured from the file named tokyo-confg at IP
address 172.16.2.155:
Device# copy tftp://172.16.2.155/tokyo-confg system:running-config
Configure using tokyo-confg from 172.16.2.155? [confirm] Y
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
194
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Copies a configuration file from a TFTP server to the
running configuration.
Copies a configuration file from a TFTP server to the startup
configuration.
Copies a configuration file from a TFTP server to the startup
configuration.
Managing Configuration Files