03-30-2022 01:50 AM
Hi,
I am trying to update a C9200L-24P-4G firmware/software from version 16.9.4 to 17.07.01 and I get the error:
Reason: Unable to expand flash:/cat9k_lite_iosxe.17.07.01.SPA.bin
(the image cat9k_lite_iosxe.17.07.01.SPA.bin is copied on the Flash)
Solved! Go to Solution.
03-30-2022 04:46 AM
"sh boot" output looks good.
"more flash:packages.conf" output points to 17.7.1.
I am confident if the switch reboots, it will successfully boot into 17.7.1.
03-30-2022 02:55 AM
Post the complete output to the following commands:
03-30-2022 03:06 AM
Switch#sh ver
Cisco IOS XE Software, Version 16.09.04
Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 16.9.4, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Thu 22-Aug-19 17:30 by mcpre
Cisco IOS-XE software, Copyright (c) 2005-2019 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
ROM: IOS-XE ROMMON
BOOTLDR: System Bootstrap, Version 16.12.1r [FC2], RELEASE SOFTWARE (P)
Switch uptime is 4 hours, 28 minutes
Uptime for this control processor is 4 hours, 30 minutes
System returned to ROM by Power Failure or Unknown
System image file is "flash:packages.conf"
Last reload reason: Power Failure or Unknown
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Technology Package License Information:
------------------------------------------------------------------------------
Technology-package Technology-package
Current Type Next reboot
------------------------------------------------------------------------------
network-essentials Smart License network-essentials
dna-essentials Subscription Smart License dna-essentials
Smart Licensing Status: UNREGISTERED/EVAL MODE
cisco C9200L-24P-4G (ARM64) processor with 519008K/3071K bytes of memory.
Processor board ID JAE23470D5Z
1 Virtual Ethernet interface
28 Gigabit Ethernet interfaces
2048K bytes of non-volatile configuration memory.
1998948K bytes of physical memory.
819200K bytes of Crash Files at crashinfo:.
1941504K bytes of Flash at flash:.
0K bytes of WebUI ODM Files at webui:.
15350448K bytes of USB Flash at usbflash1:.
Base Ethernet MAC Address : a0:b4:39:1c:d6:80
Motherboard Assembly Number : 73-18699-06
Motherboard Serial Number : JAE23470D5Z
Model Revision Number : G0
Motherboard Revision Number : A0
Model Number : C9200L-24P-4G
System Serial Number : JAE23470D5Z
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 28 C9200L-24P-4G 16.9.4 CAT9K_LITE_IOSXE INSTALL
Configuration register is 0x102
03-30-2022 03:06 AM
Switch#sh boot
---------------------------
Switch 1
---------------------------
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
03-30-2022 03:07 AM
Switch#dir
Directory of flash:/
8098 -rwx 345568633 Jan 1 1970 00:30:52 +00:00 cat9k_lite_iosxe.16.09.04.SPA.bin
8099 drwx 4096 Mar 30 2022 08:52:57 +00:00 .installer
8101 -rw- 592 Mar 30 2022 05:04:07 +00:00 bootloader_evt_handle.log
8102 drwx 4096 Mar 30 2022 07:29:29 +00:00 core
32385 drwx 4096 Nov 20 2019 10:31:33 +00:00 .prst_sync
48577 drwx 4096 Nov 20 2019 10:27:54 +00:00 .rollback_timer
56673 drwx 4096 Nov 20 2019 10:14:35 +00:00 tech_support
64769 drwx 4096 Mar 30 2022 05:04:23 +00:00 dc_profile_dir
8103 -rw- 140 Mar 30 2022 05:04:24 +00:00 boothelper.log
8104 -rw- 123888 Mar 30 2022 05:04:42 +00:00 memleak.tcl
8106 drwx 4096 Nov 20 2019 10:17:05 +00:00 .dbpersist
8107 -rw- 0 Mar 30 2022 05:05:56 +00:00 rdope_out.txt
8108 -rw- 89 Mar 30 2022 05:06:10 +00:00 rdope.log
8109 drwx 4096 Nov 20 2019 10:16:26 +00:00 onep
8111 -rw- 2097152 Mar 30 2022 05:31:26 +00:00 nvram_config
8112 -rw- 2097152 Mar 30 2022 05:31:26 +00:00 nvram_config_bkup
8113 -rw- 35 Jan 23 2020 11:17:58 +00:00 pnp-tech-time
8114 -rw- 74603 Jan 23 2020 11:18:01 +00:00 pnp-tech-discovery-summary
8100 -rw- 140 Mar 24 2022 10:29:29 +00:00 boothelper.log.old
8145 -rw- 4913 Mar 30 2022 07:27:40 +00:00 packages.conf
8136 -rw- 299574284 Nov 20 2019 10:24:58 +00:00 cat9k_lite-rpbase.16.09.04.SPA.pkg
8139 -rw- 35549545 Nov 20 2019 10:25:30 +00:00 cat9k_lite-rpboot.16.09.04.SPA.pkg
8137 -rw- 3101708 Nov 20 2019 10:24:58 +00:00 cat9k_lite-srdriver.16.09.04.SPA.pkg
8138 -rw- 7586824 Nov 20 2019 10:24:58 +00:00 cat9k_lite-webui.16.09.04.SPA.pkg
8119 -rw- 536753139 Mar 30 2022 07:23:55 +00:00 cat9k_lite_iosxe.17.07.01.SPA.bin
8147 -rw- 470483992 Mar 30 2022 07:25:44 +00:00 cat9k_lite-rpbase.17.07.01.SPA.pkg
8150 -rw- 46804887 Mar 30 2022 07:26:27 +00:00 cat9k_lite-rpboot.17.07.01.SPA.pkg
8148 -rw- 5399576 Mar 30 2022 07:25:44 +00:00 cat9k_lite-srdriver.17.07.01.SPA.pkg
8149 -rw- 14533652 Mar 30 2022 07:25:45 +00:00 cat9k_lite-webui.17.07.01.SPA.pkg
8146 -rw- 4913 Mar 30 2022 07:26:27 +00:00 cat9k_lite_iosxe.17.07.01.SPA.conf
8134 -rw- 4877 Mar 30 2022 07:27:40 +00:00 packages.conf.00-
8135 -rw- 0 Mar 30 2022 07:27:47 +00:00 .onreboot
1956839424 bytes total (79777792 bytes free)
03-30-2022 04:22 AM
Output to the command "dir" looks good. Can we see the complete output to the command "more flash:packages.conf"?
03-30-2022 04:25 AM
Switch#more flash:packages.conf
#! /usr/binos/bin/packages_conf.sh
sha1sum: 420196a361fcf0ecad715ece958c888e1fd51c7d
sha256sum: e3c8cc146f307db62d12de3840eb85561b8a294603ae2ee8561454d727df2bc4
# sha1sum above - used to verify that this file is not corrupted.
#
# package.conf: provisioned software file for build 2021-12-04_15.40
#
# NOTE: Editing this file by hand is not recommended. It is generated
# as part of the build process, and is subject to boot-time
# consistency checks. Automatically-produced package files are
# guaranteed to pass those checks. Manually-maintained ones are
# not. Because "nfs" and "mount" directives are processed first,
# regardless of their position in the file, the recommended
# approach is to keep a separate file containing JUST your
# personal "nfs" and "mount" directives, and to append it to the
# automatically-generated file.
#
# Note further that when SHA-1 checksum verification is enabled,
# you will NOT be able to alter this file without updating the
# SHA-1 sum.
#
# This file can contain three types of entries:
#
#
# NFS directives (optional)
# notes: NFS directives are processed before all others (mount, iso).
# Multiple NFS directives may appear so long as they do not
# conflict -- that is, specify the same source or mountpoint.
# syntax: nfs <IP ADDRESS>:<REMOTE_PATH> <LOCAL_MOUNTPOINT>
# example: nfs 127.0.0.1:/auto/some/nfs/path /auto/some/nfs/path
#
#
# mount directives (optional)
# notes: mount directives are processed after 'nfs' and before 'iso'.
# One mount directive may appear for each F/S/B/P tuple
# syntax: mount FRU SLOT BAY PACKAGE_NAME NFS_PATH
# example: mount rp 0 0 rp_base /auto/some/nfs/path/abs_soft/rp_base.ppc
#
# The specified NFS_PATH must
# reference the NFS mounts created earlier.
#
# Mount directives cause the package-specific mount link to
# be set to the specified path instead of to the mountpoint
# in sw for the corresponding ISO.
#
#
# iso directives (mandatory)
# notes: iso directives are processed last: any package for which
# a 'mount' directive does not appear will be mounted.
# One iso directive may appear for each F/S/B/P tuple.
# syntax: iso FRU SLOT BAY PACKAGE_NAME PACKAGE_FILE.bin
# example: iso rp 0 0 rp_base rp_base.ppc.bin
#
# PACKAGE_FILE.bin is a path relative to the packages.conf
# file. Although it supports sub-directories for development
# purposes, in deployment the files will always be managed
# as in the same directory as packages.conf so as to
# guarantee that name collisions cannot occur.
#
# Note that the RP 0/1 distinction is a convenience for development
# and testing as it allows us to have a packages.conf describe a
# SW load that varies depending on whether the RP finds itself in
# slot 0 or 1.
#
# The ISSU process *must* update *both* RP slots simultaneously so that
# the RP will behave predictably whichever slot it finds itself on [e.g.,
# if package X is upgraded, and the RP is ejected and put into either
# slot of a new chassis, we expect to see the upgraded X without regard
# to slot].
#
boot rp 0 0 rp_boot cat9k_lite-rpboot.17.07.01.SPA.pkg
iso rp 0 0 rp_base cat9k_lite-rpbase.17.07.01.SPA.pkg
iso rp 0 0 rp_daemons cat9k_lite-rpbase.17.07.01.SPA.pkg
iso rp 0 0 rp_iosd cat9k_lite-rpbase.17.07.01.SPA.pkg
iso rp 0 0 rp_security cat9k_lite-rpbase.17.07.01.SPA.pkg
iso rp 0 0 rp_webui cat9k_lite-webui.17.07.01.SPA.pkg
iso rp 0 0 srdriver cat9k_lite-srdriver.17.07.01.SPA.pkg
iso fp 0 0 fp cat9k_lite-rpbase.17.07.01.SPA.pkg
iso cc 0 0 cc cat9k_lite-rpbase.17.07.01.SPA.pkg
iso cc 0 0 cc_srdriver cat9k_lite-srdriver.17.07.01.SPA.pkg
#
# -start- superpackage .pkginfo
#
# pkginfo: Name: rp_super
# pkginfo: BuildTime: 2021-12-04_15.40
# pkginfo: ReleaseDate: Sat-04-Dec-21-17:34
# pkginfo: .BuildArch: arm32
# pkginfo: BootArchitecture: arm32
# pkginfo: .BootArch: arm32
# pkginfo: RouteProcessor: quake
# pkginfo: Platform: CAT9K_LITE
# pkginfo: User: mcpre
# pkginfo: PackageName: universalk9
# pkginfo: Build: 17.07.01
# pkginfo: .SupportedBoards: quake
# pkginfo: .InstallModel:
# pkginfo: .PackageRole: rp_super
# pkginfo: .RestartRole: rp_super
# pkginfo: .UnifiedPlatformList: quake1,quake2
# pkginfo: CardTypes:
# pkginfo: .CardTypes:
# pkginfo: .BuildPath: /nobackup/mcpre/release/BLD-V17_07_01_FC5/binos/linkfarm/stage-quake/hard/rp_super_universalk9.arm32
# pkginfo: .Version: 17.07.01.0.82.1638661205..Cupertino
# pkginfo: .InstallVersion: 1.0.0
# pkginfo: .InstallCapCommitSupport: yes
# pkginfo: .PKGID: b6052f4b0bd9354fc48a68d8297474f09ab76f69
#
# -end- superpackage .pkginfo
03-30-2022 04:46 AM
"sh boot" output looks good.
"more flash:packages.conf" output points to 17.7.1.
I am confident if the switch reboots, it will successfully boot into 17.7.1.
03-30-2022 05:18 AM
Switch#sh ver
Cisco IOS XE Software, Version 17.07.01
Great success! Thanks.
03-30-2022 05:21 AM
boot rp 0 0 rp_boot cat9k_lite-rpboot.17.07.01.SPA.pkg iso rp 0 0 rp_base cat9k_lite-rpbase.17.07.01.SPA.pkg
as per this information looks good, reboot and test it.
03-30-2022 03:56 AM
What about the output to the command "dir"?
03-30-2022 04:21 AM
Last post is the response to dir command.
03-30-2022 04:12 AM
Do you have enough space in the Flash :
as asked before dir will help what space you have left in the device ?
03-30-2022 04:23 AM
1956839424 bytes total (79777792 bytes free)
So about 76 MB, not sure if that's enough - also not sure how I could delete something without the risk of removing important files.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide