User guide
Loading Software onto the Switch Managing System Files
page 3-14 OmniSwitch AOS Release 7 Switch Management Guide March 2015
Using the Switch as an FTP Client
Using the switch as an FTP client is useful in cases where you do not have access to a workstation with an
FTP client. You can establish an FTP session locally by connecting a terminal to the switch console port.
You can also establish an FTP session to a remote switch by using a Telnet session. Once you are logged
into the switch as an FTP client, you can use standard FTP commands.
Use the switch ftp command to start its FTP client.
1 Establish a connection to the switch as explained in your appropriate Getting Started Guide.
2 Log on to the switch and enter the ftp command to start the FTP client. Next, enter a valid host name or
IP address.
-> ftp 198.51.100.101
Connecting to [198.51.100.101]...connected
220 cosmo FTP server (UNIX(r) System V Release 4.1) ready
Name :
Note. You can only use a host name instead of an IP address if the DNS resolver has been configured and
enabled. If not, you must specify an IP address.
3 Set the client to binary mode with the bin command. Enter a valid user name and password for the host
you specified with the ftp command. A screen similar to the following is displayed:
Name: Jsmith
331 Password required for Jsmith
Password: *****
230 User Jsmith logged in.
4 After logging in, you will receive the ftp-> prompt. You may enter a question mark (?) to view
available FTP commands as shown below.
ftp->?
Supported commands:
ascii binary bye cd delete
dir get help hash ls
put pwd quit remotehelp user
lpwd mput mget prompt !ls
lcd user
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.51.100.125.
-> sftp 198.51.100.125
login as: