ZyXEL Communications G-2000 Plus User Manual

Page of 430
ZyAIR G-2000 Plus User’s Guide
Chapter 34 Firmware and Configuration File Maintenance
354
34.2.5  Backup Configuration Using TFTP
The ZyAIR supports the up/downloading of the firmware and the configuration file 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 backup the 
configuration file, follow the procedure shown next:
Use telnet from your computer to connect to the ZyAIR and log in. Because TFTP does 
not have any security checks, the ZyAIR 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.
Enter command “sys stdio 0” to disable the SMT timeout, so the TFTP transfer will not 
be interrupted. Enter command “sys stdio 5” to restore the five-minute SMT timeout 
(default) when the file transfer is complete.
Launch the TFTP client on your computer and connect to the ZyAIR. Set the transfer 
mode to binary before starting data transfer.
Use the TFTP client (see the example below) to transfer files between the ZyAIR and the 
computer. The file name for the configuration file is rom-0 (rom-zero, not capital o).
Note that the telnet connection must be active and the SMT 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 ZyAIR 
to the computer and “binary” to set binary transfer mode.
34.2.6  Example: TFTP Command
The following is an example TFTP command:
TFTP [-i] host get rom-0 config.rom
where “i” specifies binary image transfer mode (use this mode when transferring binary files), 
“host” is the ZyAIR IP address, “get” transfers the file source on the ZyAIR (rom-0 name of  
the configuration file on the ZyAIR) to the file destination on the computer and renames it 
config.rom.