ZyXEL Router Prestige 334 User Manual
Have a look at the manual ZyXEL Router Prestige 334 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 3 ZyXEL manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
Prestige 334 User’s Guide Chapter 30 Firmware and Configuration File Maintenance 290 30.2.6 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. 1Use 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. 2Put the SMT in command interpreter (CI) mode by entering 8 in Menu 24 – System Maintenance. 3Enter 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. 4Launch the TFTP client on your computer and connect to the Prestige. Set the transfer mode to binary before starting data transfer. 5Use 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. 30.2.7 TFTP Command Example 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 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.
Prestige 334 User’s Guide 291 Chapter 30 Firmware and Configuration File Maintenance 30.2.8 GUI-based TFTP Clients The following table describes some of the fields that you may see in GUI-based TFTP clients. 30.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 is the preferred method for restoring your current computer configuration to your Prestige since FTP is faster. Please note that you must wait for the system to automatically restart after the file transfer is complete. 30.3.1 Restore Using FTP For details about backup using (T)FTP please refer to earlier sections on FTP and TFTP file upload in this chapter Table 98 General Commands for GUI-based TFTP Clients COMMANDDESCRIPTION HostEnter the IP address of the Prestige. 192.168.1.1 is the Prestige’s default IP address when shipped. Send/FetchUse “Send” to upload the file to the Prestige and “Fetch” to back up the file on your computer. Local FileEnter the path and name of the firmware file (*.bin extension) or configuration file (*.rom extension) on your computer. Remote FileThis is the filename on the Prestige. The filename for the firmware is “ras” and for the configuration file, is “rom-0”. BinaryTransfer the file in binary mode. AbortStop transfer of the file. Note: WARNING! Do not interrupt the file transfer process as this may PERMANENTLY DAMAGE YOUR Prestige.
Prestige 334 User’s Guide Chapter 30 Firmware and Configuration File Maintenance 292 Figure 160 Telnet into Menu 24.6. 1Launch the FTP client on your computer. 2Enter “open”, followed by a space and the IP address of your Prestige. 3Press [ENTER] when prompted for a username. 4Enter your password as requested (the default is “1234”). 5Enter “bin” to set transfer mode to binary. 6Find the “rom” file (on your computer) that you want to restore to your Prestige. 7Use “put” to transfer files from the Prestige to the computer, for example, “put config.rom rom-0” transfers the configuration file “config.rom” on your computer to the Prestige. See earlier in this chapter for more information on filename conventions. 8Enter “quit” to exit the ftp prompt. The Prestige will automatically restart after a successful restore process. Menu 24.6 -- System Maintenance - Restore Configuration To transfer the firmware and configuration file to your workstation, follow the procedure below: 1. Launch the FTP client on your workstation. 2. Type open and the IP address of your Prestige. Then type root and SMT password as requested. 3. Type put backupfilename rom-0 where backupfilename is the name of your backup configuration file on your workstation and rom-0 is the remote file name on the Prestige. This restores the configuration to your Prestige. 4. The system reboots automatically after a successful file transfer For details on FTP commands, please consult the documentation of your FTP client program. For details on backup using TFTP (note that you must remain in this menu to back up using TFTP), please see your Prestige manual. Press ENTER to Exit:
Prestige 334 User’s Guide 293 Chapter 30 Firmware and Configuration File Maintenance 30.3.2 Restore Using FTP Session Example Figure 161 Restore Using FTP Session Example 30.4 Uploading Firmware and Configuration Files This section shows you how to upload firmware and configuration files. You can upload configuration files by following the procedure in the previous Restore Configuration section or by following the instructions in Menu 24.7.2 – System Maintenance – Upload System Configuration File. 30.4.1 Firmware File Upload FTP is the preferred method for uploading the firmware and configuration. To use this feature, your computer must have an FTP client. When you telnet into the Prestige, you will see the following screens for uploading firmware and the configuration file using FTP. ftp> put config.rom rom-0 200 Port command okay 150 Opening data connection for STOR rom-0 226 File received OK 221 Goodbye for writing flash ftp: 16384 bytes sent in 0.06Seconds 273.07Kbytes/sec. ftp>quit Note: WARNING! Do not interrupt the file transfer process as this may PERMANENTLY DAMAGE YOUR Prestige.
Prestige 334 User’s Guide Chapter 30 Firmware and Configuration File Maintenance 294 Figure 162 Telnet Into Menu 24.7.1 Upload System Firmware 30.4.2 Configuration File Upload You see the following screen when you telnet into menu 24.7.2 Figure 163 Telnet Into Menu 24.7.2 System Maintenance . To upload the firmware and the configuration file, follow these examples 30.4.3 FTP File Upload Command from the DOS Prompt Example 1Launch the FTP client on your computer. 2Enter “open”, followed by a space and the IP address of your Prestige. 3Press [ENTER] when prompted for a username. Menu 24.7.1 - System Maintenance - Upload System Firmware To upload the system firmware, follow the procedure below: 1. Launch the FTP client on your workstation. 2. Type open and the IP address of your system. Then type root and SMT password as requested. 3. Type put firmware filename ras where firmwarefilename is the name of your firmware upgrade file on your workstation and ras is the remote file name on the system. 4. The system reboots automatically after a successful firmware upload. For details on FTP commands, please consult the documentation of your FTP client program. For details on uploading system firmware using TFTP (note that you must remain on this menu to upload system firmware using TFTP), please see your manual. Press ENTER to Exit: Menu 24.7.2 - System Maintenance - Upload System Configuration File To upload the system configuration file, follow the procedure below: 1. Launch the FTP client on your workstation. 2. Type open and the IP address of your system. Then type root and SMT password as requested. 3. Type put configuration filename rom-0 where configurationfilename is the name of your system configuration file on your workstation, which will be transferred to the rom-0 file on the system. 4. The system reboots automatically after the upload system configuration file process is complete. For details on FTP commands, please consult the documentation of your FTP client program. For details on uploading system firmware using TFTP (note that you must remain on this menu to upload system firmware using TFTP), please see your manual. Press ENTER to Exit:
Prestige 334 User’s Guide 295 Chapter 30 Firmware and Configuration File Maintenance 4Enter your password as requested (the default is “1234”). 5Enter “bin” to set transfer mode to binary. 6Use “put” to transfer files from the computer to the Prestige, for example, “put firmware.bin ras” transfers the firmware on your computer (firmware.bin) to the Prestige and renames it “ras”. Similarly, “put config.rom rom-0” transfers the configuration file on your computer (config.rom) to the Prestige and renames it “rom-0”. Likewise “get rom-0 config.rom” transfers the configuration file on the Prestige 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. 30.4.4 FTP Session Example of Firmware File Upload Figure 164 FTP Session Example of Firmware File Upload More commands (found in GUI-based FTP clients) are listed earlier in this chapter. 30.4.5 TFTP File Upload The Prestige 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. 1Use 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. 2Put the SMT in command interpreter (CI) mode by entering 8 in Menu 24 – System Maintenance. Note: The Prestige automatically restarts after a successful 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
Prestige 334 User’s Guide Chapter 30 Firmware and Configuration File Maintenance 296 3Enter the command “sys stdio 0” to disable the console timeout, so the TFTP transfer will not be interrupted. Enter “command sys stdio 5” to restore the five-minute console timeout (default) when the file transfer is complete. 4Launch the TFTP client on your computer and connect to the Prestige. Set the transfer mode to binary before starting data transfer. 5Use the TFTP client (see the example below) to transfer files between the Prestige and the computer. The file name for the firmware is “ras”. Note that the telnet connection must be active and the Prestige 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, “put” the other way around, and “binary” to set binary transfer mode. 30.4.6 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 Prestige’s IP address and “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 Prestige). Commands that you may see in GUI-based TFTP clients are listed earlier in this chapter.
Prestige 334 User’s Guide 297 Chapter 30 Firmware and Configuration File Maintenance
Prestige 334 User’s Guide Chapter 31 System Maintenance 298 CHAPTER31 System Maintenance This chapter leads you through SMT menus 24.8 to 24.10. 31.1 Command Interpreter Mode The Command Interpreter (CI) is a part of the main system firmware. The CI provides much of the same functionality as the SMT, while adding some low-level setup and diagnostic functions. Enter the CI from the SMT by selecting menu 24.8. See the included disk or the zyxel.com web site for more detailed information on CI commands. Enter 8 from Menu 24 — System Maintenance. A list of valid commands can be found by typing help or ? at the command prompt. Type “exit” to return to the SMT main menu when finished. Figure 165 Command Mode in Menu 24 31.1.1 Command Syntax • The command keywords are in courier new font. • Enter the command keywords exactly as shown, do not abbreviate. • The required fields in a command are enclosed in angle brackets . • The optional fields in a command are enclosed in square brackets []. •The |symbol means “or”. • For example, • sys filter netbios config • means that you must specify the type of netbios filter and whether to turn it on or off. Menu 24 - System Maintenance 1. System Status 2. System Information and Console Port Speed 3. Log and Trace 4. Diagnostic 5. Backup Configuration 6. Restore Configuration 7. Firmware Update 8. Command Interpreter Mode 9. Call Control 10. Time and Date Setting 11. Remote Management Setup Enter Menu Selection Number:
Prestige 334 User’s Guide 299 Chapter 31 System Maintenance 31.1.2 Command Usage A list of commands can be found by typing help or ? at the command prompt. Always type the full command. Type exit to return to the SMT main menu when finished. Figure 166 Valid Commands 31.2 Call Control Support The Prestige provides two call control functions: budget management and call history. Please note that this menu is only applicable when Encapsulation is set to PPPoE in menu 4 or menu 11.1. The budget management function allows you to set a limit on the total outgoing call time of the Prestige within certain times. When the total outgoing call time exceeds the limit, the current call will be dropped and any future outgoing calls will be blocked. To access the call control menu, select option 9 in menu 24 to go to Menu 24.9 — System Maintenance — Call Control, as shown in the next table. Figure 167 Menu 24.9 System Maintenance : Call Control 31.2.1 Budget Management Menu 24.9.1 shows the budget management statistics for outgoing calls. Enter 1 from Menu 24.9 - System Maintenance - Call Control to bring up the following menu. Copyright (c) 1994 - 2004 ZyXEL Communications Corp. P334> ? Valid commands are: sys exit device ether poe pptp config ip ipsec ppp P334> Menu 24.9 - System Maintenance - Call Control 1. Budget Management 2. Call History Enter Menu Selection Number: