Creating and Managing Files
©2008 Allied Telesis Inc. All rights reserved.
6.12
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
The prompts, responses, and messages look like this:
To load the file “bob.key” from a TFTP server, where the file is in the folder “security”, use the
command:
awplus.
copy tftp://security/bob.key flash:/bob.key
Copying with Secure Copy (SCP)
Secure Copy (SCP) provides a secure way to copy files to and from a remote device using SSH.
The AlliedWare Plus
TM
OS includes both a SSH server and a SSH client. You must enable the
SSH server before your device accepts connections from SCP clients.
For example, to load the file “beth.key” onto Flash from the key directory on a remote SSH
server at 10.10.0.12, using the username “bob”, use the command:
awplus#
copy scp://[email protected]/key/beth.key flash:/beth.key
Copying with SSH File Transfer Protocol (SFTP)
SSH File Transfer Protocol (SFTP) provides a secure way to copy files onto your device from a
remote device. The AlliedWare Plus
TM
OS includes both a SSH server and a SSH client. SFTP
provides additional features from SCP, such as allowing you to manipulate the remote files, and
halt or resume file transfers without closing the session.
For example, to load the file “rei.cfg” onto Flash memory from the remote server at 10.0.0.5,
use the command:
awplus#
copy sftp://10.0.0.5/rei.cfg flash:/rei.cfg
Copying from a Server to Running Configuration
Use the
copy tftp:running-config
command to load a configuration file from a server to the
running configuration of the switch.
The configuration will be added to the running configuration as if the commands were typed in
the command line interface.
The resulting configuration file will be a combination of the previous running configuration and
the loaded configuration file. The loaded configuration file has precedence.
Enter source file name []:example.cfg
Enter destination host name []:172.1.1.1
Enter destination file name [example.cfg]:
Copying from source file, please wait...
Copying to destination file, please wait...
0: Successful operation