手順
add file <image URL>activate xfsu commitをインストールします。
注:このCLIは、Cisco IOS XE 17.8リリース以降でのみ使用できます。17.3および17.6リリースでは、「install add file <image URL> activate reloadfast commit」を使用します。
- このコマンドは、ダウンタイムを減らしてソフトウェアバージョンをアップグレードします。
- CLIの実行時に自動的に実行される手順を次に示します。
- 追加のインストール:TFTPサーバからイメージをダウンロードし、すべてのスイッチにコピーして、各スイッチのパッケージを展開します。
- xFSUチェック:制限チェックを含むxFSU関連チェックを提供します。
- install activate/commit:インストールされたパッケージをアクティブにしてコミットします。
- アップグレード前のインストール:アップグレード前のMCU、Rommonイメージ
- 高速リロード:スイッチの高速リロード
C9300_Switch#install add file flash:cat9k_iosxe.V178_1A_FC2_2.SSA.bin activate xfsu commit
install_add_activate_commit: START Tue Apr 19 21:54:03 UTC 2022
STACK_GR: Inside xFSU check if switch stack
Checking STP eligibility: Eligible
[1]: Performing xFSU-pre-check
300+0 records in
300+0 records out
307200 bytes (307 kB, 300 KiB) copied, 0.196216 s, 1.6 MB/s
SUCCESS: xFSU-pre-check finished
[1]: xFSU-pre-check package(s) on switch 1
For all other than the below protocols, the traffic downtime will be longer than 30 seconds.
1) Layer 2 Switching, 2) Per VLAN Spanning Tree (PVST), 3) STP with RSTP or MSTP
4) Static Port-channels (Mode on), 5) UDLD, 6) LACP, 7) BGP (IPv4 and IPv6)
Open Shortest Path First (OSPF) or OSPFv2 or OSPFv3, 9) IS-IS,
10) Virtual routing and forwarding (VRF), 11) Flexible NetFlow, 12) QoS
SUCCESS: xFSU requirement pre-check
Downloading file flash:cat9k_iosxe.V178_1A_FC2_2.SSA.bin
Finished downloading file flash:cat9k_iosxe.V178_1A_FC2_2.SSA.bin to flash:cat9k_iosxe.V178_1A_FC2_2.SSA.bin
install_add_activate_commit: Adding PACKAGE
install_add_activate_commit: Checking whether new add is allowed ....
--- Starting initial file syncing ---
Info: Finished copying flash:cat9k_iosxe.V178_1A_FC2_2.SSA.bin to the selected switch(es)
Finished initial file syncing
--- Starting Add ---
Performing Add on all members
[1] Add package(s) on switch 1
[1] Finished Add on switch 1
Checking status of Add on [1]
Add: Passed on [1]
Finished Add
Image added. Version: 17.08.01.0.1516
install_add_activate_commit: Activating PACKAGE
Following packages shall be activated:
/flash/cat9k-wlc.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-webui.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-srdriver.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-sipspa.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-sipbase.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-rpboot.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-rpbase.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-lni.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-guestshell.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-espbase.V178_1A_FC2_2.SSA.pkg
/flash/cat9k-cc_srdriver.V178_1A_FC2_2.SSA.pkg
--- Verifying Platform specific xFSU admission criteria ---
SUCCESS: xFSU image pre-check
This operation requires a fast reload of the system. Do you want to proceed? [y/n]y <-- answer y to continue
--- Starting Activate ---
Performing Activate on all members
[1] Activate package(s) on switch 1
--- Starting list of software package changes ---
Old files list:
Modified cat9k-cc_srdriver.17.08.01a.SPA.pkg
Modified cat9k-espbase.17.08.01a.SPA.pkg
Modified cat9k-guestshell.17.08.01a.SPA.pkg
Modified cat9k-lni.17.08.01a.SPA.pkg
Modified cat9k-rpbase.17.08.01a.SPA.pkg
Modified cat9k-rpboot.17.08.01a.SPA.pkg
Modified cat9k-sipbase.17.08.01a.SPA.pkg
Modified cat9k-sipspa.17.08.01a.SPA.pkg
Modified cat9k-srdriver.17.08.01a.SPA.pkg
Modified cat9k-webui.17.08.01a.SPA.pkg
Modified cat9k-wlc.17.08.01a.SPA.pkg
New files list:
Added cat9k-cc_srdriver.V178_1A_FC2_2.SSA.pkg
Added cat9k-espbase.V178_1A_FC2_2.SSA.pkg
Added cat9k-guestshell.V178_1A_FC2_2.SSA.pkg
Added cat9k-lni.V178_1A_FC2_2.SSA.pkg
Added cat9k-rpbase.V178_1A_FC2_2.SSA.pkg
Added cat9k-rpboot.V178_1A_FC2_2.SSA.pkg
Added cat9k-sipbase.V178_1A_FC2_2.SSA.pkg
Added cat9k-sipspa.V178_1A_FC2_2.SSA.pkg
Added cat9k-srdriver.V178_1A_FC2_2.SSA.pkg
Added cat9k-webui.V178_1A_FC2_2.SSA.pkg
Added cat9k-wlc.V178_1A_FC2_2.SSA.pkg
Finished list of software package changes
[1] Finished Activate on switch 1
Checking status of Activate on [1]
Activate: Passed on [1]
Finished Activate
--- Starting Commit ---
Performing Commit on all members
[1] Commit package(s) on switch 1
[1] Finished Commit on switch 1
Checking status of Commit on [1]
Commit: Passed on [1]
Finished Commit
Send model notification for install_add_activate_commit before reload
Check xFSU support and verification on switch
[1]: xFSU-Verify-Package package(s) on switch 1
Finished preverifying before xFSU
SUCCESS to verify packages
SUCCESS to verify before xFSU
[1]: Finished xFSU-Verify-Package successful on switch 1
(-2) SUCCESS: Finished xFSU-Verify-Package: Success on [1]
[1]: Performing Upgrade_Service
300+0 records in
300+0 records out
307200 bytes (307 kB, 300 KiB) copied, 0.196891 s, 1.6 MB/s
SUCCESS: Upgrade_Service finished
PID TTY TIME CMD
Starting GR:#
Waiting for UDLD processing:UDLD processing complete
cat: /: Is a directory
Wait for ifm backup: Ifm backup is completeApr 19 22:05:04.843: %PMAN-5-EXITACTION: F0/0: pvp: Process manager is exiting: reload fp action requested
Apr 19 22:05:08.099: %PMAN-5-EXITACTION: R0/0: pvp: Process manager is exiting: rp processes exit with reload switch code
Initializing Hardware......
Reload Fast Detected
System Bootstrap, Version 17.9.0.4r, DEVELOPMENT SOFTWARE
Copyright (c) 1994-2022 by cisco Systems, Inc.
Compiled Tue 03/22/2022 10:39:31.69 by mjagatap
Current ROMMON image : Primary
Last reset cause : SoftwareReload
C9300-24T platform with 8388608 Kbytes of main memory
Preparing to autoboot. [Press Ctrl-C to interrupt] 0
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
#
##############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Loading image in Verbose mode: 0
Both links down, not waiting for other switches
Switch number is 1
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 [Cupertino], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 17.8.1a, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Sat 16-Apr-22 18:59 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.
FIPS: Flash Key Check : Key Not Found, FIPS Mode Not Enabled
cisco C9300-24T (X86) processor with 1310600K/6147K bytes of memory.
Processor board ID FJC2327E0UB
2048K bytes of non-volatile configuration memory.
8388608K bytes of physical memory.
1638400K bytes of Crash Files at crashinfo:.
11264000K bytes of Flash at flash:.
Base Ethernet MAC Address : d4:ad:bd:f0:38:80
Motherboard Assembly Number : 73-18270-03
Motherboard Serial Number : FJZ23271DDG
Model Revision Number : E0
Motherboard Revision Number : B0
Model Number : C9300-24T
System Serial Number : FJC2327E0UB
CLEI Code Number :
WARNING: Command has been added to the configuration using a type 7 password. However, recommended to migrate to strong type-6 encryption
Press RETURN to get started!
C9300_Switch#sh log | inc FAST
*Apr 19 22:10:05.943: %FED_IPC_MSG-5-FAST_RELOAD_COMPLETE: Switch 1 F0/0: fed: Fast reload operation complete
高速リロード
- このコマンドにより、既存のソフトウェアがリロードされ、ダウンタイムが短縮されます。
- CLIの実行時に自動的に実行される手順を次に示します。
- xFSUチェック:制限チェックを含むxFSU関連チェックを提供します。
- 高速リロード:スイッチの高速リロード
C9300_Switch#reload fast
Reload fast command is being issued on Active unit, this will reload fast the whole stack
Proceed with reload fast? [confirm]
STACK_GR: Inside xFSU check if switch stack
Checking STP eligibility: Eligible
[1]: Performing xFSU-pre-check
300+0 records in
300+0 records out
307200 bytes (307 kB, 300 KiB) copied, 0.196405 s, 1.6 MB/s
SUCCESS: xFSU-pre-check finished
[1]: xFSU-pre-check package(s) on switch 1
For all other than the below protocols, the traffic downtime will be longer than 30 seconds.
1) Layer 2 Switching, 2) Per VLAN Spanning Tree (PVST), 3) STP with RSTP or MSTP
4) Static Port-channels (Mode on), 5) UDLD, 6) LACP, 7) BGP (IPv4 and IPv6)
Open Shortest Path First (OSPF) or OSPFv2 or OSPFv3, 9) IS-IS,
10) Virtual routing and forwarding (VRF), 11) Flexible NetFlow, 12) QoS
SUCCESS: xFSU requirement pre-check
--- Verifying Platform specific xFSU admission criteria ---
SUCCESS: xFSU image pre-check
Check xFSU support and verification on switch
[1]: xFSU-Verify-Package package(s) on switch 1
Finished preverifying before xFSU
SUCCESS to verify packages
SUCCESS to verify before xFSU
[1]: Finished xFSU-Verify-Package successful on switch 1
(-2) SUCCESS: Finished xFSU-Verify-Package: Success on [1]
[1]: Performing Upgrade_Service
300+0 records in
300+0 records out
307200 bytes (307 kB, 300 KiB) copied, 0.196099 s, 1.6 MB/s
mount: /tmp/microcode_update/boot_pkg: WARNING: source write-protected, mounted read-only.
SUCCESS: Upgrade_Service finished
PID TTY TIME CMD
Starting GR:#
Waiting for UDLD processing:UDLD processing complete
cat: /: Is a directory
Wait for ifm backup: Ifm backup is completeApr 19 21:43:03.283: %PMAN-5-EXITACTION: F0/0: pvp: Process manager is exiting: reload fp action requested
Apr 19 21:43:05.337: %PMAN-5-EXITACTION: R0/0: pvp: Process ger is exiting: rp processes exit with reload switch code
Initializing Hardware......
Reload Fast Detected
System Bootstrap, Version 17.9.0.4r, DEVELOPMENT SOFTWARE
Copyright (c) 1994-2022 by cisco Systems, Inc.
Compiled Tue 03/22/2022 10:39:31.69 by mjagatap
Current ROMMON image : Primary
Last reset cause : SoftwareReload
C9300-24T platform with 8388608 Kbytes of main memory
Preparing to autoboot. [Press Ctrl-C to interrupt] 0
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
#
##############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Loading image in Verbose mode: 0
Both links down, not waiting for other switches
Switch number is 1
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 [Cupertino], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 17.8.1a, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Sat 16-Apr-22 18:59 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.
FIPS: Flash Key Check : Key Not Found, FIPS Mode Not Enabled
cisco C9300-24T (X86) processor with 1310600K/6147K bytes of memory.
Processor board ID FJC2327E0UB
2048K bytes of non-volatile configuration memory.
8388608K bytes of physical memory.
1638400K bytes of Crash Files at crashinfo:.
11264000K bytes of Flash at flash:.
Base Ethernet MAC Address : d4:ad:bd:f0:38:80
Motherboard Assembly Number : 73-18270-03
Motherboard Serial Number : FJZ23271DDG
Model Revision Number : E0
Motherboard Revision Number : B0
Model Number : C9300-24T
System Serial Number : FJC2327E0UB
CLEI Code Number :
WARNING: Command has been added to the configuration using a type 7 password. However, recommended to migrate to strong type-6 encryption
Press RETURN to get started!
C9300_Switch>
C9300_Switch>en
C9300_Switch#sh log | inc FAST
*Apr 19 21:48:01.667: %FED_IPC_MSG-5-FAST_RELOAD_COMPLETE: Switch 1 F0/0: fed: Fast reload operation complete
確認
xFSUが正常に完了した後に検証するために収集するコマンド/出力。
基本的なshowコマンド
・ show switch detail - スイッチの詳細情報を表示します
・ show version - スイッチのバージョンを表示します。
.show version | in reason:すべてのスイッチで理由を「Image Install with Reloadfast」または「Reload Fast Command」と表示します。
・ show running-config - スイッチの実行コンフィギュレーションの表示
・ show logging - スイッチのコンソールログを表示します
•show log | in FAST (collect this post xFSU):スイッチコンソールログからFAST_RELOAD_COMPLETEをgrepします。
xFSU関連のログ
show graceful-reload - xFSUグレースフルリロードログを表示します
C9300_Switch#show graceful-reload
Graceful Reload Infra Status: Not running
Minimum required system uptime before fast reload can be supported is 10 seconds
Client OSPFV3 : (0x10203008) Status: Up
Client OSPF : (0x10203007) Status: Up
Client GR_CLIENT_BGP : (0x10203006) Status: Up
Client IS-IS : (0x10203005) Status: Up
Client LACP_xFSU : (0x10203004) Status: Up
Client GR_CLIENT_TOPO : (0x10203003) Status: Up
Client GR_CLIENT_VRF : (0x10203002) Status: Up
Client GR_CLIENT_RIB : (0x10203001) Status: Up
Client GR_CLIENT_FIB : (0x10203000) Status: Up
show xfsu status:xFSUステータスを表示します(このCLIはCisco IOS XE 17.8リリース以降でのみ使用できます。17.3および17.6リリースの場合は、「show reloadfast status」を使用)
C9300_Switch#show xfsu status
Reload Fast PLATFORM Status: Dataplane update done
Graceful Reload Infra Status: Not running
Minimum required system uptime before fast reload can be supported is 10 seconds
Client OSPFV3 : (0x10203008) Status: Up
Client OSPF : (0x10203007) Status: Up
Client GR_CLIENT_BGP : (0x10203006) Status: Up
Client IS-IS : (0x10203005) Status: Up
Client LACP_xFSU : (0x10203004) Status: Up
Client GR_CLIENT_TOPO : (0x10203003) Status: Up
Client GR_CLIENT_VRF : (0x10203002) Status: Up
Client GR_CLIENT_RIB : (0x10203001) Status: Up
Client GR_CLIENT_FIB : (0x10203000) Status: Up
トラブルシュート
xFSUが失敗した場合に収集される出力。
FPGAバージョン
show platform hardware fpga switch <sw_num> | inc Version - display FPGA version
SKU/FRU/アップリンク/ダウンリンクの詳細を含む完全なトポロジ
show inventory - display switch inventory
show cdp neighbor - display switch CDP neighbor
show etherchannel summary - display switch etherchannel summary
show spanning-tree - display switch spanning-tree configuration
show romvar switch all | in BOARD - display switch board ID
Btraceおよびクラッシュ関連情報
show platform software trace message fed switch <sw-num> - display switch fed trace configuration
request platform software trace rotate all - rotate switch trace logs to archive
Copy logs from crashinfo-<sw_num>:/tracelogs/fed_F0*
If crash happens during xFSU, copy crashinfo-<sw_num>:system-report*
If stack SSO not ready or archive trace generated during bootup, copy crashinfo-<sw_num>:*archive*
インターフェイス関連情報
show interface status | inc connected - display switch connected interface status.
show ip interface brief | inc up - display switch those interfaces which stay up.
show interface <intf-id> status -display interface status for particular interface.
show interface <intf-id> status err-disabled - display interface err-disabled status for particular interface.
XCVR/Phy/アップリンク関連情報
show controllers ethernet-controller <intf-id> phy detail - To display switch phy detail for particular ethernet-controller interface.
show controllers ethernet-controller <intf-id> mac - To display switch mac information for particular ethernet-controller interface.
show controllers ethernet-controller <intf-id> link-status - To display switch link status for particular ethernet-controller interface.
show controllers ethernet-controller <ints-id> - To display information for particular ethernet-controller interface.
xFSUのshow tech-support xfsu
show tech-support xfsu - display xFSU technical support information
注:(このCLIは、Cisco IOS XE 17.8リリース以降でのみ使用できます。17.3および17.6リリースの場合は、「show tech-support reloadfast」を使用)
xFSU資格
注:show xfsu eligibility:xFSU適格性情報を表示します(このCLIは、Cisco IOS XE 17.8リリース以降でのみ使用できます)。
show xfsu eligibility(スタンドアロンスイッチ)
C9300_Switch#show xfsu eligibility
Reload fast supported: Yes
Reload Fast PLATFORM Status: Not started yet
Stack Configuration: No
Eligibility Check Status
================= ======
Autoboot Enabled No
Install Mode Yes
Check macsec eligibility Eligible
<-- All the status must be Yes or eligible to continue xFSU
Spanning Tree Eligible
<-- For STP status must be eligible to continue xFSU
show xfsu eligibility(スタックスイッチ)
Switch#show xfsu eligibility
Reload fast supported: Yes
Reload Fast PLATFORM Status: Not started yet
Stack Configuration: Yes
Eligibility Check Status
================= ======
Autoboot Enabled Yes
Install Mode Yes
Network Advantage License Yes
Full ring stack Yes
Check macsec eligibility Eligible
<-- All the status must be Yes or eligible to continue xFSU
Spanning Tree Eligible
<-- For STP status must be eligible to continue xFSU
SSO Mode Yes
<-- If 'SSO mode' status is 'No', please wait until condition is met, then proceed
関連情報