Downloading System Software Images to the Switch Using rcp
Downloading System Software Images to the Switch Using rcp
These sections describe how to download system software images to the switch supervisor engine and
to intelligent modules using rcp:
•
•
•
•
Understanding How rcp Software Image Downloads Work
You can download system software images to the switch using the remote copy protocol (rcp); rcp allows
you to download system image files over the network from an rcp server.
You can store multiple image files in the Flash memory.
Note
For more information on working with system software image files on the Flash file system, refer to
Chapter 30, "Using the Flash File System."
Preparing to Download an Image Using rcp
Before you begin downloading a software image using rcp, make sure of the following:
•
•
•
•
Downloading Supervisor Engine Images Using rcp
To download a supervisor engine software image to the switch from an rcp server, follow these steps:
Copy the software image file to the appropriate rcp directory on the workstation.
Step 1
Log into the switch through the console port or through a Telnet session. If you log in using Telnet, your
Step 2
Telnet session disconnects when you reset the switch to run the new software.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
29-6
Understanding How rcp Software Image Downloads Work, page 29-6
Preparing to Download an Image Using rcp, page 29-6
Downloading Supervisor Engine Images Using rcp, page 29-6
Sample rcp Download Procedures, page 29-7
Ensure that the workstation acting as the rcp server supports the remote shell (rsh).
Ensure that the switch has a route to the rcp server. The switch and the rcp server must be in the
same subnetwork if you do not have a router to route traffic between subnets. Check connectivity to
the rcp server using the ping command.
If you are accessing the switch through the console or a Telnet session without a valid username,
make sure that the current rcp username is the one you want to use for the rcp download. You can
enter the show users command to view the current valid username. If you do not want to use the
current username, create a new rcp username using the set rcp username command. The new
username will be stored in NVRAM. If you are accessing the switch through a Telnet session with
a valid username, this username will be used and there is no need to set the rcp username.
A power interruption (or other problem) during the download procedure can corrupt the Flash code.
If the Flash code is corrupted, you can connect to the switch through the console port. You can
download the Flash code again through an enabled port in VLAN 1. By default, port 1/1 is enabled.
You can use port 1/1.
Chapter 29
Working with System Software Images
78-12647-02