After the ROMMON is upgraded, it will take effect on the next reload. If you go back to an older release after this, the ROMMON is not downgraded. The updated ROMMON supports all previous releases.
Upgrade Methods
This document covers upgrade procedures for the Catalyst 9600 switch that uses either BUNDLE or INSTALL modes.
Install Mode
An install mode upgrade on a Cisco Catalyst 9600 switch is a method of upgrading the switch's software that involves using individual software packages rather than a single monolithic image file.
Please follow the outlined steps for an upgrade in Install mode.
1. Cleanup
Remove any inactive installations with the command:
Switch#install remove inactive
2. Copying the New Image
Transfer the new .bin image file to the active supervisor's flash storage using one of the following methods:
Via TFTP:
Switch#copy tftp://Location/directory/<file_name> flash:
Via USB:
Switch# copy usbflash0:<file_name> flash:
Confirm the available file systems with:
Switch#show file systems
3. Verification
After transferring the IOS to the active supervisor's flash , check if the image is correctly copied with:
Switch#dir flash:
(Optional) To verify the MD5 checksum, use the command:
Switch#verify /md5 flash:<file_name>
Make sure this checksum matches the one provided on the Software Download page.
4. Setting the Boot Variable
Set the boot variable to point to the packages.conf file with the following commands:
Switch#config terminal
Switch(config)#no boot system
Switch(config)#boot system flash:packages.conf
Switch(config)#end
5. Autoboot Configuration
Configure the switch to autoboot by executing:
Switch#config terminal
Switch(config)#no boot manual
Switch(config)#end
6. Saving Configuration
Save your current configuration with:
Switch#write memory
Confirm the boot settings with the command:
Switch#show boot
7. Installation of the Image
To install the image, use the command:
Switch#install add file flash:<file_name> activate commit
When prompted with "This operation requires a reload of the system. Do you want to proceed? [y/n]," respond with "y" to proceed.
8. Verification of successful upgrade
Switch#show version
Switch#show redundancy
Note: Replace with the actual name of your IOS image file throughout the steps.
Bundle Mode
A bundle mode upgrade on a Cisco Catalyst 9600 switch refers to a method of upgrading the switch's software where the entire software image is bundled into a single file. This file includes all the necessary components such as the operating system, device drivers, and other essential software required for the switch to operate. The upgrade involves a single software image file, typically with a .bin extension. This contrasts with other methods, such as install mode, which may involve multiple files and packages.
Please follow the outlined steps for an upgrade in Bundle mode.
1. Transfer the new image (.bin file) to the flash memory of each supervisor module installed (in case of dual sup or SVL) in the switch using one of these methods
Via TFTP:
Switch#copy tftp://Location/directory/<file_name> bootflash:
Switch#copy tftp://Location/directory/<file_name> stby-bootflash:
Via USB:
Switch#copy usbflash0:<file_name> bootflash:
Switch#copy usbflash0:<file_name> stby-bootflash:
2. Confirm the available file systems by using the command
Switch#show file systems
3. After copying the IOS to all member switches, verify that the image has been correctly copied with
Switch#dir bootflash:
Switch#dir stby-bootflash:
4. (Optional) Verify the MD5 checksum with the command:
Switch#verify /md5 bootflash:<file_name>
Switch#verify /md5 stby-bootflash:<file_name>
Ensure that the output matches the MD5 checksum value provided on the Software Download page.
5. Configure the boot variable to point to the new image file with these commands
Switch#config terminal
Switch(config)#no boot system
Switch(config)#boot system bootflash:<file_name>
Switch(config)#end
6. Save the configuration
Switch#write memory
7. Verify the boot settings using
Switch#show boot
8. Reload the switch to apply the new IOS
Switch#reload
9. Verification of successful upgrade
Switch#show version
Switch#show redundancy
Note: Replace with the actual name of your IOS image file throughout the steps.
In Service Software Upgrade (ISSU)
In-Service Software Upgrade is a process that upgrades an image to another image on a device while the network continues to forward packets. ISSU helps network administrators avoid a network outage when they perform a software upgrade. The images are upgraded in install mode, wherein, each package is upgraded individually.
ISSU is supported on 9600 Stackwise-Virtual and also on 9600 stand-alone chassis with dual supervisors.
-
For Catalyst 9600 in dual supervisor module configuration and with StackWise Virtual, ISSU support starts from Cisco IOS XE Gibraltar 16.12.1.
-
For Catalyst 9600X with StackWise Virtual, ISSU support starts from Cisco IOS XE Cupertino 17.12.1.
-
For Catalyst 9600X in dual supervisor module configuration, ISSU support starts from Cisco IOS XE Cupertino 17.9.1.
Please ensure the current SW version and Target SW version is suitable for ISSU upgrade using the link below :
Compatibility Matrix
Note:
-
For ISSU upgrade from 17.3.1, 17.3.2, 17.3.3, or 17.3.4 to 17.6.x in standalone chassis with quad supervisor or high availability setup, you must perform an ISSU upgrade to 17.3.5 and then perform ISSU upgrade to the final target release version. ISSU upgrade to 17.9.1 might fail. See CSCwc54402 for more details.
-
ISSU upgrade from 17.6.4 to 17.9.3 might fail. See CSCwc54402 for more details.
Pre-requisites for ISSU
1. Check the Current Code Version
C9600#show version | include IOS XE
2. Check the Boot Mode
ISSU is supported only if both the switches in StackWise Virtual are booted in Install mode.
C9600#show ver | include INSTALL
3. Check if There is Sufficient Available Memory on Flash
C9600#dir flash: | include free
11353194496 bytes total (8565174272 bytes free)
C9600#dir stby-flash: | include free
11353980928 bytes total (8566865920 bytes free)
4. Check if Switches are in SSO Mode
C9600#show redundancy
Redundant System Information :
------------------------------
Available system uptime = 4 minutes
Switchovers system experienced = 0
Standby failures = 0
Last switchover reason = none
Hardware Mode = Duplex
Configured Redundancy Mode = sso
Operating Redundancy Mode = sso <----------
Maintenance Mode = Disabled
Communications = Up
Current Processor Information :
-------------------------------
Active Location = slot 1
Current Software state = ACTIVE <----------
Uptime in current state = 30 minutes
Image Version = Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.2, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Mon 05-Nov-18 19:32 by mcpre
BOOT = flash:packages.conf;
CONFIG_FILE =
Configuration register = 0x102
Peer Processor Information :
----------------------------
Standby Location = slot 2
Current Software state = STANDBY HOT <----------
Uptime in current state = 26 minutes
Image Version = Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.2, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Mon 05-Nov-18 19:32 by mcpre
BOOT = flash:packages.conf;
CONFIG_FILE =
Configuration register = 0x102
5. Check if Auto-Boot is Enabled
C9600#show boot system
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf;
Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no <----- Manual Boot should be set to "no"
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
---------------------------
Switch 2
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf;
Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
If Auto-Boot is not enabled, this can be changed as shown:
C9600(config)#no boot manual
6. Check the Current ISSU and Install States
C9600#show issu state detail
--- Starting local lock acquisition on switch 1 ---
Finished local lock acquisition on switch 1
No ISSU operation is in progress <----- If see anything else, abort ISSU before proceeding.
Check on how to manually abort ISSU.
C9600#show install summary
[ Switch 1 2 ] Installed Package(s) Information:
State (St): I - Inactive, U - Activated & Uncommitted,
C - Activated & Committed, D - Deactivated & Uncommitted
--------------------------------------------------------------------------------
Type St Filename/Version
--------------------------------------------------------------------------------
IMG C 16.9.2.0.2433 <----- State should be Activated & Committed for current version alone.
If not clear install state before proceeding. Check on how to clear install state.
--------------------------------------------------------------------------------
Auto abort timer: inactive
--------------------------------------------------------------------------------
Steps To Upgrade
Please follow the outlined steps to perform an In-Service Software Upgrade (ISSU) upgrade.
1. Cleanup
Remove any inactive installations with the command:
Switch#install remove inactive
2. Copying the New Image
Transfer the new .bin image file to the active supervisor's flash storage using one of the following methods:
Via TFTP:
Switch#copy tftp://Location/directory/<file_name> flash:
Via USB:
Switch#copy usbflash0:<file_name> flash:
Confirm the available file systems with: show file systems
3. Verification
After transferring the IOS to the active supervisor's flash, check if the image is correctly copied with:
Switch#dir flash:
(Optional) To verify the MD5 checksum, use the command:
Switch#verify /md5 flash:<File_name>
Make sure this checksum matches the one provided on the Software Download page.
4. Setting the Boot Variable
Set the boot variable to point to the packages.conf file with the following commands:
Switch#config terminal
Switch(config)#no boot system
Switch(config)#boot system flash:packages.conf
Switch(config)#end
5. Autoboot Configuration
Configure the switch to autoboot by executing:
Switch#config terminal
Switch(config)#no boot manual
Switch(config)#end
6. Saving Configuration
Save your current configuration with:
Switch#write memory
Confirm the boot settings with the command:
Switch#show boot
7. Installation of the Image
To install the image, use the command:
Switch#install add file flash:<file_name> activate issu commit
Once you run the command noted here, the process starts and reloads sup automatically. Do not run the command until you are ready for sups to start to reboot. Unlike the normal upgrade process, it does not ask for confirmation from you before the reload happens.
Once you run this command, the ISSU process extracts the files, reloads the standby sup, waits for it to get back to SSO then failover reloads the active.
Note: Replace with the actual name of your IOS image file throughout the steps.
ISSU Validation Steps
Once ISSU is completed,
-
Check if both switches run on the new software.
-
Check show issu state detail output to be clean and not showing any ISSU in progress.
-
Check show install issu history output to ensure successful ISSU operation (Command available only with 16.10.1 release and later).
Steps to Recover from ISSU Failure
-
If ISSU fails, it is expected that auto-abort can recover the system back to its initial state (older image). However, if this fails as well, manual recovery of the chassis is expected.
-
During manual recovery, check if both active and standby run the older image (if not, recover the individual chassis).
-
After you ensure both chassis run the old image, runinstall remove inactive to remove any unused image packages.
-
Once both chassis run the old software, manually clean all the internal states of ISSU operation. (Refer here on how to clean the internal ISSU states).
Abort ISSU
In the 3-Step Work Flow, during the activate ISSU process, the system can auto-abort to an older image if the abort-timer expires. Manual abort is required if the standby does not reach SSO during abort. Also, if for any reason you wish to abort the ISSU in between, manual abort is required.
C9600#install abort issu
Clean ISSU State
If ISSU upgrade/downgrade/abort/auto-abort is not successful, manual clean-up of ISSU internal states is required.
Enable the service internally before running the following command:
C9600(config)#service internal
C9600(config)#end
C9600#clear install state
clear_install_state: START Tue Nov 13 17:05:47 UTC 2018
--- Starting clear_install_state ---
Performing clear_install_state on all members
[1] clear_install_state package(s) on chassis 1
[1] Finished clear_install_state on chassis 1
Checking status of clear_install_state on [1]
clear_install_state: Passed on [1]
Finished clear_install_state
C9600#show issu state detail
--- Starting local lock acquisition on chassis 1 ---
Finished local lock acquisition on chassis 1
No ISSU operation is in progress