Command line ftp, 7 command line ftp, 1 filename conventions – ZyXEL Communications ZyXEL Dimension ES-2024 User Manual
Page 134: 2 ftp command line procedure, Example ftp commands

Dimension ES-2024 Ethernet Switch
20-4
Maintenance
Click OK in the screen that asks if you are sure you want to reboot the system. You then see the screen as shown in
Figure 20-6. Click OK again and then wait for the switch to restart. This takes up to two minutes. This does not
affect the switch’s configuration.
20.7 Command Line FTP
This section shows some examples of uploading to or downloading files from the switch using FTP commands.
First, understand the filename conventions.
20.7.1 Filename
Conventions
The configuration file (often called the romfile or rom-0) contains the factory default settings in the screens such as
password, switch setup, IP Setup, etc. It arrives from ZyXEL with a “rom” filename extension. 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.
Table 20-1 Filename Conventions
FILE TYPE
INTERNAL
NAME
EXTERNAL
NAME
DESCRIPTION
Configuration File Rom-0
*.rom
This is the configuration filename on the switch. Uploading the
rom-0 file replaces the entire ROM file system, including your
switch configurations, system-related data (including the
default password), the error log and the trace log.
Firmware
Ras
*.bin
This is the generic name for the ZyNOS firmware on the switch.
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 rom-0 config.cfg
This is a sample FTP session saving the current configuration to a file called “config.cfg” on your computer.
If your (T)FTP client does not allow you to have a destination filename different than the source, you will need to
rename them as the switch only recognizes “rom-0” and “ras”. Be sure you keep unaltered copies of both files for
later use.
Be sure to upload the correct model firmware as uploading the wrong model firmware may
damage your device.
20.7.2
FTP Command Line Procedure
Step 1.
Launch the FTP client on your computer.