Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Copies the running configuration file to a TFTP
server.
copy system:running-config tftp: [[[//location
]/directory ]/filename ]
Example:
Step 2
Device# copy system:running-config tftp:
//server1/topdir/file10
Copies the startup configuration file to a TFTP
server.
copy nvram:startup-config tftp: [[[//location
]/directory ]/filename ]
Example:
Step 3
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]
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
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
• Enter your password if prompted.
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
293
Managing Configuration Files
What to Do Next