Transfer A File Using Secure Shell Ftp; Closing A Secure Shell Ftp Session - Alcatel-Lucent OmniSwitch 6450 Management Manual

Hide thumbs Also See for OmniSwitch 6450:
Table of Contents

Advertisement

Application Examples for File Management
287 boot.params
2048 certified
2048 working
64000 swlog1.log
64000 swlog2.log30 policy.cfg
2048 network
206093 cs_system.pmd
2048 LPS
2048 newssdir
256 random-seed

Transfer a File Using Secure Shell FTP

To demonstrate how to transfer a file by using the Secure Shell FTP, this application example continues
from the previous example where a new directory named "newssdir" was created on a remote
OmniSwitch.
1 Use the Secure Shell FTP put command to transfer the file "testfile1.rr" from the local OmniSwitch to
the "newssdir" directory on the remote OmniSwitch. You must specify the local path (where the file
originates) and the remote path (where the file is going) in the command syntax. The following command
is used:
sftp> put /flash/testfile1.rr /flash/newssdir
The following will be displayed to indicate that the file was successfully transferred to the /flash/newss-
dir on the target OmniSwitch.
Uploading /flash/testfile1.rr to /flash/newssdir/testfile1.rr
2 To verify that the file was transferred to the correct destination, use the Secure Shell FTP cd command
to move your login to the newssdir directory. Then, use the ls command to list the contents of the
directory. The copied file is listed in the correct directory as shown here.
sftp> cd newssdir
sftp> ls
2048 .
2048 ..
31 testfile1.rr

Closing a Secure Shell FTP Session

To terminate the Secure Shell FTP session, issue the
-> exit
Connection to 11.333.30.135 closed.
This display indicates the Secure Shell FTP session with IP address 11.333.20.135 is closed. The user is
now logged into the OmniSwitch as a local device with no active remote connection.
page 1-34
exit
command. The following will be displayed:
OmniSwitch 6250/6450 Switch Management Guide
Managing System Files
June 2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6350Omniswitch 6250

Table of Contents