What to Do Next After you have issued the copy EXEC command, you may be prompted for additional information or for confirmation of the action. The prompt displayed depends on how much information you provide in the copy command and the current setting of the file prompt global configuration command. 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: Procedure 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 Managing Configuration Files What to Do Next Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 copy tftp: [[[//location]/directory]/filename] system:running-config Example: Device# copy tftp://server1/dir10/datasource system:running-config Copies a configuration file from a TFTP server to the running configuration. Step 3 copy tftp: [[[//location]/directory]/filename] nvram:startup-config Example: Device# copy tftp://server1/dir10/datasource nvram:startup-config Copies a configuration file from a TFTP server to the startup configuration.
Step 4 copy tftp: [[[//location]/directory]/filename]flash-[n]:/directory/startup-config Example: Device# copy tftp://server1/dir10/datasource flash:startup-config Copies a configuration file from a TFTP server to the startup configuration. Managing Configuration Files 15