File Management Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
7.7
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 mode.
Examples
To copy the file “layer3.cfg” into the running-config:
awplus#
copy layer3.cfg running-config
To use SCP to copy the running-config as current.cfg to the remote server listening on TCP
port 2000, use the command:
awplus#
copy running-config scp://user@server:2000/config_files/
current.cfg
Related Commands
copy startup-config
write file
write memory
Parameter
Description
<source-url>
The URL of a configuration file. This must be a valid .cfg file. 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
“URL Syntax and Keyword Usage” on
page 7.2
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
“URL Syntax and Keyword Usage” on
page 7.2
for valid URL syntax.
startup-config
Copies the running-config into the file set as the current startup-
config file.
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......