[BMC] How to update BMC? Follow
Purpose:
This post shows the procedures to update BMC.
Two methods. 1. BMC updater 2. Web interface.
Model:
AS5916-54XKS, AS5916-54XL
AS7316-26XB
Preparation:
A. Personal computer
B. BMC updater or BMC bin file.
- Download the BMC updater or BMC bin file for your own device.
- Reference: How to download the current firmware?
Note: If you want to use the updater to update BMC, ONIE version should refer to the form.
C. Serial Console cable:
- A cable which attached in the original box.
D. Console terminal:
- Putty,Teraterm,SecureCRT,etc...
E. TFTP or HTTP server:
F. Web browser:
- Chrome, Opera, Safari, etc..
Procedure:
====================1. BMC updater====================
STEP1. Plugin the ethernet cable to the MGMT on the front panel of chassis. (e.g., AS5916-54XL)
STEP2. Plugin the console cable into console port on the front panel of chassis. (e.g., AS5916-54XL)
STEP3. Open the terminal. (e.g., Teraterm)
Note: Please set the baud rate as 115200
STEP4. Reboot the chassis and enter the "Onie: Rescue " mode.
STEP5. Assigned an IP address that can negotiate with TFTP or HTTP server.
ONIE:/ # ifconfig eth0 188.188.184.100 netmask 255.255.0.0
ONIE:/ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr B8:6A:97:70:D4:F1
inet addr:188.188.184.100 Bcast:188.188.255.255 Mask:255.255.0.0
inet6 addr: fe80::ba6a:97ff:fe70:d4f1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5912 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:440628 (430.3 KiB) TX bytes:2796 (2.7 KiB)
ONIE:/ # ping 188.188.99.1 //TFTP or HTTP server
PING 188.188.99.1 (188.188.99.1): 56 data bytes
64 bytes from 188.188.99.1: seq=0 ttl=64 time=0.404 ms
64 bytes from 188.188.99.1: seq=1 ttl=64 time=0.234 ms
^C
--- 188.188.99.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.234/0.319/0.404 ms
STEP6. Check the BMC version first. (0.52)
ONIE:/ # ipmitool mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 0.52
IPMI Version : 2.0
Manufacturer ID : 259
Manufacturer Name : Unknown (0x103)
Product ID : 16723 (0x4153)
Product Name : Unknown (0x4153)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SDR Repository Device
SEL Device
FRU Inventory Device
Chassis Device
Aux Firmware Rev Info :
0x00
0x00
0x00
STEP7. Execute "onie-self-update + [FILE location]". (e.g., http)
ONIE:/ # onie-self-update http://188.188.99.1/as5916-54xl_bmc_v00.53.00h_firmimg_20200409.updater
discover: Rescue mode detected. No discover stopped.
Info: Attempting http://188.188.99.1/as5916-54xl_bmc_v00.53.00h_firmimg_20200409.updater ...
Connecting to 188.188.99.1 (188.188.99.1:80)
installer 100% |*******************************| 16569k 0:00:00 ETA
ONIE: Executing installer: http://188.188.99.1/as5916-54xl_bmc_v00.53.00h_firmimg_20200409.updater
Verifying image checksum ... OK.
Preparing image archive ... OK.
BMC Firmware : Version : 00.53.00h
BMC Updater : Architecture : x86_64
BMC Updater : Machine : accton_as5916_54xl
BMC Updater : Machine Rev : 0
.
. --------omit---------
.
Updating BMC firmware via HTTP ...
=== Accton Firmware Update version 1.3 ===
=== Update BMC 192.168.1.18 ===
=== FW <<as5916-54xl_bmc_v00.53.00h_firmimg_ast2400.bin>> ===
=== without preserve config ===
=== Get SessionID ===
=== Upload BMC FW ===
=== Set BMC's earse flag ===
=== Start upate BMC FW ===
=== In Progress ===
Waiting BMC reboot
=== Update BMC FW success !! =========
STEP8. After upgrade firmware success, the chassis will restart and boot to NOS automatically. Then, you can check the BMC version in your NOS. (e.g., ONL) or ONIE.
root@localhost:~# ipmitool mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 0.53
IPMI Version : 2.0
Manufacturer ID : 259
Manufacturer Name : Unknown (0x103)
Product ID : 16723 (0x4153)
Product Name : Unknown (0x4153)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SDR Repository Device
SEL Device
FRU Inventory Device
Chassis Device
Aux Firmware Rev Info :
0x00
0x00
0x00
0x00
====================2. Web interface====================
STEP1. Plugin the ethernet cable to the MGMT on the front panel of chassis. (e.g., AS5916-54XL)
STEP2. Plugin the console cable into console port on the front panel of chassis. (e.g., AS5916-54XL)
STEP3. Open the terminal. (e.g., Teraterm)
Note: Please set the baud rate as 115200
STEP4. Reboot the chassis and enter the "Onie: Rescue " mode.
STEP5. Set the BMC IP mode, IP address, Netmask, and gateway.
ONIE:/ # ipmitool lan set 1 ipsrc static
ONIE:/ # ipmitool lan set 1 ipaddr 192.168.0.100
ONIE:/ # ipmitool lan set 1 netmask 255.255.255.0
ONIE:/ # ipmitool lan set 1 defgw ipaddr 192.168.0.254
STEP6. Check the current status of BMC IP.
ONIE:/ # ipmitool lan print
STEP7. Open a web browser to login to BMC web interface. (e.g., Chrome, URL: https://192.168.0.100/)
Note: Please allow going on the web page manually, because the web browser will determine that it is not secure.
STEP8. Enter the default "Username" and "Password" then click "OK".
Username: ADMIN
Password: ADMIN
STEP9. The "Properties" page is displayed the current version of BMC, it showed hexadecimal. (e.g., Firmware version: 00.4A)
STEP10. Click the "update" option and click “Choose File” then choose the firmware image file. (e.g., AS5916_54XL_BMC_v00_4Bh_firmimg_ast2400.bin)
STEP11. After seeing the firmware image file chosen, click “Upload” option.
STEP12. When prompted, click “OK” to start the upload.
STEP13. Please wait for the several minutes when showing upload is in progress.
STEP14. The web interface will show the current version and the new version when the upload is completed.
STEP15. Uncheck the “Preserve Configuration” option. Then, click "update" option below the button.
Note: “Preserve Configuration” is enabled by default, please disable the “preserve configuration” when updating the firmware.
STEP16. When prompted, click “OK” to start the update.
STEP17. Wait for the update process until 100% completed.
STEP18. Refresh the BMC web interface again and check the firmware version.
STEP19. You could also use the "ipmitool mc info" command under the ONIE to check the current firmware version.
ONIE:/ # ipmitool mc info
Comments
0 comments
Please sign in to leave a comment.