Copy Url - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

File Management Commands

copy URL

This command copies a file. This allows you to:
Syntax
copy <source-url> <destination-url>
Parameter
<source-url>
<destination-url>
Privileged Exec mode
Mode
To use TFTP to copy the file "bob.key" into the current directory from the remote server at
Examples
10.0.0.1, use the command:
To use SFTP to copy the file "new.cfg" into the current directory from a remote server at
10.0.1.2, use the command:
To use SCP with the username "beth" to copy the file "old.cfg" into the directory "config_files"
on a remote server that is listening on TCP port 2000, use the command:
To copy the file "config.cfg" into the current directory from an SD Card, and rename it to
"configtest.cfg", use the command:
In a stacked environment you can use the CLI on a stack master to access file systems that are
Stacked Devices
located on another stack member. In this case, when you enter the command, specify the stack
member's file system by using the following syntax:
<hostname>-<member-id>/
(for example, awplus-1/ for a file or directory on stack member 1, awplus-2/ for member
2 etc).
To copy the file test.txt from the top level of Flash on stack member 4 to the current directory
Example
in the stack master, use the command:
Note that you must specify the filesystem on the slave stack member ("flash:" in this example).
copy LOCAL
Related Commands
copy zmodem
show file systems
7.10
copy files from your device to a remote device
copy files from a remote device to your device
copy files stored on flash memory to or from a different memory type, such as an SD card
create two copies of the same file on your device
Description
The URL of the source file. See
on page 7.3
The URL for the destination file. See
Usage" on page 7.3
awplus#copy tftp://10.0.0.1/bob.key bob.key
awplus#copy sftp://10.0.1.2/new.cfg bob.key
awplus#copy scp://beth@server:2000/config_files/old.cfg old.cfg
awplus#copy card:/config.cfg configtest.cfg
awplus#copy awplus-4/flash:/test.txt test.txt
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
"URL Syntax and Keyword Usage"
for valid URL syntax.
"URL Syntax and Keyword
for valid URL syntax.
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents