
- scp:// — Source URL (scp://[username:password@]host/filename) for a file on an SCP
server from which to download using SSH client.
running-config — The configuration file that contains the current configuration, including any
changes applied in any management sessions since the last reboot.
●
startup-config — The configuration file that is saved to flash memory.
●
Guidelines:
Use the copy src-url running-config command to load a configuration file from a network
server to the running configuration file of the switch. The commands in the loaded
configuration file are added to those in the running configuration file as if the commands were
typed in the CLI. The resulting configuration file is a combination of the previous running
configuration and the loaded configuration files, with the loaded configuration file taking
precedence.
●
Use the copy src-url startup-config command to copy a configuration file from a network
server to the device startup configuration file. The startup configuration file is replaced by the
copied configuration file.
●
TFTP:
Note: In this example, the backed up running configuration file named running-config.txt
from a TFTP server with IP address 192.168.100.139 is downloaded as the startup
configuration file of the switch.
SCP:
Note: In this example, the backed up running configuration file named config.txt from an
SCP server with IP address 192.168.100.139 is downloaded as the startup configuration file
of the switch. The credentials used are cisco and cisco12345 as the username and
password.
Step 3. Press Y on your keyboard to overwrite the existing configuration file.
TFTP:
SCP: