Managing Configuration Files
Note
Some specific commands might not get saved to NVRAM. You need to enter these commands again
if you reboot the machine. These commands are noted in the documentation. We recommend that
you keep a list of these settings so that you can quickly reconfigure your device after rebooting.
Copying a Configuration File from the Device to a TFTP Server
To copy configuration information on a TFTP network server, complete the tasks in this section:
SUMMARY STEPS
1. enable
2. copy system:running-config tftp: [[[//location ]/directory ]/filename ]
3. copy nvram:startup-config tftp: [[[//location ]/directory ]/filename ]
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
copy system:running-config tftp: [[[//location ]/directory
]/filename ]
Example:
Device# copy system:running-config tftp:
//server1/topdir/file10
Step 3
copy nvram:startup-config tftp: [[[//location ]/directory
]/filename ]
Example:
Device# copy nvram:startup-config tftp:
//server1/1stdir/file10
Examples
The following example copies a configuration file from a device to a TFTP server:
Device# copy system:running-config tftp://172.16.2.155/tokyo-confg
Write file tokyo-confg on host 172.16.2.155? [confirm] Y
Writing tokyo-confg!!! [OK]
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
Copying a Configuration File from the Device to a TFTP Server
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Copies the running configuration file to a TFTP server.
Copies the startup configuration file to a TFTP server.
153