Prepare a pre-upgrade checklist for Catalyst 9200/9300
Here is a reliable pre-upgrade checklist for Cisco Catalyst 9200/9300 switches before upgrading to a new IOS XE version:
Pre-Upgrade Checklist
Review Release Notes
- Verify hardware/software compatibility for version 17.15.03.
- Identify any mandatory intermediate upgrade paths, features affected, and known caveats.
Backup Current Configuration
Save the running configuration and archive startup config:
copy startup-config tftp: (or SCP/FTP/USB).Check Current Operating Mode
Ensure switches are in Install Mode, not Bundle Mode:
Confirm boot variable points to
packages.conf.
Validate Free Flash Space
Make sure at least 1 GB free space is available:
dir flash:Use
install remove inactiveto clear unused files.
Device Inventory and Stack Health
List all stack members. Confirm all online and healthy:
Network Reachability
Schedule Maintenance Window
Ensure sufficient downtime and notify stakeholders of planned maintenance.
Power and Environmental Check
Assure redundancy (StackPower, power supplies, fans), monitor for hardware alarms.
Configuration Review
Note feature changes (ACL, VLAN, QoS, trust configs) and document network-specific customizations.
Following the above will help prevent common upgrade issues and ensure a smooth transition to IOS XE 17.15.03 on Catalyst 9200/9300 series switches.
============================================================
Process for cisco switch 9200 & 9300 upgrade to version 17.15.03
To upgrade Cisco Catalyst 9200 and 9300 switches to IOS XE version 17.15.03, follow these general steps for each model. Both switches use nearly identical upgrade steps in install mode, which is the recommended method for modern Cisco Catalyst switches.
Preparation
Download the correct 17.15.03 .bin image from Cisco's support portal.
Console access to the switch is necessary.
Confirm the device is in Install Mode by running:
show versionSave the current configuration:
write memory
Upgrade Steps
Cleanup Unused Files
Run:install remove inactiveThis command clears old installation files and ensures enough flash space for the new image.
Copy the New Image
Use TFTP, FTP, USB, or another appropriate method:copy tftp://<server_ip>/cat9k_iosxe.17.15.03.SPA.bin flash:Replace with the actual filename and source/location as needed.
Set Boot Variable
Configure the switch to boot from the newly installed image package:conf t boot system flash:packages.conf no boot manual end write memoryInitiate the Upgrade
Perform the install and commit actions:textinstall add file flash:cat9k_iosxe.17.15.03.SPA.bin activate commitVerify the Upgrade
After reboot, check the software version:show versionAnd verify the flash contents:
dir flash:Also confirm the current boot variables:
Optional: Remove Old Packages (again)
For additional flash cleanup (post-upgrade):install remove inactive
Notes
In a stack, repeat this process for the stack master. Standby members will synchronize automatically.
Allow enough maintenance window time for backup, transfer, and reload sequence.
Always consult the official release notes and Cisco documentation for model-specific caveats and prerequisites.
These steps are valid for both Catalyst 9200 and 9300 series switches operating in install mode when upgrading to IOS XE 17.15.03
===========================================================
Create a rollback plan and test recovery steps for the upgrade
Here is a detailed rollback plan and test recovery steps for Catalyst 9200/9300 series switch upgrades:
Rollback Plan
Backup Before Upgrade
Set Auto-Abort Timer
The
installprocess uses an “auto-abort-timer” (default 120 minutes). If the upgrade isn’t committed (install commit) and a problem occurs, the switch will automatically roll back to the previous version upon timer expiry.You can adjust the timer (in minutes):
install activate auto-abort-timer <value>
Manual Rollback Command
Stack Considerations
Test Recovery Steps
Upgrade Failure Auto-Restore Test
Manual Recovery
If the switch becomes unresponsive or suffers a failed boot, connect via console.
Use ROMmon mode (if necessary) to boot the backup image manually:
boot flash:<old_image>.binRestore configuration from the backup copy.
Verification Post-Recovery
Key Best Practices
Keep a copy of the prior working image and configuration files on the switch flash and an external device.
Practice a test rollback in a lab environment when possible, or schedule a production maintenance window exclusively for recovery testing.
Document CLI output and error messages at each step for support reference.
By following this plan and testing the steps, a safe and predictable rollback path is assured for Catalyst 9200/9300 upgrades.
===========================================================
Define success criteria and RTO/RPO for rollback
Success criteria and RTO/RPO definitions are critical for evaluating a Catalyst 9200/9300 upgrade and potential rollback. Here is a precise breakdown:
Success Criteria
All switches (standalone or stack) boot successfully to the target or previous IOS XE version with no error messages.
All interfaces (uplink, access ports, stack links) come up with the correct state and configuration after rollback.
Network connectivity is fully restored (management and user VLANs, routing, PoE, etc.).
Feature set and services (L2/L3, ACLs, QoS, authentication) are functional and configured as prior to the upgrade.
Verification commands (
show version,show running-config, interface/status checks) align with pre-upgrade state.No config loss has occurred, and system logs show no critical errors related to the rollback event, ensuring network and business continuity.
RTO (Recovery Time Objective)
The maximum acceptable time to fully recover and restore switch operation after initiating a rollback should typically not exceed 60 minutes for standalone, and 90 minutes for a stack of switches in a standard enterprise setting.
RTO may be adjusted based on business SLA, network complexity, and maintenance window length, but should always be defined and tested before production upgrades.
RPO (Recovery Point Objective)
RPO for switch upgrades is generally “zero”: No configuration changes or data loss should occur after rollback—meaning the running and startup configs must match the last backup taken before the upgrade.
Ensure no network state or critical switch data (VLANs, SNMP, AAA, etc.) is lost during rollback, confirmed by verification checks post-recovery.
Clearly defining and validating these criteria ensures a reliable, recoverable upgrade path for Catalyst 9200/9300 switches.
No comments:
Post a Comment