cisco IOS — Copying a Configuration File from the Device to an RCP Server

Procedure 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 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 system:running-config tftp: [[[//location ]/directory ]/filename ] Example: Device# copy system:running-config tftp: //server1/topdir/file10 Copies the running configuration file to a TFTP server. Step 3 copy nvram:startup-config tftp:

[[[//location ]/directory ]/filename ] Example: Device# copy nvram:startup-config tftp: //server1/1stdir/file10 Copies the startup configuration file to a TFTP server. Command or Action Purpose Step 1 enable Enables privileged EXEC mode. Managing Configuration Files 11