Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Administration (Rev. 03)
Downloading and Uploading the Software Image and Reload Commands © 2008 Foundry Networks, Inc.
Page 36 of 87
Downloading and Uploading the Software
Image and Reload Commands
Downloading the Application Software Image to the
Switch Using TFTP
Understanding How TFTP Software Image Downloads Work
The user can download a software image to the device using the Trivial File Transfer Protocol
(TFTP). TFTP allows downloading the software image files over the network from a TFTP server.
Preparing to Download an Image Using TFTP
Before the user begins to download a software image using TFTP, take the following precautions:
Ensure that the workstation acting as the TFTP server is configured properly.
Ensure that the device has a route to the TFTP server. The device and the TFTP server must be in
the same subnet if the user does not have a router to route traffic between subnets. Check
connectivity to the TFTP server using the
ping
command.
Ensure that the software image to be downloaded is in the correct directory on the TFTP server.
Ensure that the permissions on the file are set correctly. Permissions on the file should be at least
read
for the specific username.
A power outage (or other problem) during the download procedure can corrupt the Flash code. If
the Flash code is corrupted, the user can connect to the device through the console port, format
the FLASH memory and download the application.
Downloading an Image from a TFTP Server
1.
Copy the software image file to the appropriate TFTP directory on the workstation.
2.
Log into the device through the console port or through a Telnet session. If the user logs in
using Telnet, the Telnet session will disconnect when the user resets the device to run the
new software.
3.
Download the software image from the TFTP server using the
copy application
command in
Privileged (Enable) mode.
4.
If there is not enough free space on Flash to store the desired file, for example:
Loader>
copy application tftp://10.3.71.187/v2.0.02.Z
TFTP receiving file ... 4510208% Can not write to file
% Copy of file failed
4.1. Use the
dir
command to indicate the available space on Flash.
Examples
:
Loader>
dir
Listing Directory flash:/:
d S 2048 Jan 1 1980 00:01 Boot/
d S 2048 Jan 1 1980 00:06 Etc/
d S 2048 Jan 1 1980 00:00 Log/
d S 2048 Jan 1 1993 01:40 Usr/
d SH 2048 Jan 1 1980 00:00 Hidden/