C
HAPTER
4 -
Troubleshooting and Software Maintenance
Software Maintenance
DS2000-TS Administrator’s Guide
4 - 7
put
Puts a local file onto a remote host. Note that the user password is also required
following the file name of the file being placed on the remote host, not the file
name from the local system.
put example:
ftp> put cnfgload.cmp cnfgload.cmp/secret
200 port command Okay.
150 File status okay
226 Data transfer complete
ftp: nnnn bytes received in n.nnSeconds n.nnKbytes/sec.
ftp>
quit
Terminates the current FTP session and returns the user to the local directory and
command prompt.
disconnect Terminates the FTP session while maintaining the ftp> prompt.
open
Used from the FTP prompt to open an FTP connection to a remote host. Same
syntax and command structure as FTP above.
help
Lists all standard FTP commands although most are not supported.
?
When used preceding a command gives a short description of that command.
To perform FTP operations, the user logs into the system using a simple FTP command to the IP address of
the host FTP server. This operation also requires a valid username and password.
4.4.2 TFTP Commands
There are various TFTP packages available and the syntax varies. The following syntax and command
structure is used in this manual for TFTP commands:
TFTP [-i] host [GET | PUT] source [filename] destination [filename]
-i
Specifies binary image transfer. In binary image mode the file is moved byte by
byte. Use this mode when transferring binary files.
host
Specifies the remote host (i.e. 192.168.42.5)
GET
Retrieves the file source from the remote source and saves the file in the current
local directory
PUT
Sends the file source on the local host to the file destination on the remote host
source
Specifies the file to transfer
destination Specifies the destination for the transferred file
4.4.3 Creating a Compressed Configuration File
A compressed configuration file is created to store the current configuration of the
D
YNA
S
TAR
2000
in the
event that a new system is required or a new software build is implemented. When the cnfgload.cmp file is
present on the system, and the system is initialized, the cnfgload.cmp file will be used to configure the
system. This saves the time required to re-enter the user configurable parameters. This section describes
using FTP and TFTP commands to “get” and create a compressed cnfgload.cmp file on a
DS2000-TS
. When
the
DS2000-TS
receives a GET cnfgload.cmp command it creates the file and sends it to the requestor
without saving it to local memory. Once received, it is recommended that this file be saved elsewhere for
contingency purposes, appropriately labeled to indicate its origin and any other information to help a system
administrator identify it. This file is very important as it contains all of the system configuration information.
The following examples show both FTP commands and a generic TFTP program to create the file. Some of
the syntax and command structure may vary depending on the platform or TFTP software vendor. You will
need to know the IP address of the
DS2000-TS
before proceeding. (Refer to the previous paragraphs, ”FTP