Alcatel-Lucent 6850-48 Supplementary Manual

Page of 312
Managing System Files
Application Examples for File Management
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
page 1-35
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.
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
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 th
 command. The following will be displayed:
-> 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.