Dell PowerSwitch S5048F-ON Firmware Update page 7

Hide thumbs Also See for PowerSwitch S5048F-ON:
Table of Contents

Advertisement

No pending firmware updates present.
ONIE:/ #
4. Run the onie-fwpkg command with the add subcommand.
This step stages the update in the ONIE-Boot partition.
5. Run the onie-fwpkg command with the show subcommand.
This step displays any pending firmware updates.
6. Run the onie-boot-mode command to set the system to ONIE Update mode for the next boot.
root@nos:/tmp# wget http://<http-server-ip>/onie/ onie-firmware-x86_64-VENDOR_MACHINE-
r0.bin
root@nos:/tmp# mkdir -p /mnt/onie-boot
root@nos:/tmp# mount LABEL=ONIE-BOOT /mnt/onie-boot
root@nos:/tmp# /mnt/onie-boot/onie/tools/bin/onie-fwpkg add onie-firmware-x86_64-
VENDOR_MACHINE-r0.bin
Staging firmware update: /tmp/ onie-firmware-x86_64-VENDOR_MACHINE-r0.bin
root@nos:/tmp# /mnt/onie-boot/onie/tools/bin/onie-fwpkg show
** Pending firmware update information:
Name
======================+===========================+==========+============+===========
onie-firmware-update|firmware-demo-202208031508|0
22:29:27
======================+===========================+==========+============+===========
root@nos:/tmp# /mnt/onie-boot/onie/tools/bin/onie-boot-mode -q -o update
root@nos:/tmp# umount /mnt/onie-boot
root@nos:/tmp# reboot
7. Reboot the system.
After you reboot, the target boots to ONIE Update mode. ONIE firmware infra locates the firmware updater binary image
and starts the firmware update steps. After the firmware update, the target boots back to NOS.
8. Check the firmware update results using the show-results option of the onie-fwpkg command.
You can run this command in ONIE or by mounting the ONIE partition in NOS.
onie-fwpkg
onie-fwpkg show-results
firmware-x86_64-dell_<platform>_c2338-r0.x.x.x.x.bin ot/users/<name>/<platform>/onie-
converted 'http://<http-server-ip>/tftpboot/users/mshanmugam/<platform>/onie-
firmware-x86_64-dell_<platform>_c2338-r0.x.x.x.x.bin' (ANSI_X3.4-1968)
-> 'http://<http-server-ip>/tftpboot/users/mshanmugam/<platform>/onie-firmware-x86_64-
dell_<platform>_c2338-r0.x.x.x.x.bin' (UTF-8)
--2022-08-03 20:08:35--
onie-firmware-x86_64-dell_<platform>_c2338-r0.x.x.x.x.bin
Connecting to 10.14.1.208:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12822391 (12M) [application/octet-stream]
Saving to: 'onie-firmware-x86_64-dell_<platform>_c2338-r0.x.x.x.x.bin'
onie-firmware-x86_6 100%[=====================>]
2022-08-03 20:08:36 (50.2 MB/s) - 'onie-firmware-x86_64-dell_<platform>_c2338-
r0.x.x.x.x.bin' saved [12822391/12822391]
linuxadmin@OS10:~$ sudo
linuxadmin@OS10:~$ sudo
mount: /dev/sda2 is already mounted or /mnt/onie-boot busy
/dev/sda2 is already mounted on /mnt/onie-boot
linuxadmin@OS10:~$ sud o/mnt/onie-boot/onie/tools/bin/onie-fwpkg
-bash: sud: command not found
linuxadmin@OS10:~$ sudo /mnt/onie-boot/onie/tools/bin/onie-fwpkg
** Pending firmware update information:
No pending firmware updates present.
linuxadmin@OS10:~$ sudo /mnt/onie-boot/onie/tools/bin/onie-fwpkg purge
Removing all pending firmware updates (y/N)? y
Purging all pending firmware updates.
Removing firmware update results: INSTALLER-DND-SG-2.0.0.0.bin
Removing firmware update results: onie-firmware-x86_64-dell_<platform>_c2338-
|Version
http://<http-server-ip>/tftpboot/users/mshanmugam/<platform>/
mkdir -p /mnt/onie-boot
mount LABEL=ONIE-BOOT /mnt/onie-boot
|Attempts|Size(Bytes)|Date
|11470711
12.23M
50.2MB/s
|2022-08-03
in 0.2s
7

Advertisement

Table of Contents
loading

Table of Contents