Page 206 / 285 Scroll up to view Page 201 - 205
17-4
Firmware and Configuration Maintenance
Example of FTP Commands from the DOS Prompt
Figure 17-2 FTP Session Example
FTP GUI Clients
The following table describes some of the commands that you may see in FTP GUI clients.
Table 17-2 General Commands for GUI Clients
COMMAND
DESCRIPTION
Host Address
Enter the address of the host server.
Login Type
Anonymous.
This is when a user I.D. and password is automatically supplied to the
server for anonymous access. Anonymous logins will work only if your
ISP or service administrator has enabled this option.
Normal.
The server requires a unique User ID and Password to login.
Transfer Type
Transfer files in either ASCII (plain text format) or in binary mode.
Initial Remote Directory
Specify the default remote directory (path).
Initial Local Directory
Specify the default local directory (path).
TFTP and FTP over WAN Will Not Work When
¾
Telnet service is disabled in menu 24.11.
¾
A filter in menu 3.1 (LAN) or in menu 11.5 (WAN) is applied to block Telnet service.
¾
The IP address in the
Secured Client IP
field (menu 24.11) does not match the client IP
address. If it does not match, the Prestige will disconnect the Telnet session immediately.
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
Page 207 / 285
Firmware and Configuration Maintenance
17-5
¾
There is a SMT console session running.
17.2.2 Backup Configuration Using TFTP
The Prestige 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.
Step 1.
Use telnet from your computer to connect to the Prestige and log in. Because TFTP does not
have any security checks, the Prestige 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 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.
Step 4.
Launch the TFTP client on your computer and connect to the Prestige. 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 Prestige 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 Prestige to the computer and “binary” to set
binary transfer mode.
17.2.3 TFTP Command Example
The following is an example tftp command:
TFTP [-i] host get rom-0 config.rom
Page 208 / 285
17-6
Firmware and Configuration Maintenance
where “i” specifies binary image transfer mode (use this mode when transferring binary files), “host” is the
Prestige IP address, “get” transfers the file source on the Prestige (rom-0 name of the configuration file on
the Prestige) to the file destination on the computer and renames it config.rom.
TFTP GUI Clients
The following table describes some of the fields that you may see in some TFTP GUI clients.
Table 17-3 General Commands for TFTP GUI Clients
COMMAND
DESCRIPTION
Host
Enter the IP address of the Prestige. 192.168.1.1 is the Prestige’s default IP address
when shipped.
Send/Fetch
Use “Send” to upload the file to the Prestige and “Fetch” to back up the file on your
computer.
Local File
Enter the path and name of the firmware file (*.bin extension) or configuration file (*.rom
extension) on your computer.
Remote File
This is the filename on the Prestige. The filename for the firmware is “ras” and for the
configuration file, is “rom-0”.
Binary
Transfer the file in binary mode.
Abort
Stop transfer of the file.
Refer to the
TFTP and FTP over WAN Will Not Work When
section to read about configurations that
disallow TFTP and FTP to work over WAN.
17.2.4 Backup Via Console Port
Backup configuration via console port by following the HyperTerminal procedure shown next. Procedures
using other serial communications programs should be similar.
Step 13.
Display menu 24.5 and enter “y” at the following screen.
Page 209 / 285
Firmware and Configuration Maintenance
17-7
Figure 17-3 System Maintenance — Backup Configuration
Step 1.
The following screen indicates that the Xmodem download has started.
Figure 17-4 System Maintenance — Starting Xmodem Download Screen
Step 2.
Run the HyperTerminal program by clicking
Transfer
, then
Receive File
as shown in the
following screen.
Figure 17-5 Backup Configuration Example
Step 3.
After a successful backup you will see the following screen. Press any key to return to the SMT
menu.
Type a location for storing
the configuration file or click
Browse to look for one.
Choose the
Xmodem
protocol.
Then click
Receive
.
Ready to backup Configuration via Xmodem.
Do you want to continue (y/n):
You can enter ctrl-x to terminate operation any time.
Starting XMODEM download...
Page 210 / 285
17-8
Firmware and Configuration Maintenance
Figure 17-6 Successful Backup Confirmation Screen
17.3 Restore Configuration
This section shows you how to restore a previously saved configuration. Note that this function erases the
current configuration before restoring a previous back up configuration; please do not attempt to restore
unless you have a backup configuration file stored on disk.
FTP and TFTP are the preferred methods for restoring your current computer configuration to your Prestige
since FTP and TFTP are faster. Please note that you must restart the system after the file transfer is
complete.
WARNING!
DO NOT INTERUPT THE FILE TRANSFER PROCESS AS THIS MAY
PERMANENTLY DAMAGE YOUR PRESTIGE. WHEN THE RESTORE
CONFIGURATION PROCESS IS COMPLETE, THE PRESTIGE WILL
AUTOMATICALLY RESTART.
17.3.1 Restore Using FTP or TFTP
For details about backup using (T)FTP please refer to earlier sections on FTP and TFTP file upload in this
chapter.
** Backup Configuration completed. OK.
### Hit any key to continue.###

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top