User guide

Loading Software onto the Switch Managing System Files
page 2-14 OmniSwitch AOS Release 8 Switch Management Guide May 2014
2 Specify the transfer mode. If you are transferring a switch image file, you must specify the binary
transfer mode on your FTP client. If you are transferring a configuration file, you must specify the ASCII
transfer mode.
3 Transfer the file. Use the FTP “put” command or click the client’s download button to send the file to
the switch.
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 192.168.1.1
Connecting to [192.168.1.1]...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