程式
安裝add file <image URL>啟用xfsu提交
注意:此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 - 用於顯示交換機版本
.顯示版本 | in reason -在所有交換機上將reason顯示為「Image Install with Reloadfast」或「Reload Fast Command」。
· show running-config - 用於顯示交換機運行配置
· show logging - 用於顯示交換機控制檯日誌
· show log | in FAST (收集此post xFSU) -從交換器主控台記錄檔升級FAST_RELOAD_COMPLETE
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 & Crash相關資訊
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
相關資訊