switch# 2023 Feb 2 05:50:40 switch %$ VDC-1 %$ %USER-2-SYSTEM_MSG: <<%USBHSD-2-USB_SWAP>> USB insertion or removal detected - usbhsd
2023 Feb 2 05:50:40 switch %$ VDC-1 %$ %USER-2-SYSTEM_MSG: <<%USBHSD-2-MOUNT>> USB1: online - usbhsd
switch#
switch#
switch(config)# username admin password anne123! //admin password 설정
WARNING: DES is a weak encryption algorithm and currently the default. This will be deprecated and AES128 will be made default in an upcoming release.
switch#
switch#
switch# copy running-config startup-config //running-config > startup-config 저장
[########################################] 100%
Copy complete, now saving to disk (please wait)...
switch#
switch#
switch#
switch# dir bootflash:? //boot directory 확인
bootflash:///
bootflash://module-1/
bootflash://sup-1/
bootflash://sup-active/
bootflash://sup-local/
switch# dir bootflash:
1777998029 Sep 24 08:18:36 2022 aci-n9000-dk9.14.1.2g.bin
4096 Sep 24 08:12:47 2022 eem_snapshots/
4096 Sep 24 08:24:39 2022 home/
4096 Sep 24 08:20:55 2022 lost+found/
switch#
switch#
switch# copy usb1:nxos.7.0.3.I7.3.bin bootflash: //usb1의 OS --> bootflash에 복사
Copy progress 100% 962771KB
Copy complete, now saving to disk (please wait)...
Copy complete.
switch#
switch#
switch# dir bootflash:
1777998029 Sep 24 08:18:36 2022 aci-n9000-dk9.14.1.2g.bin
4096 Sep 24 08:12:47 2022 eem_snapshots/
4096 Sep 24 08:24:39 2022 home/
4096 Sep 24 08:20:55 2022 lost+found/
962771456 Feb 02 05:53:29 2023 nxos.7.0.3.I7.3.bin
switch#
switch#
switch# show file bootflash://sup-1/nxos.7.0.3.I2.1.bin sha256sum //sha256 무결성 검증
switch#
switch#
switch# show install all impact nxos bootflash:nxos.7.0.3.I7.3.bin //업그레이드 수행 전 소프트웨어 업그레이드의 영향을 확인
Installer will perform impact only check. Please wait.
Verifying image bootflash:/nxos.7.0.3.I7.3.bin for boot variable "nxos".
[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Preparing "nxos" version info using image bootflash:/nxos.7.0.3.I7.3.bin.
[####################] 100% -- SUCCESS
Preparing "bios" version info using image bootflash:/nxos.7.0.3.I7.3.bin.
[####################] 100% -- SUCCESS
Warning: the running-config contains configuration that is incompatible with the new image and will be lost (loose incompatibility).
Please run 'show incompatibility-all nxos <image>' command for more details .
[####################] 100% -- SUCCESS
Performing module support checks.
[####################] 100% -- SUCCESS
Notifying services about system upgrade.
[####################] 100% -- SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes disruptive reset Incompatible image for ISSU
Images will be upgraded according to following table:
Module Image Running-Version(pri:alt) New-Version Upg-Required
------ ---------- ---------------------------------------- -------------------- ------------
1 nxos 9.3(3) 7.0(3)I7(3) yes
1 bios v05.47(04/28/2022):v05.47(04/28/2022) v05.28(01/18/2018) no
switch#
switch#
switch# install all nxos bootflash:nxos.7.0.3.I7.3.bin //OS install
Installer will perform compatibility check first. Please wait.
Installer is forced disruptive
Verifying image bootflash:/nxos.7.0.3.I7.3.bin for boot variable "nxos".
[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Preparing "nxos" version info using image bootflash:/nxos.7.0.3.I7.3.bin.
[####################] 100% -- SUCCESS
Preparing "bios" version info using image bootflash:/nxos.7.0.3.I7.3.bin.
[####################] 100% -- SUCCESS
Warning: the running-config contains configuration that is incompatible with the new image and will be lost (loose incompatibility).
Please run 'show incompatibility-all nxos <image>' command for more details .
[####################] 100% -- SUCCESS
Performing module support checks.
[####################] 100% -- SUCCESS
Notifying services about system upgrade.
[####################] 100% -- SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes disruptive reset Incompatible image for ISSU
Images will be upgraded according to following table:
Module Image Running-Version(pri:alt) New-Version Upg-Required
------ ---------- ---------------------------------------- -------------------- ------------
1 nxos 9.3(3) 7.0(3)I7(3) yes
1 bios v05.47(04/28/2022):v05.47(04/28/2022) v05.28(01/18/2018) no
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y
Install is in progress, please wait.
Performing runtime checks.
[####################] 100% -- SUCCESS
Setting boot variables.
[####################] 100% -- SUCCESS
Performing configuration copy.
[####################] 100% -- SUCCESS
Module 1: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
Converting startup config.
[####################] 100% -- SUCCESS
2023 Feb 2 06:32:30 switch %$ VDC-1 %$ %VMAN-2-ACTIVATION_STATE: Successfully deactivated virtual service 'guestshell+'
Finishing the upgrade, switch will reboot in 10 seconds. //OS install 완료, 10초 후 자동 reboot
switch#