Chapter 35 Maintenance
XS3900-48F User’s Guide
273
35.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.
35.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.
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.
35.8.1.1 Example FTP Commands
ftp> put firmware.bin ras-0
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”, “ras-0”, and “ras-1”. Be sure
you keep unaltered copies of both files for later use.
Table 126
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-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.
Содержание XS-3900-48F
Страница 15: ...15 PART I User s Guide ...
Страница 16: ...16 ...
Страница 48: ...Chapter 2 Tutorials XS3900 48F User s Guide 48 ...
Страница 62: ...Chapter 4 The Web Configurator XS3900 48F User s Guide 62 ...
Страница 63: ...63 PART II Technical Reference ...
Страница 64: ...64 ...
Страница 227: ...Chapter 26 VLAN Mapping XS3900 48F User s Guide 227 ...
Страница 320: ...Appendix A Common Services XS3900 48F User s Guide 320 ...
Страница 332: ...Index XS3900 48F User s Guide 332 ...