Managing firmware, Automatic operation code upgrade – LevelOne FGL-2870 User Manual

Page 76

Advertising
background image

Configuring the Switch

3-22

3

Managing Firmware

You can upload/download firmware to or from an FTP or TFTP server. Just specify
the method of file transfer, along with the file type and file names as required. By
saving run-time code to a file on an FTP or TFTP server, that file can later be
downloaded to the switch to restore operation.

Note:

You can also download and upload files to the switch using HTTP, see "Uploading
and Downloading Files Using HTTP" on page 3-30.

Only two copies of the system software (i.e., the run-time firmware) can be stored in
the file directory on the switch. When downloading run-time code, the destination file
name can be specified to replace the current run-time code file, or the file can be
first downloaded using a different name from the current run-time code file, and then
the new file set as the startup file.

Command Attributes
File Transfer Method – The firmware copy operation includes these options:

- file to file – Copies a file within the switch directory, assigning it a new name.
- file to tftp – Copies a file from the switch to a TFTP server.
- tftp to file – Copies a file from a TFTP server to the switch.
- file to ftp – Copies a file from the switch to an FTP server.
- ftp to file – Copies a file from an FTP server to the switch.

TFTP/FTP Server IP Address – The IP address of an FTP or TFTP server.
User Name – The user name for FTP server access.
Password – The password for FTP server access.
File Type – Specify opcode (operational code) to copy firmware.
File Name – The file name should not contain slashes (\ or /), the leading letter of

the file name should not be a period (.), and the maximum length for file names on
the FTP/TFTP server is 127 characters or 31 characters for files on the switch.
(Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”)

Note:

Up to two copies of the system software (i.e., the run-time firmware) can be stored
in the file directory on the switch. The currently designated startup version of this
file cannot be deleted.

Automatic Operation Code Upgrade

The system can be configured to automatically download an operation code file
when a file newer than the currently installed one is discovered on the file server.
After the file is transferred from the server and successfully written to the file system,
it is automatically set as the startup file, and the switch is rebooted.

Command Usage
• If this feature is enabled, the switch searches the defined URL once during the

bootup sequence.

• FTP (port 21) and TFTP (port 69) are both supported. Note that the TCP/UDP port

bindings cannot be modified to support servers listening on non-standard ports.

Advertising