SDFlash から Flash
このシナリオでは、スイッチで実行されている Cisco IOS XE 17.9.x 以前を Cisco IOS XE 17.10.x 以降にアップグレードします。
-
Cisco IOS XE は SDFlash から実行されていますが、17.10 イメージは Flash から実行される必要があります。
-
手順が完了すると、Cisco IOS XE イメージと startup-config はいずれも引き続きオンボード Flash から起動されます。
アップグレード手順
次の手順を実行します。
-
running-config を SDFlash から Flash に同期します。
-
Cisco IOS XE 17.10 イメージをダウンロードし、イメージを Flash に保持します。
-
次の ROM モニター環境変数を設定します。
-
no boot system
-
no boot manual
-
boot system flash:<your-switch>-universalk9.17.10.01.SPA.bin
-
boot flash-primary
-
-
システムをリロードします。
-
リロード後、ブートローダー アップグレードがスイッチで実行され、Flash から Cisco IOS XE 17.10 が起動されます。
例
IE-3200-8P2S#sync sdflash: flash: skip ios-image
BOOT Image: ie3x00-universalk9.17.08.01.SPA.bin
Skip file IOS-image : [OK]
Verifying src nvram_config : [OK]
Verifying dst nvram_config file : [OK]
Verifying src cfg.dat : [OK]
Verifying dst cfg.dat file : [OK]
Syncing IOS image file(s) and directory from 'sdflash' to 'flash' ....
Copying from sdflash: ie3x00-universalk9.17.08.01.SPA.bin to flash: ie3x00-universalk9.17.08.01.SPA.bin : [OK]
Syncing nvram_config file from sdflash to flash : [OK]
Syncing cfg.dat file from sdflash to var : [OK]
Update Boot Variable:BOOT=flash: ie3x00-universalk9.17.08.01.SPA.bin;
IE-3200-8P2S#dir flash:
Directory of flash:/
7 -rwx 33554432 Dec 28 2021 10:49:02 nvram_config
12 drwx 8192 Dec 14 2021 19:12:08 ProfinetGSD
11 -rwx 0 Dec 10 2021 06:27:12 dlr.dat
10 drwx 8192 Dec 8 2021 11:47:26 EDScisco
9 drwx 8192 Dec 8 2021 10:41:50 moncfg
8 -r-x 344874593 May 31 2021 20:29:40 ie3x00-universalk9.17.10.01.SPA.bin
15914926080 bytes total (15351865344 bytes free)
IE-3200-8P2S(config)#no boot system
IE-3200-8P2S(config)#boot system flash:ie3x00-universalk9.17.10.01.SPA.bin
IE-3200-8P2S(config)#no boot manual
IE-3200-8P2S(config)#boot flash-primary
IE-3200-8P2S#show boot
Current Boot Variables:
BOOT variable does not exist
Boot Variables on next reload:
Config file = flash:nvram_config
ENABLE_FLASH_PRIMARY_BOOT = yes
MANUAL_BOOT variable = no
IE-3200-8P2S#write memory
Building configuration...
[OK]
IE-3200-8P2S#reload
Proceed with reload? [confirm]
*Sep 7 06:58:56.520: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
watchdog: watchdog0: watchdog did not stop!
reboot: Restarting system
Initializing disk drivers...
Initializing file systems...
************************************************************
* Rom Monitor for IE3x00 *
* Copyright (c) 2017-2021 by Cisco Systems, Inc. *
* All rights reserved. *
************************************************************
* Version: 7.0.14
* Compiled: Wed 20-Apr-22 22:53 [DEVELOPMENT SOFTWARE]
* Boot Partition: qspi-upgrade-bootloader
* Reset Reason: Soft Reset
* REL and DEV keys installed
Loading "flash:ie3x00-universalk9.17.10.01.SPA.bin" to memory...
Verifying image "flash:ie3x00-universalk9.17.10.01.SPA.bin"...
Image passed digital signature verification
Booting DEV key signed image
HW doesn't requires SR package
Booting ss-rommon...
Version: 8.0.1
Compiled: Tue 19-Jul-22 23:46 [DEVELOPMENT SOFTWARE]
Address Map : Total: 493832633 bytes
Image Header : 0x00000000 size: 1352
IOT Pkg Header: 0x00000548 size: 1340
SS-Rommon : 0x00000a84 size: 628960
Sup PL[01] : 0x00186058 size: 5568668
LC FPGA[01] : 0x006d5e4c size: 9486162
LC FPGA[02] : 0x00fe22f6 size: 9486162
LC FPGA[03] : 0x018ee7a0 size: 9484082
LC FPGA[11] : 0x021fa42a size: 9486162
LC FPGA[12] : 0x02b068d4 size: 9486162
LC FPGA[13] : 0x03412d7e size: 9484082
Rtos[01] : 0x0009a8c0 size: 963132
BL[2097153] : 0x03d1ea14 size: 952896
RP_Boot Header: 0x03e07454 size: 1340
Kernel : 0x03e07990 size: 28500544
Dtb : 0x05935bd0 size: 43754
InitRamFs : 0x059406ba size: 25432831
ISO images : 0x071819b9 size: 374812672
Checking for Bootloader upgrade...
New version = 8.0.1 [DEVELOPMENT SOFTWARE], Current version = 7.0.14 [DEVELOPMENT SOFTWARE]
Erasing 4063232 bytes @ 0x400000 ..............................................................
Writing 944704 bytes @ 0x400000 ...............
Verifying 944704 bytes @ 0x400000 ...............
Erasing 4063232 bytes @ 0x0 ..............................................................
Writing 952896 bytes @ 0x0 ...............
Verifying 952896 bytes @ 0x0 ...............
Bootloader upgrade successful
Resetting...
Initializing disk drivers...
Initializing file systems...
************************************************************
* Rom Monitor for IE3x00 *
* Copyright (c) 2017-2021 by Cisco Systems, Inc. *
* All rights reserved. *
************************************************************
* Version: 8.0.1
* Compiled: Tue 19-Jul-22 23:46 [DEVELOPMENT SOFTWARE]
* Boot Partition: qspi-upgrade-bootloader
* Reset Reason: Soft Reset
* REL and DEV keys installed
Loading "flash:ie3x00-universalk9.17.10.01.SPA.bin" to memory...
Verifying image "flash:ie3x00-universalk9.17.10.01.SPA.bin"...
Image passed digital signature verification
Booting DEV key signed image
HW doesn't requires SR package
Booting ss-rommon...
Version: 8.0.1
Compiled: Tue 19-Jul-22 23:46 [DEVELOPMENT SOFTWARE]
Address Map : Total: 493832633 bytes
Image Header : 0x00000000 size: 1352
IOT Pkg Header: 0x00000548 size: 1340
SS-Rommon : 0x00000a84 size: 628960
Sup PL[01] : 0x00186058 size: 5568668
LC FPGA[01] : 0x006d5e4c size: 9486162
LC FPGA[02] : 0x00fe22f6 size: 9486162
LC FPGA[03] : 0x018ee7a0 size: 9484082
LC FPGA[11] : 0x021fa42a size: 9486162
LC FPGA[12] : 0x02b068d4 size: 9486162
LC FPGA[13] : 0x03412d7e size: 9484082
Rtos[01] : 0x0009a8c0 size: 963132
BL[2097153] : 0x03d1ea14 size: 952896
RP_Boot Header: 0x03e07454 size: 1340
Kernel : 0x03e07990 size: 28500544
Dtb : 0x05935bd0 size: 43754
InitRamFs : 0x059406ba size: 25432831
ISO images : 0x071819b9 size: 374812672
Checking for Bootloader upgrade...
Bootloader upgrade not required
SUP PL (profile: 1) configuration done successfully
RTOS (profile: 1) boot successful
Taking BP out of reset
Taking LC1 out of reset
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software [Dublin], IE3x00 Switch Software (IE3x00-UNIVERSALK9-M), Experimental Version 17.10.20220906:152208 [ie3x00-universalk9.17.10.01:/nobackup/mcpre/s2c-build-ws 101]
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Tue 06-Sep-22 08:22 by mcpre
This software version supports only Smart Licensing as the software licensing mechanism.
PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR
LICENSE KEY PROVIDED FOR ANY CISCO SOFTWARE PRODUCT, PRODUCT FEATURE,
AND/OR SUBSEQUENTLY PROVIDED SOFTWARE FEATURES (COLLECTIVELY, THE
"SOFTWARE"), AND/OR USING SUCH SOFTWARE CONSTITUTES YOUR FULL
ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU
ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN.
Your use of the Software is subject to the Cisco End User License Agreement
(EULA) and any relevant supplemental terms (SEULA) found at
http://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html.
You hereby acknowledge and agree that certain Software and/or features are
licensed for a particular term, that the license to such Software and/or
features is valid only for the applicable term and that such Software and/or
features may be shut down or otherwise terminated by Cisco after expiration
of the applicable license term (e.g., 90-day trial period). Cisco reserves
the right to terminate any such Software feature electronically or by any
other means available. While Cisco may provide alerts, it is your sole
responsibility to monitor your usage of any such term Software feature to
ensure that your systems and networks are prepared for a shutdown of the
Software feature.
% Failed to initialize backup nvram
cisco IE-3200-8P2S (ARM) processor (revision V01) with 429901K/6147K bytes of memory.
Processor board ID FOC2213V1QC
1 Virtual Ethernet interface
10 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
1968556K bytes of physical memory.
523264K bytes of crashinfo at crashinfo:.
1638400K bytes of Flash at flash:.
3887040K bytes of sdflash at sdflash:.
Base Ethernet MAC Address : f8:b7:e2:e5:25:80
Motherboard Assembly Number : 73-101446-05
Motherboard Serial Number : FOC221223CJ
Model Revision Number : V01
Motherboard Revision Number : 5
Model Number : IE-3200-8P2S
System Serial Number : FOC2213V1QC
Top Assembly Part Number : 68-101575-01
Top Assembly Revision Number : 26
System FPGA version : 0.89.2
CIP Serial Number : 0x4AE52580
SKU Brand Name : Cisco
Press RETURN to get started!