# Managing the configuration and image files

Use the following procedure to upgrade, save, or restore a binary configuration, image, or diagnostic file.

## About this task

You can use the Config/Image/Diag file tab to transfer binary files to or from a TFTP server or a USB storage device. You can upgrade the switch agent image or diagnostic image.

## Procedure

1. From the navigation tree, double-click Edit.
2. In the Edit tree, click File System.
3. In the work area, click the Config/Image/Diag file tab.
4. To transfer files using a TFTP server, In the TFTPServerInetAddressType field, click a radio button.
5. To transfer files using a TFTP server, In the TFTPServerInetAddress field, type an IP address.
6. To transfer a configuration file, in the BinaryConfigFilename field, type a filename.
7. To transfer a configuration file, in the BinaryConfigUnitNumber field, enter a value.
8. To transfer an agent image file, in the ImageFileName field, type a filename.
9. To transfer a diagnostic image file, in the FWFileName(Diagnostics) field, type a filename.
10. In the Usb TargetUnit field, type a value.
    Important

    You must enter a value in the Usb TargetUnit field. Type 1 to 8 for a unit, 9 for a standalone unit, 0 for TFTP server, or 10 for SFTP server.

11. To download an agent image file as primary or secondary, in the Image field, click a radio button.
12. In the Action field, click a radio button.
13. On the toolbar, click Apply.
14. In the Status field, view and verify the status of your action.

## Result

The transfer process occurs immediately after clicking Apply. You can only perform one action at a time.

Important

If you are downloading an agent image, the process erases the contents of flash memory and replaces it with the new image. Do not interrupt the download process. Depending on network conditions, the process can take up to 10 minutes.

EDM provides a status bar on the progress of your software download. If you are downloading without using a NoReset option, EDM displays the estimated time for rebooting the switch. Otherwise, when the download process is complete, a message appears with an option to reboot the switch immediately . The switch can automatically reset and the new software image initiates a self test. During the agent image download process, the switch is not operational.

## Variable definitions

The following table describes managing binary configuration, image, and diagnostic files.

Variable | Value
--- | ---
TftpServerInetAddressType | Specifies the IP address type of the TFTP or SFTP server. Values include IPv4 or IPv6.
TftpServerInetAddress | Specifies the IP address of the TFTP or SFTP server.
BinaryConfigFilename | Specifies the binary configuration file currently associated with the switch. This field only applies to binary configuration files.
BinaryConfigUnitNumber | Specifies the unit number portion of the configuration file to be used for the standalone unit configuration. Values range from 0 to 8. If 0, the unit number is ignored. This field only applies to binary configuration files.
ImageFileName | Specifies the name of the image file currently associated with the switch. You can change this field to the filename of the software image to be downloaded.
FwFileName(Diagnostics) | Specifies the name of the diagnostic file currently associated with the switch. You can change this field to the filename of the software image to be downloaded.
Usb TargetUnit | Specifies the unit number for USB, or the transfer type to use during the upload or download operation. Values include: 1 to 8 — USB on unit 1 to 8 9 — USB on a standalone unit 0 — TFTP server 10 — SFTP server
Image | Specifies if the image to download is the primary or secondary image.
Action | Specifies the action to perform during the file transfer. Values include: other — no action dnldConfig — Downloads the configuration file from a TFTP or SFTP server upldConfig — Uploads the configuration file to a TFTP or SFTP server dnldConfigFromUsb — Downloads the configuration file from a USB storage device. upldConfigToUsb — Uploads the configuration file to a USB storage device. dnldImg — Downloads the agent image file from a TFTP or SFTP server. dnldImgIfNewer — Only downloads if newer than current image. dnldImgNoReset — Downloads the agent image and does not reset the switch. dnldImgFromUsb — Downloads the agent image from a USB storage device. dnldFw — Downloads the diagnostic image from a TFTP server. dnldFwNoReset — Downloads the diagnostic image and does not reset the switch. dnldFwFromUsb — Downloads the diagnostic image from a USB storage device.
Status | Indicates the status of the last action since the last switch reboot. Values include: other — No action has taken place. inProgress — The selected action is currently in process. success — The selected action completed successfully. fail — The selected action failed.