Chapter 58 Maintenance
XGS4600 Series User’s Guide
532
58.9 Technical Reference
This section provides technical background information on the topics discussed in this chapter.
58.9.1 FTP Command Line
This section shows some examples of uploading to or downloading files from the Switch using FTP
commands. First, understand the filename conventions.
58.9.2 Filename Conventions
The configuration file (also known as the romfile or ROM) contains the Zyxel factory default configuration
settings in the screens such as password, Switch setup, IP Setup, and so on. Once you have customized
the Switch’s settings, they can be saved back to your computer under a filename of your choosing.
ZyNOS (Zyxel Network Operating System sometimes referred to as the “ras” file) is the system firmware
and has a “bin” filename extension.
You can store up to two images, or firmware files of the same device model, on the Switch. Only one
image is used at a time.
•Run the boot image <1|2> command to specify which image is updated when firmware is loaded
using the Web Configurator and to specify which image is loaded when the Switch starts up.
• You can also use FTP commands to upload firmware to any image.
The Switch supports dual firmware images, ras-0 and ras-1. You can switch from one to the other by
using the boot image <index> command, where <index> is 1 (ras-0) or 2 (ras-1). See the CLI
Reference Guide for more information about using commands. The system does not reboot after it
switches from one image to the other.
58.9.2.1 Example FTP Commands
ftp> put firmware.bin ras
This is a sample FTP session showing the transfer of the computer file "firmware.bin" to the Switch.
ftp> get config config.cfg
This is a sample FTP session saving the current configuration to a file called “config.cfg” on your
computer.
Table 254 Filename Conventions
FILE TYPE INTERNAL NAME EXTERNAL NAME DESCRIPTION
Configuration File config *.cfg This is the configuration filename on the
Switch. Uploading the config file replaces
the specified configuration file system,
including your Switch configurations,
system-related data (including the default
password), the error log and the trace log.
Firmware ras-0
ras-1
*.bin This is the generic name for the ZyNOS
firmware on the Switch. ras-0 is image 1;
ras-1 is image 2.