Ftp Command Line; Filename Conventions - ZyXEL Communications XS-3900-48F User Manual

48-port 10gbe top-of-rack switch with 4-port 40gbe uplink
Table of Contents

Advertisement

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.
Table 126 Filename Conventions
FILE TYPE
Configuration File
Firmware
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.
XS3900-48F User's Guide
INTERNAL
EXTERNAL
NAME
NAME
config
.cfg
ras-0
*.bin
ras-1
DESCRIPTION
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.
This is the generic name for the ZyNOS firmware on the
Switch. ras-0 is image 1; ras-1 is image 2.
Chapter 35 Maintenance
273

Advertisement

Table of Contents
loading

Table of Contents