ZyXEL g-2000 plusv2 Guia Do Utilizador

Página de 440
ZyXEL G-2000 Plus v2 User’s Guide
344
Chapter 33 Firmware and Configuration File Maintenance
Enter “root” and your SMT password as requested. The default is 1234.
Enter “bin” to set transfer mode to binary.
Use “put” to transfer files from the computer to the ZyXEL device, e.g., put firmware.bin 
ras transfers the firmware on your computer (firmware.bin) to the ZyXEL device and 
renames it “ras”. Similarly “put config.rom rom-0” transfers the configuration file on 
your computer (config.rom) to the ZyXEL device and renames it “rom-0”. Likewise “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.
Enter “quit” to exit the FTP prompt.
Figure 196   FTP Session Example
More commands that you may find in third party FTP clients are listed earlier in this chapter.
33.4.4  TFTP File Upload
The ZyXEL device also 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 transfer the firmware 
and the configuration file, follow the procedure shown next:
Use telnet from your computer to connect to the ZyXEL device and log in. Because TFTP 
does not have any security checks, the ZyXEL device 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 the 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 ZyXEL device. Set the 
transfer mode to binary before starting data transfer.
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: 327680 bytes sent in 1.10Seconds 
297.89Kbytes/sec.
ftp> quit