User guide
Managing System Files Loading Software onto the Switch
OmniSwitch AOS Release 8 Switch Management Guide May 2014 page 2-15
Using Secure Shell FTP
1 Log on to the OmniSwitch and issue the sftp 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 198.168.1.100.
-> sftp 192.168.1.100
login as:
2 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 192.168.1.100
login as: rrlogin2
rrlogin2's password for keyboard-interactive method:
3 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
Closing a Secure Shell FTP Session
To terminate the Secure Shell FTP session, issue the exit command. The following will display:
-> exit
Connection to 192.168.1.100 closed.
Using TFTP to Transfer Files
Trivial File Transfer Protocol (TFTP), a client-server protocol, can be used to transfer files between the
TFTP server and client. TFTP client functionality on the OmniSwitch is used to download files from or
upload files to the TFTP server within a LAN using the tftp command.
The following is an example of how to start a TFTP session to download a file from a TFTP server:
-> tftp -g -l local_file -r remote_file 192.168.1.100
When you enter the above command the following actions are performed:
• Establishes a TFTP session with the TFTP server 192.168.1.100.
• Downloads the ‘remote_file’ file and saves it to file named ‘local_file’.
You can specify a path for the specified file and if the file name is specified without a path then the
current path (/flash) is used by default. If a local filename is not specified, then the remote filename is
used by default. A TFTP server does not prompt for a user to login and only one active TFTP session is
allowed at any point of time.
Note. When downloading a file to the switch, the file size must not exceed the available flash space.