Skip to Content
Cisco IOS Cookbook, 2nd Edition
book

Cisco IOS Cookbook, 2nd Edition

by Kevin Dooley, Ian Brown
December 2006
Intermediate to advanced
1188 pages
72h 8m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS Cookbook, 2nd Edition

Warm Upgrade

Problem

You want to upgrade the router IOS version with minimal service interruption.

Solution

To perform a warm IOS upgrade, use the following commands:

Router1#configure  terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router1(config)#warm-reboot
Router1(config)#end
Router1#reload warm file slot0:c3745-ipbasek9-mz.124-7.bin

Tip

In order to perform a warm IOS upgrade, you must enable the warm reboot feature. For more information regarding the warm reboot feature, please see the previous recipe.

Discussion

Beginning with IOS Version 12.3(11)T, Cisco introduced the ability to perform warm IOS upgrades. The warm IOS upgrade feature allows the router to load a new IOS version into memory and decompress it before transferring control to the new image. Since the router continues to operate normally while the new image is loaded and decompressed, it greatly reduces service interruption.

Tip

The warm upgrade also can be used to downgrade an IOS version.

Before you can use the warm IOS upgrade feature, you must first enable the warm reboot feature and perform a cold reboot. For more information on enabling the warm reboot feature, please see the previous recipe, Recipe 1.19.

Once you’ve enable the warm reboot feature, you can perform a warm IOS upgrade by using the reload warm file command. Note that the command can load the new IOS image from a variety of locations including flash, slot0, slot1, a TFTP server, and so on:

Router1#reload warm file slot0:c3745-ipbasek9-mz.124-7.bin ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

IP Routing on Cisco IOS, IOS XE, and IOS XR: An Essential Guide to Understanding and Implementing IP Routing Protocols

IP Routing on Cisco IOS, IOS XE, and IOS XR: An Essential Guide to Understanding and Implementing IP Routing Protocols

Brad Edgeworth, Aaron Foss, Ramiro Garza Rios
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596527225Supplemental ContentErrata Page