beautypg.com

2 ftp command line procedure, Table 60 filename conventions – ZyXEL Communications GS-3012F Series User Manual

Page 172

background image

Chapter 24 Maintenance

GS-3012/GS-3012F User’s Guide

172

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”).
5 Enter “bin” to set transfer mode to binary.
6 Use “put” to transfer files from the computer to the switch, for example, “put

firmware.bin ras” transfers the firmware on your computer (firmware.bin) to the switch
and renames it “ras”. Similarly, “put config.cfg config” transfers the configuration file
on your computer (config.cfg) to the switch and renames it “config”. Likewise “get
config config.cfg” transfers the configuration file on the switch to your computer and
renames it “config.cfg.” See earlier in this chapter for more information on filename
conventions.

7 Enter “quit” to exit the ftp prompt.

Table 60 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 and system-related data.

Firmware

ras

*.bin

This is the generic name for the ZyNOS firmware on the

switch.