Uploads the current configuration using the SCP secure protocol. The command prompts for the username and password. Uncommitted changes to the configuration are included.
Note:
After you change the configuration, run the copy running-config startup-config command to save the changes. If you do not save the changes, the device loses them when you reset.
Syntax
copy running-config scpfilename ip
Parameters
Parameter
Description
Possible Values
Default Value
filename
File name to create on the SCP server
ip
IP address of the SCP server
User level
read-write
Context
general
Example
To upload router.cfg to the SCP at IP address 192.168.49.10 using login dan:
Gxxx-001(super)# copy running-config scp c:\config_files\router1.cfg
192.168.49.10
Username: dan
Password: