[Wedge100BF-series] ONIE upgrade procedures Follow
Purpose:
This post shows the procedures to upgrade ONIE.
Model:
Wedge100BF-32X/65X/32QS
Preparation:
A. Personal computer
B. ONIE Updater image
- Download the ONIE Updater image for your own device.
- Reference: How to download the current firmware?
C. Serial Console cable:
- A cable which attached in the original box.
D. Console terminal
- Putty,Teraterm,SecureCRT,etc...
E. USB-stick or transport protocol tool
- USB-stick
- OpenSSH
Procedure:
STEP1. Enter the ONIE Rescue mode.
"ONIE" > "ONIE: Rescue"


STEP2. Check ONIE version by "onie-syseeprom" command. (e.g., 2017.08.00.04)
ONIE:/ # onie-syseeprom
TlvInfo Header:
...
ONIE Version 0x29 13 2017.08.00.04
...
ONIE:/ #
STEP3. Upload the ONIE Updater image to the switch (2 examples)
- USB-stick
1. Put the onie-updater file to the USB-stick.
2. Insert the USB-stick into the Wedge100BF-32X/65X.
3. Input "fdisk -l" command to show the storage status (e.g., /dev/sdb)
NOTICE: Disk /dev/sda: 128G is build-in SSD, do not modify it.
2. Insert the USB-stick into the Wedge100BF-32X/65X.
3. Input "fdisk -l" command to show the storage status (e.g., /dev/sdb)
NOTICE: Disk /dev/sda: 128G is build-in SSD, do not modify it.
ONIE:/ # fdisk -l
Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 15567 125034839+ ee EFI GPT
Disk /dev/sdb: 8010 MB, 8010301440 bytes
247 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 15314 * 512 = 7840768 bytes
Device Boot Start End Blocks Id System
4. Mount the USB-stick and check the mount status.
ONIE:/ # mkdir -p /mnt/usb
ONIE:/ # mount /dev/sdb /mnt/usb
ONIE:/ # mount | grep sdb
/dev/sdb on /mnt/usb type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
ONIE:/ #
5. Copy the ONIE-updater to local storage. (e.g., /tmp)
ONIE: # cd /mnt/usb
ONIE:/mnt/usb # cp Wedge100BF-65X-r0_ONIE_v2018_05_00_09.updater /tmp/
ONIE:/mnt/usb # cd /tmp/
ONIE:/tmp #
- SCP
1. Please connect the OpenSSH server with 1G to switch MGMT port.
2. Set IP address in ONIE and try to ping the OpenSSH server. (Server IP: 188.188.10.100)
ONIE:/ # ip add add 188.188.10.1/16 dev eth0
ONIE:/ # ping -c 2 188.188.10.100
PING 188.188.10.100 (188.188.10.100): 56 data bytes
64 bytes from 188.188.10.100: seq=0 ttl=64 time=0.186 ms
64 bytes from 188.188.10.100: seq=1 ttl=64 time=0.260 ms
--- 188.188.10.100 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.186/0.223/0.260 ms
ONIE:/ #
3. Use the "SCP" command to copy the updater file from the OpenSSH server.
scp [OpenSSH server ip]:[updater_file_path] [local_path]
ONIE:/ # cd /tmp/
ONIE:/tmp # scp 188.188.10.100:Wedge100BF-65X-r0_ONIE_v2018_05_00_09.updater .
Host '188.188.10.100' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint md5 70:05:d0:53:d8:c7:bd:3f:48:dc:3b:3f:c7:93:4c:4f)
Do you want to continue connecting? (y/n) y
root@188.188.10.100's password:
Wedge100BF-65X-r0_ONIE_v2018_05_00_09.updater 100% 12MB 5.9MB/s 00:02
ONIE:/tmp #
STEP4. Start the upgrade process
1. Check the ONIE Updater image is exist.
ONIE:/tmp # ls
Wedge100BF-65X-r0_ONIE_v2018_05_00_09.updater
2. Upgrade the ONIE by "onie-nos-install [updater_file]" command.
ONIE:/tmp # onie-nos-install Wedge100BF-65X-r0_ONIE_v2018_05_00_09.updater
discover: Rescue mode detected. No discover stopped.
ONIE: Executing installer: Wedge100BF-65X-r0_ONIE_v2018_05_00_09.updater
Verifying image checksum ... OK.
Preparing image archive ... OK.
ONIE: Version : 2018.05.00.09
...
3. ONIE will be upgraded immediately. After upgrading, the system will automatically reboot.
After switch boot-up, enter "ONIE" > "ONIE: Rescue" mode and check ONIE version again.
ONIE:/ # onie-syseeprom
TlvInfo Header:
...
ONIE Version 0x29 13 2018.05.00.09
...
ONIE:/ #
Comments
0 comments
Please sign in to leave a comment.