Figure 35-15 Ftp Session Example Of Firmware File Upload - ZyXEL Communications ZyWALL 5 User Manual

Internet security appliance
Hide thumbs Also See for ZyWALL 5:
Table of Contents

Advertisement

ZyWALL 5 Internet Security Appliance
Use "put" to transfer files from the computer to the ZyWALL, for example, "put firmware.bin ras"
6.
transfers the firmware on your computer (firmware.bin) to the ZyWALL and renames it "ras".
Similarly, "put config.rom rom-0" transfers the configuration file on your computer (config.rom) to
the ZyWALL and renames it "rom-0". Likewise "get rom-0 config.rom" transfers the configuration
file on the ZyWALL to your computer and renames it "config.rom." See earlier in this chapter for
more information on filename conventions.
Enter "quit" to exit the ftp prompt.
7.
35.5.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 35-15 FTP Session Example of Firmware File Upload

More commands (found in GUI-based FTP clients) are listed earlier in this chapter.
Refer to section 35.3.5 to read about configurations that disallow TFTP and FTP over WAN.
35.5.5 TFTP File Upload
The ZyWALL 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.
Use telnet from your computer to connect to the ZyWALL and log in. Because TFTP does not have
1.
any security checks, the ZyWALL records the IP address of the telnet client and accepts TFTP
requests only from this address.
Put the SMT in command interpreter (CI) mode by entering 8 in Menu 24 – System Maintenance.
2.
Enter the command "sys stdio 0" to disable the console timeout, so the TFTP transfer will not be
3.
interrupted. Enter "command sys stdio 5" to restore the five-minute console timeout (default) when
the file transfer is complete.
Launch the TFTP client on your computer and connect to the ZyWALL. Set the transfer mode to
4.
binary before starting data transfer.
Use the TFTP client (see the example below) to transfer files between the ZyWALL and the
5.
computer. The file name for the firmware is "ras".
Note that the telnet connection must be active and the ZyWALL 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 ZyWALL to
the computer, "put" the other way around, and "binary" to set binary transfer mode.
35-10
Firmware and Configuration File Maintenance

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents