Chapter 28 Maintenance
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, 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 85 Filename Conventions
FILE TYPE | INTERNAL | EXTERNAL | DESCRIPTION | |
NAME | NAME | |||
|
| |||
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, | |
|
|
| default password), the error log and the trace log. | |
|
|
|
| |
Firmware | ras | *.bin | This is the generic name for the ZyNOS firmware on | |
|
|
| the Switch. | |
|
|
|
|
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.
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
1Launch the FTP client on your computer.
2Enter open, followed by a space and the IP address of your Switch.
3Press [ENTER] when prompted for a username.
4Enter your password as requested (the default is “1234”).
| 231 |
|
|