beautypg.com

8 ftp command line, 1 filename conventions, 1 example ftp commands – ZyXEL Communications GS-4012F/4024 User Manual

Page 214: Table 82 filename conventions

background image

GS-4012F/4024 User’s Guide

Chapter 32 Maintenance

213

3 Choose a location to save the file on your computer from the Save in drop-down list box

and type a descriptive name for it in the File name list box. Click Save to save the
configuration file to your computer.

32.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.

32.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, etc.. 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.

32.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.

Note: Be sure to upload the correct model firmware as uploading the wrong model

firmware may damage your device.

Table 82 Filename Conventions

FILE TYPE

INTERNAL
NAME

EXTERNAL
NAME

DESCRIPTION

Configuration File

config

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

*.bin

This is the generic name for the ZyNOS firmware on

the switch.