Chapter 21 Tools

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

Note that the telnet connection must be active and the device 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 device to the computer, “put” the other way around, and “binary” to set binary transfer mode.

TFTP Upload Command Example

The following is an example TFTP command:

tftp [-i] host put firmware.bin ras

Where “i” specifies binary image transfer mode (use this mode when transferring binary files), “host” is the device’s IP address, “put” transfers the file source on the computer (firmware.bin

name of the firmware on the computer) to the file destination on the remote host (ras - name of the firmware on the device).

Commands that you may see in GUI-based TFTP clients are listed earlier in this chapter.

Using the FTP Commands to Back Up Configuration

1Launch the FTP client on your computer.

2Enter “open”, followed by a space and the IP address of your ZyXEL Device.

3Press [ENTER] when prompted for a username.

4Enter your password as requested (the default is “1234”).

5Enter “bin” to set transfer mode to binary.

6Use “get” to transfer files from the ZyXEL Device to the computer, for example, “get rom-0 config.rom” transfers the configuration file on the ZyXEL Device to your computer and renames it “config.rom”. See earlier in this chapter for more information on filename conventions.

7Enter “quit” to exit the ftp prompt.

FTP Command Configuration Backup Example

This figure gives an example of using FTP commands from the DOS command prompt to save your device’s configuration onto your computer.

Figure 174 FTP Session Example

331 Enter PASS command Password:

230 Logged in ftp> bin

200 Type I OK

ftp> get rom-0 zyxel.rom 200 Port command okay

150 Opening data connection for STOR ras

226 File received OK

ftp: 16384 bytes sent in 1.10Seconds 297.89Kbytes/sec. ftp> quit

 

293

P-660HN-F1 User’s Guide