Setup guide

B-5
Cisco 6400 Software Setup Guide
OL-1183-04
AppendixB Upgrading Software on the Cisco 6400
Upgrading Software on Nonredundant NSPs
Step 3 Use the more system:running-config EXEC command to view the current NRP-2 image configuration.
Switch# more system:running-config
...
hw-module slot 2 image c6400r2sp-g4p5-mz.121-4.DC1 priority 2
hw-module slot 2 image tftp://10.1.1.1/c6400r2sp-g4p5-mz.121-4.DC1 priority 3
hw-module slot 2 image disk0:MyDir/c6400r2sp-g4p5-mz.121-4.DC1 priority 4
hw-module slot 3 image c6400r2sp-g4p5-mz.121-4.DC1 priority 2
...
Step 4 Use the hw-module (image) global configuration command to add to, replace, or delete the NRP-2
image configuration.
Switch# configure terminal
Switch(config)# hw-module slot 2 image c6400r2sp-g4p5-mz.122-13.T priority 2
Switch(config)# no hw-module slot 2 image tftp://10.1.1.1/c6400r2sp-g4p5-mz.122-13.T
Switch(config)# hw-module slot 2 image disk0:MyDir/c6400r2sp-g4p5-mz.122-13.T priority 4
Without the hw-module (image) command in the NSP configuration, the NRP-2 attempts to load the
default image (c6400r2sp-g4p5-mz) from the disk0:/images/ directory.
Step 5 Use the hw-module (reset) EXEC configuration command to reload the NRP-2.
Switch(config)# end
Switch# hw-module slot 2 reset
Timesaver If you do not use all the priority values for NRP-2 images, leave priority 1 free for new or temporary
images. Otherwise, you will have to adjust the priority levels of the other images for your NRP-2 to
accommodate the new image.
Upgrading Software on Nonredundant NSPs
This section describes how to upgrade software on an NSP that is not configured for redundancy. To
upgrade software on redundant NSPs, see the Upgrading Software on Redundant NSPs” section on
pageB-14.
To upgrade the software images on the NSP, complete the following steps:
Step 1 Use the dir EXEC command to locate and identify the images you will replace.
Switch# dir disk0:
Switch# dir disk1:
Switch# dir bootflash:
Step 2 Use the copy EXEC command to back up the images to a TFTP server.
Switch# copy disk0:c6400s-wp-mz.120-7.DB tftp://10.1.1.1/c6400s-wp-mz.120-7.DB
Switch# copy disk0:c6400s-html.tar.120-5.DB tftp://10.1.1.1/c6400s-html.tar.120-5.DB
Switch# copy bootflash:c6400s-wp-mz.120-5.DB tftp://10.1.1.1/c6400s-wp-mz.120-5.DB
Step 3 Use the delete, and for boot flash, the squeeze EXEC commands to delete the old images.
Switch# delete disk0:c6400s-wp-mz.120-7.DB
Switch# delete disk0:c6400s-html.tar.120-5.DB
Switch# delete bootflash:c6400s-wp-mz.120-5.DB
Switch# squeeze bootflash