beautypg.com

8 ftp command line, 1 filename conventions, 2 ftp command line procedure – ZyXEL Communications GS-2724 User Manual

Page 191: Table 66 filename conventions

background image

Chapter 28 Maintenance

GS-2724 User’s Guide

191

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

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

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

28.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 66 Filename Conventions

FILE TYPE

INTERNAL

NAME

EXTERNA

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