8 ftp command line, 1 filename conventions, 2 ftp command line procedure – ZyXEL Communications ZyXEL Dimension GS-2024 User Manual
Page 179: Table 62 filename conventions
Chapter 24 Maintenance
GS-2024 User’s Guide
179
24.8 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.
24.8.1 Filename Conventions
The configuration file (also known as the romfile or ROM) contains the factory default
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.
24.8.1.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.
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 “config” and “ras”. Be
sure you keep unaltered copies of both files for later use.
1
Be sure to upload the correct model firmware as uploading the wrong model
firmware may damage your device.
24.8.2 FTP Command Line Procedure
1 Launch the FTP client on your computer.
2 Enter
open
, followed by a space and the IP address of your Switch.
3 Press [ENTER] when prompted for a username.
4 Enter your password as requested (the default is “1234”).
Table 62 Filename Conventions
FILE TYPE
INTERNAL
NAME
EXTERNAL
NAME
DESCRIPTION
Configuration File
config
.cfg
This is the configuration (config) 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
*.bin
This is the generic name for the ZyNOS firmware on
the Switch.