Verifying Directory Contents
Managing System Files
page 1-36
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
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
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.
Verifying Directory Contents
To display a list of files, the following CLI commands may be used.
For more information about these commands, see the
OmniSwitch CLI Reference Guide
.
ls
Displays the contents of a specified directory or the current working
directory.
dir
Displays the contents of a specified directory or the current working
directory.
rls
Displays the content of a non primary switch in a stack.
Содержание OmniSwitch 6850 Series
Страница 12: ...Contents xii OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 20: ...page xx OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 230: ...WebView Help Using WebView page 9 20 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 274: ...Verifying the SNMP Configuration Using SNMP page 10 44 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...
Страница 292: ...Index Index 6 OmniSwitch 6800 6850 9000 Switch Management Guide December 2007...