Copy running-config – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 160
![background image](/manuals/427254/160/background.png)
File Management Commands
Software Reference for x310 Series Switches
7.14
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
copy running-config
This command copies the running-config to a destination file, or copies a source file into
the running-config. Commands entered in the running-config do not survive a device
reboot unless they are saved in a configuration file.
Syntax
copy <source-url> running-config
copy running-config [<destination-url>]
copy running-config startup-config
Mode
Privileged Exec
Examples
To copy the running-config into the startup-config, use the command:
To copy the file layer3.cfg into the running-config, use the command:
To use SCP to copy the running-config as current.cfg to the remote server listening
on TCP port 2000, use the command:
Related Commands
copy startup-config
write file
write memory
Parameter
Description
<source-url>
The URL of a configuration file. This must be a valid
configuration file with a .cfg filename extension. Specify
this when you want the script in the file to become the new
running-config. The URL can contain the following
protocols or location words. See
for valid URL syntax.
<destination-url>
The URL where you would like the current running-config
saved. This command creates a file if no file exists with the
specified filename. If a file already exists, then the CLI
prompts you before overwriting the file. See
and Keyword Usage” on page 7.3
for valid URL syntax. If
you do not specify a file name, the switch saves the
running-config to a file called default.cfg.
startup-config
Copies the running-config into the file set as the current
startup-config file.
awplus#
copy running-config startup-config
awplus#
copy layer3.cfg running-config
awplus#
copy running-config scp://user@server:2000/
config_files/current.cfg