Alcatel Carrier Internetworking Solutions omniswitch User Manual

Page of 260
Managing System Files
Loading Software onto the Switch
OmniSwitch 6600 Family Switch Management Guide
March 2005
page 2-23
Using Secure Shell FTP
Log on to the OmniSwitch and issue the 
 CLI command. The command syntax requires you to 
identify the IP address for the device you are connecting to. The following command establishes a Secure 
Shell FTP interface from the local OmniSwitch to IP address 10.222.30.125.
-> sftp 10.222.30.125
login as: 
You must have a login and password that is recognized by the IP address you specify. When you enter 
your login, the device you are logging in to will request your password as shown here.
-> sftp 10.222.30.125
login as: rrlogin2
rrlogin2's password for keyboard-interactive method:
After logging in, you will receive the sftp> prompt. You may enter a question mark (?) to view 
available Secure Shell FTP commands and their definitions as shown here.
sftp>?
Available commands:
cd path                       Change remote directory to 'path'
lcd path                      Change local directory to 'path'
chmod mode path               Change permissions of file 'path' to 'mode'
help                          Display this help text
get remote-path [local-path]  Download file
lls [path]]                   Display local directory listing
ln oldpath newpath            Symlink remote file
lmkdir path                   Create local directory
lpwd                          Print local working directory
ls [path]                     Display remote directory listing
mkdir path                    Create remote directory
put local-path [remote-path]  Upload file
pwd                           Display remote working directory
exit                          Quit sftp
quit                          Quit sftp
rename oldpath newpath        Rename remote file
rmdir path                    Remove remote directory
rm path                       Delete remote file
symlink oldpath newpath       Symlink remote file
version                       Show SFTP version
?                             Synonym for help 
Note. Although Secure Shell FTP has commands similar to the industry standard FTP, the underlying 
protocol is different.
Closing a Secure Shell FTP Session
To terminate the Secure Shell FTP session, issue the 
 command. The following will display:
-> 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.