Update the BMC switch using the CLI
The procedure describes how to update the Network Operating System on your ThinkAgile SXM Series BMC switch.
To update the BMC switch, follow these steps:
- Connect to the BMC switch using the serial console from the HLH.
- Sign in to the BMC switch using the credentials admin/<password>.
- Use the following commands to copy the new switch OS image file from the root of the USB thumb drive to the ‘image2’ slot on the BMC switch, and the new switch boot image file to the ‘boot’ slot on the BMC switch:
enable
configure terminal
usbcopy fromusb <ImageFileName>_OS.imgs image2
usbcopy fromusb <ImageFileName>_Boot.imgs bootExample Enter login username: admin
Enter login password:
...
BMC#enable
BMC#configure terminal
BMC(config)#usbcopy fromusb G8052-8.4.8.0_OS.imgs image2
Switch to be booted with image1. (Y/N) : Y
BMC(config)#usbcopy fromusb G8052-8.4.8.0_Boot.imgs boot - To set the switch to reboot using the new OS image loaded in the ‘image2’ slot and the matching boot image, and then verify this setting, run the following commands:
boot image image2
exit
show bootExample BMC(config)#boot image image2
BMC(config)#exit
BMC#show boot
Current running image version: 8.4.8
Currently set to boot software image2, active config block.
NetBoot: disabled, NetBoot tftp server: , NetBoot cfgfile:
Current boot Openflow protocol version: 1.0
USB Boot: disabled
Currently profile is default, set to boot with default profile next time.
Current FLASH software:
image1: version 8.4.8, downloaded 08:04:14 Fri Jan 19, 2018
NormalPanel, Mode Stand-alone
image2: version 8.4.11, downloaded 22:20:41 Thu Jan 18, 2018
NormalPanel, Mode Stand-alone
boot kernel: version 8.4.11
NormalPanel
bootloader : version 8.4.11
Currently scheduled reboot time: none - Before restarting the BMC switch to implement the changes, it is good practice to shut down all the ports on the switch. To shut down all ports on the BMC switch, run the following commands:
configure terminal
interface port 1-52
shutdown
exit - Eject the USB thumb drive from the BMC switch and reboot it by entering the following commands:
System usb-eject
reloadA warning is displayed since the current running configuration has all ports shut down, which is different from the current startup configuration. Enter y and press Enter to continue.
ImportantDo NOT save the running configuration at this point or all ports will remain shut down after the switch is reloaded. - Once the switch has come back online, sign in to the switch using the serial console.
- Remove the USB thumb drive from the BMC switch.
Refer to Verifying BMC switch functionality to ensure proper functionality of the updated BMC switch. Once verification is complete, the switch firmware update process is complete.
Give feedback