229
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Upgrading the Cisco IOS Software
How to Upgrade the Cisco IOS Image
What to Do Next
Proceed to the
“Loading the New System Image” section on page 232
.
Using the ROM Monitor to Copy the System Image over a Network
This section describes how to download a Cisco IOS software image from a remote TFTP server to the
router flash memory by using the
tftpdnld
ROM monitor command.
Caution
Using the
tftpdnld
ROM monitor command may erase the system image, configuration, and data files.
System image, configuration, and data files must be present on USB CF in slot0 for the router to boot
and perform normal file operations.
Before you can enter the
tftpdnld
ROM monitor command, you must set the ROM monitor environment
variables.
Prerequisites
Connect the TFTP server to a fixed network port on your router.
Restrictions
The LAN ports on network modules or interface cards are not active in ROM monitor mode. Therefore,
only a fixed port on your router can be used for TFTP download. This can be either a fixed Ethernet port
on the router or one of the Gigabit Ethernet ports on routers equipped with them.
Note
You can use this command only to download files to the router. You cannot use
tftpdnld
to get files from
the router.
SUMMARY STEPS
1.
Enter ROM monitor mode
2.
Set the IP_ADDRESS=ip_address configuration variable.
3.
Set the IP_SUBNET_MASK=ip_address configuration variable.
4.
Set the DEFAULT_GATEWAY=ip_address configuration variable.
5.
Set the TFTP_SERVER=ip_address configuration variable.
6.
Set the TFTP_FILE=[directory-path/]filename configuration variable.
7.
(Optional) Set the GE_PORT=[0 | 1| 2 | 3] port number for download.
8.
(Optional) Set the TFTP_MEDIA_TYPE=[0 | 1] copper or fiber.
9.
(Optional) Set the TFTP_MACADDR= mac address of unit.
10.
(Optional) Set the TFTP_VERBOSE= [0 | 1| 2] print setting variable.
11.
(Optional) Set the TFTP_RETRY_COUNT=retry_times configuration variable.
12.
(Optional) Set the TFTP_TIMEOUT=timeout of operation in seconds.
13.
(Optional) Set the TFTP_ACK_RETRY=ack retry in seconds.
14.
(Optional) Set the TFTP_CHECKSUM=[0 | 1] perform checksum test on image.