ZyXEL Communications 240B manual FTP Session Example of Firmware File Upload, TFTP File Upload

Models: 240B

1 96
Download 96 pages 17.83 Kb
Page 82
Image 82
12.4.4 FTP Session Example of Firmware File Upload

ExpWave 240B Secure Outdoor Ethernet Radio Link

Step 7. Enter “quit” to exit the ftp prompt.

12.4.4 FTP Session Example of Firmware File Upload

331 Enter PASS command Password:

230 Logged in ftp> bin

200 Type I OK

ftp> put firmware.bin ras 200 Port command okay

150 Opening data connection for STOR ras

226 File received OK

ftp: 1103936 bytes sent in 1.10Seconds 297.89Kbytes/sec.

ftp> quit

Figure 12-15 FTP Session Example of Firmware File Upload

More commands (found in GUI-based FTP clients) are listed earlier in this chapter.

12.4.5 TFTP File Upload

The ExpWave also supports the uploading of firmware files using TFTP (Trivial File Transfer Protocol) over LAN. Although TFTP should work over WAN as well, it is not recommended.

To use TFTP, your computer must have both telnet and TFTP clients. To transfer the firmware and the configuration file, follow the procedure shown next.

Step 1. Use telnet from your computer to connect to the ExpWave and log in. Because TFTP does not have any security checks, the ExpWave records the IP address of the telnet client and accepts TFTP requests only from this address.

Step 2. Put the SMT in command interpreter (CI) mode by entering 8 in Menu 24 – System Maintenance.

Step 3. Enter the command “sys stdio 0” to disable the console timeout, so the TFTP transfer will not be interrupted. Enter “command sys stdio 5” to restore the five-minute console timeout (default) when the file transfer is complete.

Step 4. Launch the TFTP client on your computer and connect to the ExpWave. Set the transfer mode to binary before starting data transfer.

Step 5. Use the TFTP client (see the example below) to transfer files between the ExpWave and the computer. The file name for the firmware is “ras”.

Note that the telnet connection must be active and the ExpWave in CI mode before and during the TFTP transfer. For details on TFTP commands (see following example), please consult the documentation of your TFTP client program. For UNIX, use “get” to transfer from the ExpWave to the computer, “put” the other way around, and “binary” to set binary transfer mode.

12.4.6 TFTP Upload Command Example

The following is an example TFTP command: tftp [-i] host put firmware.bin ras

12-8

Firmware & Configuration File Maintenance

Page 82
Image 82
ZyXEL Communications 240B manual FTP Session Example of Firmware File Upload, TFTP File Upload, TFTP Upload Command Example