1021
Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Software Images
If you kept the old image during the download process (you specified the
/leave-old-sw
keyword), you can remove it by
entering the
delete /force /recursive
filesystem
:/
file-url
privileged EXEC command. For
filesystem
, use
flash:
for the
system board flash device. For
file-url
, enter the directory name of the old software image. All the files in the directory
and the directory are removed.
Caution:
For the download and upload algorithms to operate properly, do
not
rename image names.
Uploading an Image File By Using FTP
You can upload an image from the switch to an FTP server. You can later download this image to the same switch or to
another switch of the same type.
Use the upload feature only if the web management pages associated with the embedded Device Manager have been
installed with the existing image.
Beginning in privileged EXEC mode, follow these steps to upload an image to an FTP server:
The
archive upload-sw
command builds an image file on the server by uploading these files in order: info, the Cisco
IOS image, and the web management files. After these files are uploaded, the upload algorithm creates the tar file format.
Caution:
For the download and upload algorithms to operate properly, do
not
rename image names.
Copying Image Files By Using RCP
You can download a switch image from an RCP server or upload the image from the switch to an RCP server.
Command
Purpose
1.
Verify that the FTP server is properly configured by
referring to the
Preparing to Download or Upload a
Configuration File By Using FTP, page 1004
2.
Log into the switch through the console port or a
Telnet session.
3.
configure terminal
Enters global configuration mode.
This step is required only if you override the default remote
username or password (see Steps 4, 5, and 6).
4.
ip ftp username
username
(Optional) Changes the default remote username.
5.
ip ftp password
password
(Optional) Changes the default password.
6.
end
Returns to privileged EXEC mode.
7.
archive upload-sw
ftp:
[[
//
[
username
[
:
password
]
@
]
location
]
/
directory
]
/
i
mage-name
.tar
Uploads the currently running switch image to the FTP
server.
For
//
username
:
password
, specify the username and
password. These must be associated with an account
on the FTP server.
For
@
location
, specify the IP address of the FTP server.
For
/
directory
/
image-name
.tar
, specify the directory
(optional) and the name of the software image to be
uploaded. Directory and image names are case
sensitive. The
image-name
.tar
is the name of the
software image to be stored on the server.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...