This document is based on the following page. It also supposes your switch came directly from the box.
Connect the switch with the console port (backside of switch) with a serial cable.
Make sure you use the following settings.
Correct COM port off course
Speed = 115200; Data bits = 1 ; Stop bits=1 ; Parity = None ; Flow Control = None
After boot, Configure the management port.
ip vrf management
interface mgmt1/1/1
no ip address dhcp
ip address 192.168.30.200/24
exit
image install ftp://:<user>:<password>@<ftp-server>/<binary.bin>
–> This copies the OS from the ftp-server onto the image directory and installs it in the standby-slot
show image status to follow progress. (copy to switch is fast)
You will notice that it takes long to get past <install packages 5 out of 9>
OS10# show image status
Image Upgrade State: install
==================================================
File Transfer State: transfer-success
State Detail: Completed: No error
Task Start: 2024-03-14T18:22:59Z
Task End: 2024-03-14T18:23:08Z
Transfer Progress: 100 %
Transfer Bytes: 868439745 bytes
File Size: 868439745 bytes
Transfer Rate: 102723 kbps
Installation State: install
State Detail: In progress: Install packages (5 of 9)
Task Start: 2024-03-14T18:25:10Z
Task End: 0000-00-00T00:00:00Z
When done. Check the bootup sequence
–> show boot detail
It shows that @next boot it still is the active being used and not the standby
Make the standby image active @ next boot.
OS10#boot system standby
OS10# show boot detail
Current system image information detail:
==========================================
Type: Node-id 1
Boot Type: Flash Boot
Active Partition: A
Active SW Version: 10.5.2.6
Active SW Build Version: 10.5.2.6.354
Active Kernel Version: Linux 4.9.210
Active Build Date/Time: 2021-06-15T08:30:09Z
Standby Partition: B
Standby SW Version: 10.5.5.8
Standby SW Build Version: 10.5.5.8.243
Standby Build Date/Time: 2023-12-08T21:57:25Z
Next-Boot: standby[B]
reload
Verify after boot.