Managing Configuration Files
Procedure
Step 1
Step 2
Step 3
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]
What to Do Next
After you have issued the copy 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 the Device to an RCP Server
To copy a startup configuration file or a running configuration file from the device to an RCP server, use the
following commands beginning in privileged EXEC mode:
Procedure
Step 1
Command or Action
enable
Example:
Device> enable
copy system:running-config tftp: [[[//location
]/directory ]/filename ]
Example:
Device# copy system:running-config tftp:
//server1/topdir/file10
copy nvram:startup-config tftp: [[[//location
]/directory ]/filename ]
Example:
Device# copy nvram:startup-config tftp:
//server1/1stdir/file10
Command or Action
enable
Example:
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
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.
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
What to Do Next
293