ON-LINE SUPPORT OFFERING TECHNICAL AND SERVICE SUPPORT IN TIME

FAQ

Purpose:

This post shows the procedures to update the BMC via the web.

Model:

AS5916-54XKS, AS5916-54XL

AS7316-26XB

Preparation:

A. Personal computer 

B. BMC_Updater

C. Serial Console cable:

  • A cable which attached in the original box.

D. Console terminal

  • Putty,Teraterm,SecureCRT,etc...

E. Web browser

  • Chrome, Opera, etc..

Procedure:

STEP1. Plugin the ethernet cable to the MGMT on the front panel of switch. (e.g., AS5916-54XL)

 mceclip1.png

STEP2. Plugin the console cable into console port on the front panel of switch. (e.g., AS5916-54XL)

mceclip2.png

STEP3. Open the terminal. (e.g., Teraterm)

Note:  Please set the baud rate as 115200

picutre01.jpg

STEP4. Reboot the data center and enter the "Onie: Rescue " mode.

mceclip0.png

STEP5. There are two flashes in BMC, one flash01, another flash02. If we want to update the BMC firmware, please update twice. The following command shows the flash which you select. (e.g., 01, at the flash 01)

ONIE:/ #  ipmitool raw 0x34 0x96

mceclip4.png

STEP6. 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

 mceclip5.png

STEP7. Check the current status of BMC IP.

ONIE:/ # ipmitool lan print

mceclip2.png

STEP8. Open a web browser to login into the BMC web interface. (e.g., Chrome, URL: https://192.168.0.100/)

mceclip1.png

Note: Please allow going on the web page manually, because the web browser will determine that it is not secure.

STEP9.  Enter the "Username" and "Password" then click "OK".

Username: ADMIN

Password: ADMIN

mceclip2.png

STEP10. The "Properties" page is displayed the current version of BMC, it showed hexadecimal.  (e.g., Firmware version: 00.4A)

mceclip3.png

STEP11. Click the "update" option and click “Choose File” then choose the firmware image file. (e.g., AS5916_54XL_BMC_v00_4Bh_firmimg_ast2400.bin)

mceclip4.png

STEP12.  After seeing the firmware image file chosen, click “Upload” option.

mceclip5.png

STEP13. When prompted, click “OK” to start the upload.

mceclip6.png

STEP14. Please wait for the several minutes when showing upload is in progress.

mceclip7.png

STEP15. The web interface will show the current version and the new version when the upload is completed. 

Note: “Preserve Configuration” is enabled by default, please disable the “preserve configuration” when updating the firmware.

mceclip8.png

STEP16. Uncheck the “Preserve Configuration” option. Then, click "update" option below the button.

mceclip9.png

STEP17. When prompted, click “OK” to start the update.

mceclip11.png

STEP18. Wait for the update process until 100% completed. 

mceclip10.png

STEP19. Refresh the BMC web interface again and check the firmware version.

mceclip13.png

 

STEP20. You could also use the "ipmitool mc info" command under the ONIE to check the current firmware version.

ONIE:/ # ipmitool mc info

mceclip14.png

STEP21. Now, the flash 01 has been updated, switch to flash 2.

ONIE:/ # ipmitool raw 0x34 0x98      //Switch the flash from 01 to 02

mceclip16.png

STEP22. After switching, need to reset the BMC. It takes about 2 minutes.

ONIE:/ # ipmitool mc reset cold 

mceclip20.png

STEP23. Check the BMC flash again. (e.g., 02, at the flash 02)

ONIE:/ # ipmitool raw 0x34 0x96

mceclip21.png

STEP24. Please follow STEP6 to STEP20 again for the second flash. (e.g., The result of flash 02)

mceclip22.png

ONIE:/ # ipmitool mc info

mceclip23.png

Purpose:

This post shows the procedures to recover ONIE on Edgecore x86 platform switch via USB Drive.

Model:

AS5712-54X

AS5812-54X,AS5812-54T

AS5912-54X

AS5916-54XL, AS5916-54XKS

AS6712-32X

AS6812-32X

AS7312-54XS

AS7316-26XB

AS7712-32X

AS7816-64X

Preparation:

A. Personal computer:

B. Storage Device:

  • USB Drive * 1 (Please check that the USB drive with a minimum size of 256M and need to back up any files you want to keep.)

C. Serial Console cable:

  • A cable which attached in the original box.

D. Burning tools:

  • Windows: Win32 Disk Imager
  • MacOS:  "dd", Coreutils
  • Linux:  "dd", Coreutils

 E. ISO Image:

 F. A console terminal

  • Putty,Teraterm,SecureCRT,etc...

Procedure:

STEP1. Burn the ONIE ISO file to the USB drive. (Please choose the operating software you need)

Windows:

  1. Insert the USB drive to your PC or laptop.

  2. Double click the application icon.

     01.jpg

  3. Select the device which you insert in. (e.g., E:\)

   2.jpg

  4. Click the file icon.

 1.jpg

  5. Select the filename extension to "*".

  

  6. You will see the ISO image file and then open it.

  

  7. Select "write" icon to burn the ISO to the USB drive.

  6.jpg

  8. There will be a message popping up, just click yes then start burning.

 7.jpg

  9. You will see the successful message while the process is done.

  8.jpg

MacOS:

  1. Insert the USB drive to iMac or Macbook.

  2. Input "diskutil list" command on terminal to check the local disks and volumes. (e.g., /dev/disk2)

jeff-chengde-MacBook-Pro:jeff_cheng$ diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 1.0 TB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 1.0 TB disk0s2

/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.0 TB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 144.5 GB disk1s1
2: APFS Volume Preboot 45.2 MB disk1s2
3: APFS Volume Recovery 522.7 MB disk1s3
4: APFS Volume VM 5.4 GB disk1s4

/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *7.9 GB disk2

  3. Umount the disk with "diskutil umount [disk location]" (e.g., /dev/disk2)

jeff-chengde-MacBook-Pro:jeff_cheng$ diskutil umount /dev/disk2
Volume FDisk_partition_scheme on disk2 unmounted

  4. Start burning the ISO with "sudo dd if=[.ISO file location] of=[disk location]" command.

jeff-chengde-MacBook-Pro:jeff_cheng$ sudo dd if=~/Desktop/ISO/6712-32x/mSATA/onie-recovery-x86_64-accton_as6712_32x-r0.iso of=/dev/disk2
41216+0 records in
41216+0 records out
21102592 bytes transferred in 23.526439 secs (896973 bytes/sec)

Linux:

 1. Insert the USB drive to the personal computer.

 2. Input "fdisk -l" command on terminal to check the local disks and volumes. (e.g., /dev/sdc)

root@jeff-D520MT-K:~# fdisk -l


Disk /dev/sdc: 7.4 GiB, 7918845952 bytes, 15466496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DB507D64-8A6E-4250-8AD7-45EECE4B4971

Device Start End Sectors Size Type
/dev/sdc1 40 409639 409600 200M EFI System
/dev/sdc2 409640 15464447 15054808 7.2G Microsoft basic data

 3.Umount the disk with "umount [disk location]" (e.g., /dev/sdc)

root@jeff-D520MT-K:~# umount /dev/sdc2

 4. Start burning the ISO with "sudo dd if=[.ISO file location] of=[disk location]" command.

root@jeff-D520MT-K:~# dd if=/home/jeff/ISO/6712-32x/mSATA/onie-recovery-x86_64-accton_as6712_32x-r0.iso of=/dev/sdc
41216+0 records in
41216+0 records out
21102592 bytes (21 MB, 20 MiB) copied, 3.22522 s, 6.5 MB/s

STEP2. Insert the USB drive to the data center switch. (e.g., AS6712-32X)

STEP3. Plug in the console cable into the console port. (e.g., AS6712-32x)

mceclip1.png

STEP4. Open the terminal. (e.g., Teraterm)

Note:  Please set the baud rate as 115200

picutre01.jpg

STEP5. Power on the data center switch, wait for a few seconds and press "ESC" to enter the BIOS setup.

picture1.jpg

STEP6. Go to the Boot section and select the USB drive as boot option #1. (e.g., I-O DATAUSB FLASH DRIVE)

picture2.jpg

STEP7. Go to Save&Exit section, select "Save changes and Reset"

pciture3.jpg

STEP8. Wait for the reset time and the ONIE Installer screen will pop up, select "ONIE: Embed ONIE", the system will start to reinstall the ONIE.

picute4.jpg

STEP9. When showing the "Installing ONIE on:/dev/sdx", the installer is almost complete. (e.g., /dev/sdb)

picture5.jpg

STEP10. The system will reboot after completion.

picutre6.jpg

STEP11. Please follow STEP5 to go into BIOS again.

picture1.jpg

STEP12. Go to the Boot section and select the FLASH drive as boot option #1. (e.g., ATP ATP IG eUSB 1100), now you can remove the USB drive.

Note. Edgecore switch has two kinds of storage drives, eUSB or mSATA. Therefore, your switch's  FLASH model name might be different from the following picture.

picutre4.jpg

STEP13. Go to "Save & Exit" section, select "Save changes and Reset"

pciture3.jpg

STEP14. ONIE is recovered.

picutre9.jpg

Purpose:

This FAQ shows the procedures to check the SSD type.

Procedure:

There are two ways to check your SSD type, A and B.

A. If you can go into "ONIE: Rescue mode", please choose this plan.

STEP1: Boot up the datacenter and login "ONIE  Rescue" mode.

mceclip0.png

STEP2: Execute the command "parted /dev/sda print" to check the SSD information. (E.g.,eUSB)

ONIE:/ # parted /dev/sda print
Model: USB DISK 2.0 (scsi)
Disk /dev/sda: 7919MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB GRUB-BOOT hidden, bios_grub
2 3146kB 137MB 134MB ext4 ONIE-BOOT hidden
3 137MB 272MB 134MB ext4 ACCTON-DIAG hidden
4 272MB 406MB 134MB ext4 ONL-BOOT
5 406MB 540MB 134MB ext4 ONL-CONFIG
6 540MB 1614MB 1074MB ext4 ONL-IMAGES
7 1614MB 7918MB 6304MB ext4 ONL-DATA

*Note:

Model name = USB DISK  2.0AF8GSSGH-AC2AF8GSSGH-AC1 or FA008GEUT-AC meant eUSB type.

Model name = FS032GMSI-AC or TS32EPTMM1600, meant mSATA type.

 

B. If you can not go into "ONIE: Rescue mode", please choose this plan.

STEP1: Boot up the datacenter and login into BIOS. (Input "ESC")

mceclip0.png

STEP2: Go to "Save & Exit" option and check the "Boot Override" (E.g., P1:FS032GM242I-AC = mSATA type)

mceclip1.png 

*Note:

Model name = USB DISK  2.0AF8GSSGH-AC2AF8GSSGH-AC1 or FA008GEUT-AC meant eUSB type.

Model name = FS032GMSI-AC or TS32EPTMM1600, meant mSATA type.

Purpose:

This application note describes the procedures that how to upgrade BIOS from EFI shell on the Edgecore x86 platform.

Model:

AS5712-54X

AS5812-54X, AS5812-54T

AS5912-54X

AS5916-54XKS, AS5916-54XL

AS6712-32X

AS6812-32X

AS7312-54XS

AS7316-26XB

AS7326-56X

AS7712-32X

AS7726-32X

AS7816-64X

AS9716-32D

Preparation:

A. Personal computer 

B. BIOS_Updater

C. BIOS_Update_Tool

  • AfuEfix64.efi
    *User should get this tool from AMI directly, and Edgecore will not able to provide it.

D. Serial Console cable:

  • A cable which attached in the original box.

E. Console terminal

  • Putty,Teraterm,SecureCRT,etc...

F. USB drive

  • USB drive with a minimum size of 256M

Procedure:

STEP1. Put the BIOS_Updater and BIOS_Update_Tool to the USB drive. (e.g.,AS7712_BIOS_V36_20180212.bin, AfuEfix64.efi)

STEP2. Insert the USB drive into the data center front panel. (e.g., AS7712-32X)

image.png

STEP3. Power on the switch, wait for a few seconds and press "ESC" to enter the BIOS setup.

picture1.jpg

STEP4. Go to the "Save & Exit" section and select the UEFI: "Built-in EFI shell".

mceclip0.png

STEP5. Here is the EFI shell screen, fs0 is the USB drive that you insert. (e.g., fs0)

STEP6. Input "fs0:" command to go to the USB drive.

Shell> fs0:

 

STEP7. Input "dir" command to check the file list.

fs0:\> dir

STEP8. Input [EFI_tools BIOS_Updater  /P /B /K /ME] command to start the upgrade.

fs0:\> AfuEfix64.efi AS7712_BIOS_V36_20180212.bin /P /B /K /ME

STEP9. After upgrade, power cycle the switch to apply the new BIOS.

 

STEP10. Please follow STEP3 to go into BIOS again and check the version.

Purpose:

 This post shows the procedures to upgrade CPLD via ONIE on Edgecore switch.

Model:

AS5712-54X

AS5812-54X, AS5812-54T

AS5912-54X, AS5916-54XL, AS5916-54XKS

AS6712-32X

AS6812-32X

AS7712-32X

AS7326-56X

AS7726-32X

Preparation:

A. Personal computer 

B. CPLD_Updater

C. Serial Console cable:

  • A cable which attached in the original box.

D. Console terminal

  • Putty,Teraterm,SecureCRT,etc...

E. Empty USB drive or transport protocol tools

  • USB drive
  • TFTP server
  • FTP server
  • Http file server
  • OpenSSH

Procedure:

STEP1. Reboot the data center and enter the "Accton Diag" mode. (e.g., AS6712_32x)

STEP2. Check the current CPLD version.

Note: If your model belongs to "AS5712 / AS5812 / AS6712 / AS6812",  please refer to section A. others, please refer to section B. 

 - Section A.

       1.Input "diag_main" command.

    diag# diag_main

       

       

       2. Please find "Test read CPLD version" then input corresponding option number and you will 

           see the CPLD version.

       Please enter your choice(Enter 0 to quit): 29
CPLD-1 version : 4
CPLD-2 version : 2
CPLD-3 version : 2
Item (29) test result : SUCCESS

 - Section B.

       1. Input "cpldutil -ver" command.

       root@(none):/# cpldutil -ver
CPLD#1 Version: 10 (0x0A)
CPLD#2 Version: 9 (0x09)
CPLD#3 Version: 9 (0x09)
FAN CPLD Version: 08 (0x08)

STEP3. Reboot the switch and then press "ESC" to enter the BIOS setting.

Note: If your model belongs to AS5916/AS7326/AS7716/AS7726 and the current BIOS version is v36 or later, STEP3 should be processed before the upgrade, else please ignore this step.

*set Lock Chipset to: Disable

*set MSR Lock Control to: Disable

1. Check the version and then press "ESC".

mceclip3.png

2. Please follow the red marked.

mceclip1.png

3. Please disable the following red marked

mceclip4.png

4. Save changes and reset.

mceclip5.png

STEP4. Reboot the switch and enter the "ONIE: Rescue" mode.

STEP5. Start the upgrade process. Here introduce 5 ways (USB/TFTP/FTP/HTTP/SCP) to upgrade the CPLD.

  • USB drive

       1. Put the CPLD_Updater to the USB drive. (e.g., AS6712)

                                                            

       2. Insert the USB drive into the data center front panel.

       

       3. The terminal will show the following message.

       2019043001.jpg

       4.Input "fdisk -l" command to show the storage status (e.g., /dev/sdb)

       ONIE:/ # fdisk -l

Disk /dev/sda: 8048 MB, 8048869376 bytes
255 heads, 63 sectors/track, 978 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 979 7860223+ ee EFI GPT
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 1) logical=(0, 0, 2)
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(978, 140, 58)

Disk /dev/sdb: 4009 MB, 4009754624 bytes
255 heads, 63 sectors/track, 487 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 488 3911744 b Win95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(1023, 254, 63) logical=(0, 128, 1)
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(487, 125, 22)

       Note: /dev/sda is original hard drive, eUSB, 8G    

       5. Mount the USB drive and check the mount status.

       ONIE:/mnt # mkdir /mnt/usb
       ONIE:/mnt # mount -v /dev/sdb /mnt/usb
ONIE:/mnt # mount | grep sdb
/dev/sdb on /mnt/usb type vfat (rw,relatime,fmask=0022,dmask=0022,codepa
ge=437,iocharset=iso8859-1,shortname=mixed,errors=re

       6. Copy the CPLD_Updater to local storage. (e.g., /tmp)

       ONIE:/mnt/usb # ls
32X_ES6632BT_V522_20180125.jbc.updater
System Volume Information
ONIE:/mnt/usb # cp 32X_ES6632BT_V522_20180125.jbc.updater /tmp

       7. Upgrade the CPLD by "install_url [CPLD_Updater]" command.

       ONIE:/ # cd /tmp
       ONIE:/tmp # ls
      32X_ES6632BT_V522_20180125.jbc.updater
       ONIE:/tmp # install_url 32X_ES6632BT_V522_20180125.jbc.updater

       8. CPLD will be upgraded immediately. After upgrade, the system will automatically reboot.

       

  • TFTP

       1. Please connect to the TFTP server with Mgmt port. (e.g., AS6712-32X)

           Note: Please use 1G port.

         _____2019-04-24___3.01.34.png

       2. Set the IP address in ONIE and use the ping command to make sure that the TFTP server can communicate with switch. (Server IP: 192.168.0.200)

       ONIE:/ # ifconfig eth0 192.168.0.1 netmask 255.255.255.0

       ONIE:/ # ifconfig
       eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
      inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
       inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
       RX packets:77 errors:0 dropped:0 overruns:0 frame:0
       TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
       Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200): 56 data bytes
64 bytes from 192.168.0.200: seq=0 ttl=128 time=9.675 ms
64 bytes from 192.168.0.200: seq=1 ttl=128 time=0.517 ms
^C
--- 192.168.0.200 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.517/5.096/9.675 ms

        3. Input "install_url [TFTP file location]" command and then switch will start to upgrade the CPLD automatically.

       ONIE:/ # install_url tftp://192.168.0.200/32X_ES6632BT_V522_20180125.jbc.updater

           

  • FTP

       1. Please connect to the FTP server with Mgmt port. (e.g., AS6712-32X)

        Note: Please use 1G port.

       _____2019-04-24___3.01.34.png

       2. Set the IP address in ONIE and and use the ping command to make sure that the FTP server can communicate with switch. (Server IP: 192.168.0.200)

       ONIE:/ # ifconfig eth0 192.168.0.1 netmask 255.255.255.0

       ONIE:/ # ifconfig
       eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
      inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
       inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
       RX packets:77 errors:0 dropped:0 overruns:0 frame:0
       TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
       Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200): 56 data bytes
64 bytes from 192.168.0.200: seq=0 ttl=128 time=9.675 ms
64 bytes from 192.168.0.200: seq=1 ttl=128 time=0.517 ms
^C
--- 192.168.0.200 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.517/5.096/9.675 ms

       3. Input "install_url [FTP account:password@location]" command and and then switch will start to upgrade the CPLD automatically. 

     ONIE:/ # install_url ftp://edgecore:edgecore@192.168.0.200/32X_ES6632BT_V522_20180125.jbc.updater

       

  • HTTP

       1. Please connect to the HTTP server with Mgmt port. (e.g., AS6712-32X)

        Note: Please use 1G port.

       _____2019-04-24___3.01.34.png

       2. Set the IP address in ONIE and and use the ping command to make sure that the HTTP server can communicate with switch.. (Server IP: 192.168.0.200)

       ONIE:/ # ifconfig eth0 192.168.0.1 netmask 255.255.255.0

       ONIE:/ # ifconfig
       eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
      inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
       inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
       RX packets:77 errors:0 dropped:0 overruns:0 frame:0
       TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
       Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200): 56 data bytes
64 bytes from 192.168.0.200: seq=0 ttl=128 time=9.675 ms
64 bytes from 192.168.0.200: seq=1 ttl=128 time=0.517 ms
^C
--- 192.168.0.200 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.517/5.096/9.675 ms

       3. Input "install_url [HTTP URL]" command and and then switch will start to upgrade the CPLD automatically.

       ONIE:/ # install_url http://192.168.0.200/32X_ES6632BT_V522_20180125.jbc.updater

        

  • SCP

       1. Please connect to the openSSH server with Mgmt port. (e.g., AS6712-32X)

        Note: Please use 1G port.

       _____2019-04-24___3.01.34.png

       2. Set IP address in ONIE and and use the ping command to make sure that the openSSH server can communicate with switch. (Server IP: 192.168.0.100)

       ONIE:/ # ifconfig eth0 192.168.0.11 netmask 255.255.255.0

       ONIE:/ # ifconfig
       eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
      inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
       inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
       RX packets:77 errors:0 dropped:0 overruns:0 frame:0
       TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
       Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.100
PING 192.168.0.100 (192.168.0.100): 56 data bytes
64 bytes from 192.168.0.100: seq=0 ttl=64 time=0.705 ms
64 bytes from 192.168.0.100: seq=1 ttl=64 time=0.433 ms
^C
--- 192.168.0.100 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.433/0.569/0.705 ms

       3. Use the "SCP" command to copy the CPLD_Updater from the openSSH server.

          scp [account@server ip]:[installer_file_path] [local_path]

       ONIE:/ # scp jeff_cheng@192.168.0.100:/Users/jeff_cheng/Desktop/ISO/6712       -32x/CPLD/CPLDv522/32X_ES6632BT_V522_20180125.jbc.updater /tmp

Host '192.168.0.100' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint md5 be:26:8f:8c:2f:26:69:f5:05:7e:30:d2
:d2:01:e0:92)
Do you want to continue connecting? (y/n) y
jeff_cheng@192.168.0.100's password:
32X_ES6632BT_V522_20180125.jbc.updater 100% 636KB 635.6KB/s 00:00

       4. Upgrade the CPLD by "install_url [CPLD_Updater]" command.

       ONIE:/ # cd /tmp
       ONIE:/tmp # ls
      32X_ES6632BT_V522_20180125.jbc.updater
       ONIE:/tmp # install_url 32X_ES6632BT_V522_20180125.jbc.updater

       

STEP6. The system will auto warm restart. However, we recommend cold restart after the upgrade. After that, please follow STEP1 to check if it upgraded successfully. 

       1. Enter the "Accton Diag" mode.

       

       2. Check the current CPLD version.

       - Section A.

       diag# diag_main

       

          

       Please enter your choice(Enter 0 to quit): 29
CPLD-1 version : 5
CPLD-2 version : 2
CPLD-3 version : 2

Item (29) test result : SUCCESS

       - Section B.

       root@(none):/# cpldutil -ver
       root@(none):/# cpldutil -ver
CPLD#1 Version: 10 (0x0A)
CPLD#2 Version: 11 (0x0B)
CPLD#3 Version: 11 (0x0B)
FAN CPLD Version: 08 (0x08)

STEP7. After the upgrade, please return to STEP3 and then "enable" the setting back.

mceclip0.png

Purpose:

This post shows the procedures to upgrade FPGA via ONIE on Edgecore switch.

Model:

AS7312-54XS

AS7316-26XB

AS7712-32X

AS7716-32X

Preparation:

A. Personal computer 

B. FPGA_Updater

C. Serial Console cable:

  • A cable which attached in the original box.

D. Console terminal

  • Putty,Teraterm,SecureCRT,etc...

E. Empty USB drive or transport protocol tools

  • USB drive
  • TFTP server
  • FTP server
  • Http file server
  • OpenSSH

Procedure:

STEP1. Reboot the switch and then press "ESC" to enter the BIOS setting. (e.g., AS7316_26XB)

1. Check the version and then press "ESC".

mceclip0.png

Note: If your model belongs to AS7316/AS7716 series and the current BIOS version is v36 or later, STEP1 should be processed before the upgrade, else please ignore this step.

*set Lock Chipset to: Disable

*set MSR Lock Control to: Disable

2. Please follow the red marked.

mceclip1.png

3. Please disable the following red marked

mceclip4.png

4. Save changes and reset.

mceclip5.png

STEP2. Start the upgrade process (5 examples)

  • USB drive

       1. Put the FPGA_Updater to the USB drive. (e.g., AS7712_32X)

                      

       2. Insert the USB drive into the data center front panel.

       

       3. The terminal will show the following message.

       2019043001.jpg

       4.Input "fdisk -l" command to show the storage status (e.g., /dev/sdb)

ONIE:/mnt/usb # fdisk -l

Disk /dev/sda: 31.4 GB, 31488000000 bytes
255 heads, 63 sectors/track, 3828 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3829 30749999+ ee EFI GPT

Disk /dev/sdb: 4009 MB, 4009754624 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 ? 253420 474801 850989111+ 6e Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(97, 115, 32) logical=(253419, 0, 14)
Partition 1 has different physical/logical endings:
phys=(107, 121, 32) logical=(474800, 17, 54)
Partition 1 does not end on cylinder boundary
/dev/sdb2 ? 1 1 0 74 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(370, 116, 33) logical=(0, 0, 1)
Partition 2 has different physical/logical endings:
phys=(0, 13, 10) logical=(558658, 74, 4)
Partition 2 does not end on cylinder boundary
/dev/sdb4 3649 3649 220+ 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(3648, 57, 51)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(3648, 64, 57)
Partition 4 does not end on cylinder boundary

Partition table entries are not in disk order

         Note: /dev/sda is original hard drive, mSATA, 32G    

        5. Mount the USB drive and check the mount status.

ONIE:/mnt # mkdir /mnt/usb
ONIE:/mnt # mount -v /dev/sdb /mnt/usb
ONIE:/mnt # mount | grep sdb
/dev/sdb on /mnt/usb type vfat (rw,relatime,fmask=0022,dmask=0022,codep age=437,iocharset=iso8859-1,shortname=mixed,errors=re

       6. Copy the FPGA_Updater to local storage. (e.g., /tmp)

ONIE:/mnt/usb # ls
AS7712-32X_FPGA_v4.updater
System Volume Information
ONIE:/mnt/usb # cp AS7712-32X_FPGA_v4.updater /tmp

       7. Upgrade the FPGA by "install_url [FGPA_Updater]" command.

ONIE:/ # cd /tmp
ONIE:/tmp # ls
AS7712-32X_FPGA_v4.updater
ONIE:/tmp # install_url AS7712-32X_FPGA_v4.updater

       8. FPGA will be upgraded immediately.

         

  • TFTP

       1. Please connect to the TFTP server with Mgmt port. (e.g., AS7716-32X)

           Note: Please use 1G port.

         

       2. Set the IP address in ONIE and try to ping the TFTP server. (Server IP: 192.168.0.200)

ONIE:/ # ifconfig eth0 192.168.0.1 netmask 255.255.255.0

ONIE:/ # ifconfig
eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200): 56 data bytes
64 bytes from 192.168.0.200: seq=0 ttl=128 time=9.675 ms
64 bytes from 192.168.0.200: seq=1 ttl=128 time=0.517 ms
^C
--- 192.168.0.200 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.517/5.096/9.675 ms

       3. Input "install_url [TFTP file location]" command and the upgrade will start.

ONIE:/ # install_url tftp://192.168.0.200/AS7712-32X_FPGA_v4.updater

       4. FPGA will be upgraded immediately. 

      

  • FTP

       1. Please connect to the FTP server with Mgmt port. (e.g., AS7712-32X)

        Note: Please use 1G port.

       

      2. Set the IP address in ONIE and try to ping the FTP server. (Server IP: 192.168.0.200)

ONIE:/ # ifconfig eth0 192.168.0.1 netmask 255.255.255.0

ONIE:/ # ifconfig
eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200): 56 data bytes
64 bytes from 192.168.0.200: seq=0 ttl=128 time=9.675 ms
64 bytes from 192.168.0.200: seq=1 ttl=128 time=0.517 ms
^C
--- 192.168.0.200 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.517/5.096/9.675 ms

       3. Input "install_url [FTP account:password@location]" command and the upgrade will           

           start. 

ONIE:/ # install_url ftp://edgecore:edgecore@192.168.0.200/AS7712-32X_FPGA_v4.updater

         4. FPGA will be upgraded immediately.  

        

  • HTTP

       1. Please connect to the HTTP server with Mgmt port. (e.g., AS7712-32X)

        Note: Please use 1G port.

       

       2. Set the IP address in ONIE and try to ping the HTTP server. (Server IP: 192.168.0.200)

ONIE:/ # ifconfig eth0 192.168.0.1 netmask 255.255.255.0

ONIE:/ # ifconfig
eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.200
PING 192.168.0.200 (192.168.0.200): 56 data bytes
64 bytes from 192.168.0.200: seq=0 ttl=128 time=9.675 ms
64 bytes from 192.168.0.200: seq=1 ttl=128 time=0.517 ms
^C
--- 192.168.0.200 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.517/5.096/9.675 ms

       3. Input "install_url [HTTP URL]" command and the upgrade will start.

ONIE:/ # install_url http://192.168.0.200/AS7712-32X_FPGA_v4.updater

       4. FPGA will be upgraded immediately.        

       

  • SCP

       1. Please connect to the OpenSSH server with Mgmt port. (e.g., AS7712-32X)

        Note: Please use 1G port.

       

       2. Set IP address in ONIE and try to ping the OpenSSH server. (Server IP: 192.168.0.100)

ONIE:/ # ifconfig eth0 192.168.0.11 netmask 255.255.255.0

ONIE:/ # ifconfig
eth0 Link encap:Ethernet HWaddr CC:37:AB:C4:B1:0C
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ce37:abff:fec4:b10c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7619 (7.4 KiB) TX bytes:7134 (6.9 KiB)
Memory:dff00000-dff1ffff

ONIE:/ # ping 192.168.0.100
PING 192.168.0.100 (192.168.0.100): 56 data bytes
64 bytes from 192.168.0.100: seq=0 ttl=64 time=0.705 ms
64 bytes from 192.168.0.100: seq=1 ttl=64 time=0.433 ms
^C
--- 192.168.0.100 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.433/0.569/0.705 ms

       3. Use the "SCP" command to copy the FPGA_Updater from the SSH server.

          scp [account@server ip]:[installer_file_path] [local_path]

ONIE:/ # scp jeff_cheng@192.168.0.100:/Users/jeff_cheng/Desktop/ISO/7712-32x/FPGA/AS7712-32X_FPGA_v4.updater /tmp

Host '192.168.0.100' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint md5 be:26:8f:8c:2f:26:69:f5:05:7e:30:d2
:d2:01:e0:92)
Do you want to continue connecting? (y/n) y
jeff_cheng@192.168.0.100's password:
AS7712-32X_FPGA_v4.updater 100% 636KB 635.6KB/s 00:00

       4. Upgrade the FPGA by "install_url [FPGA_Updater]" command.

ONIE:/ # cd /tmp
ONIE:/tmp # ls
AS7712-32X_FPGA_v4.updater
ONIE:/tmp # install_url AS7712-32X_FPGA_v4.updater

       5. FPGA will be upgraded immediately. 

        

STEP3. After upgrade, you need power cycle the switch by manual.

       

STEP4. Enter the "Accton-diag" mode when the switch turns on.

      

STEP5. Check the FPGA version with "show_chip_ver".

root@(none):/# show_chip_ver
CPLD1 Ver (0x60).0x1 = 0a
CPLD2 Ver (0x62).0x1 = 0b
CPLD3 Ver (0x64).0x1 = 0b
CPLDFAN Ver (0x66).0x1 = 08
FPGA Ver = 0x4

       

STEP6. After the upgrade, please return to STEP1 and then "enable" the setting back.

mceclip0.png

 Scenario


Basic Configuration on the switch

root@localhost:~# vi /etc/network/interfaces
auto ma1
iface ma1 inet static
address 188.188.254.150
netmask 255.255.255.0


root@localhost:~# ifdown ma1
root@localhost:~# ifup ma1

Install the OFDPA to the switch AS5712-54X as example
root@localhost:~# wget http://188.188.254.100/ofdpa_3.0.5.5+accton1.7-1_amd64.deb
root@localhost:~# dpkg -i --force-overwrite ofdpa_3.0.5.5+accton1.7-1_amd64.deb

Specify the controller IP on "/etc/ofagent/ofagent.conf"
root@localhost:~# nano /etc/ofagent/ofagent.conf
# Controller
#-----------------------
CTRL1_IP="188.188.254.122"
CTRL1_PORT="6653"

#CTRL2_IP="127.0.0.1"
#CTRL2_PORT="6653"
#CTRL3_IP="127.0.0.1"
#CTRL3_PORT="6653"
root@localhost:~# service ofagentd restart

ONOS Controller Prepare Work
Hardware (minimum requirements)
2 core CPU
2 GB RAM
10 GB HDD
1 NIC (any speed)

Software

Ubuntu 16.04.5 LTS


Install Oracle Java 8
root@ONOS:~# sudo apt-get install software-properties-common -y && \
sudo add-apt-repository ppa:webupd8team/java -y && \
sudo apt-get update && \
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections && \
sudo apt-get install oracle-java8-installer oracle-java8-set-default -y

Install curl
root@ONOS:~# sudo apt-get install curl

Some dependencies need to be installed for a fresh Ubuntu.
root@ONOS:~# sudo apt-get update
root@ONOS:~# sudo apt-get install -y gawk texinfo python-pip build-essential iptables automake autoconf libtool
root@ONOS:~# sudo pip install -U pip
root@ONOS:~# sudo pip install ipaddress

Move to /opt
root@ONOS:~# sudo mkdir /opt
root@ONOS:~# cd /opt

Download ONOS (1.12.0)
root@ONOS:/opt# sudo wget -c http://downloads.onosproject.org/release/onos-1.12.0.tar.gz

Untar the ONOS archive into /opt
root@ONOS:/opt# sudo tar xzf onos-1.12.0.tar.gz

Rename the extracted directory to "onos"
root@ONOS:/opt# sudo mv onos-1.12.0.tar.gz onos

Add “ONOS_APPS” environment variable
root@ONOS:~# cat ~/.profile
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
 if [ -f ~/.bashrc ]; then
 . ~/.bashrc
 fi
fi
mesg n || true
export ONOS_APPS=drivers,openflow,segmentrouting,fpm,dhcprelay,netcfghostprovider,routeradvertisement

Running ONOS with its start-stop script
root@ONOS:~# /opt/onos/bin/onos-service start


 

#Now the ONOS controller is running and you will see the CLI of ONOS controller.

Check the running APPs of ONOS
onos> apps -a -s


 

#ONOS needs time to bring up all the applications, therefore, it will not show the all apps immediately.

Download Trellis source code
#Open a new SSH session to connect to the server.
root@ONOS:~# apt-get install git
root@ONOS:~# git clone https://gerrit.onosproject.org/routing

Create trellis json file
root@ONOS:~# vi routing/trellis/trellis_demo.json
trellis_demo.json
root@ONOS:~# cat routing/trellis/trellis_demo.json

#You can refer to the slides to understand how to configure json file via below link.
https://opencord.org/wp-content/uploads/2018/01/Trellis-Tutorial-CORD-Build-2017.pdf

Push trellis configuration to ONOS (onos-netcfg shell script)
root@ONOS:~# /opt/onos/bin/onos-netcfg 188.188.254.122 routing/trellis/trellis_demo.json

#188.188.254.122 is ONOS controller's IP.
#If everything is correct, then there will have no any message printed to the terminal.

Check the current network configuration on ONOS
onos> netcfg

To access the ONOS
#The default username and password is onos / rocks.

CLI: ssh -p 8101 onos@[controller_IP]
WEB GUI: http://[controller_IP]:8181/onos/ui/index.html



Some basic commands on ONOS for checking status.

onos> devices
onos> links
onos> interfaces
onos> flows -s
onos> hosts –s
 



 
How to install the Open Network Linux on Edgecore switch (For x86 CPU only, Exclude AS5710 series and AS4610 series)?
 
Booting the switch, then choose “ONIE: Install OS”.
 
You will get into ONIE.


When you get into ONIE, the system will print the messages by itself all the time.
Those messages means the device is searching for the information.
Below are the information which the device is searching for.

You can stop the searching by this command.

 
Here’s the way to set the management port IP.




Now you could install the ONL. (Open Network Linux)
Open the TFTP Server, and then upload the file to the switch.
After uploading, the switch will install the ONL by itself.

 
After installing, the switch will reboot by itself.
Please choose the Open Network Linux.

 
Here’s the way to login.

 
How to do the packet forward on the open networking switch? (OpenNSL)


 
Before running the OpenNSL, ping from 192.168.1.1 to 192.168.1.2 will fail.

 
Here’s the steps to install the OpenNSL.
Prepare the FTP server, and connect to the management port of the switch.
 
Step 1: Setting the IP address on the management port


Ping Server to make sure the switch could contact to the FTP server.

 
Step 2: Upload the OpenNSL’s package to the switch.
Here’s the way to download the file from FTP server.
Please use this command:
wget ftp://username:password@FTP server IP/file name.

 
Step 3: Install the OpenNSL.

 
Run the Script to do packet forward. (example_l2_firewall)
Note: before running the script, please run this command first, or you will fail to run the script.


If you forget to run that command (opennsl_setup), the window will pop-out as below.

 
If you run this command first


You will see the menu as below, which means the switch can do the packet forward.

 
Test:
Ping from 192.168.1.1 to 192.168.1.2.

 
And you could choose 3 (show L2 table) to check the MAC table.

 
This document shows how to find and use some functions under openBMC to check the hardware information.
1. weutil : show switch’s Serial No. / MAC
root@bmc:~# weutil 

Product Sub-Version: 3
Product Serial Number: AXXXXXXXXX
Product Asset Tag: 000000001

Assembled At: Joytech
Local MAC: A8:2B:B5:0C:30:15


2. btools.py : show PSU info. / show Temperature etc.
Get help info. : btools.py help
Get PSU info. EX: Get PSU power info. (Only insert PSU 1)
root@bmc:~# btools.py --PSU 1 r p
pfe1100 7-0059: MFR_ID is [PFE600-12-054NA]
pfe1100 7-005a: MFR_ID is [PFE600-12-054NA]
70000.0mW
root@bmc:~# btools.py --PSU 2 r p
0.0mW
Get switch Temperature (Montara for 32X / Mavericks for 65X)
root@bmc:~# btools.py --TMP Montara sh
TMP SENSOR 01 29.500 C
TMP SENSOR 02 28.500 C
TMP SENSOR 03 29.500 C
TMP SENSOR 04 27.000 C
TMP SENSOR 05 25.000 C
TMP SENSOR MAX LOCAL 26.000 C
TMP SENSOR MAX Tofino 38.000 C

3. get_fan_speed.sh
root@bmc:~# get_fan_speed.sh
Fan 1 RPMs: 6150, 3900, (32%)
Fan 2 RPMs: 6150, 3750, (32%)
Fan 3 RPMs: 6150, 4050, (32%)
Fan 4 RPMs: 6150, 3900, (32%)
Fan 5 RPMs: 6000, 3900, (32%)
For 65X: add the key word “Mavericks” will show 10 fans
root@bmc:~# get_fan_speed.sh Mavericks
Fan 1 RPMs: 12150, 9750, (67%)
Fan 2 RPMs: 12300, 9750, (67%)
Fan 3 RPMs: 12300, 9900, (67%)
Fan 4 RPMs: 12150, 9750, (67%)
Fan 5 RPMs: 12300, 9900, (67%)
Fan 6 RPMs: 12150, 9900, (67%)
Fan 7 RPMs: 12300, 9900, (67%)
Fan 8 RPMs: 12300, 9750, (67%)
Fan 9 RPMs: 12150, 9900, (67%)
Fan 10 RPMs: 12300, 9750, (67%)
To specify the number of fan. (1-10 for 65X, 1-5 for 32X)
root@bmc:~# get_fan_speed.sh 1
Fan 1 RPMs: 6300, 3900, (32%)
 
PS. To find the location of known function, use the command "which".
EX:
root@bmc:~# which sol.sh
/usr/local/bin/sol.sh
 
Edgecore Networks is committed to offering its customers the best networking solutions available on the market today. 
 
We have recently become aware of an issue with a component Exhibiting Clock -Signal Issue that may lead to a system failure. In most cases, switches will perform normally and may never experience a failure. The switches that are affected include AS5712-54X, AS5812-54X, AS5812-54TAS6712-32XAS6812-32X and AS7712-32X.
We currently have found the following:
1. Edgecore Networks has crossed referenced all RMA reports, but has not seen any failures related to the supplied component clock-signal issue. 
2. Edgecore Networks is conducting and will continue conducting ongoing internal testing and simulation. So far, no clock failure has been found. We will continue with our internal testing and update our customers with our findings, if any and accordingly. 
3. Based on information that the chipset vendor has provided to us, thus far, the chances of failure is low.   
4. We believe it only (or may) happen after non-stop running for many months;  ~ 18 + months. 
5. All Edgecore Data Center Open Networking Switches have a 3-year warranty. As always, Edgecore Networks will take full responsibility if our product has an issue, and we will also offer free advanced RMA service with expedited shipment for any product that has the related clock-signal failure issue. 
 
As always, we firmly stand behind all the switches we build and continue to support our customers. If you believe you have been affected by this issue, please send an email to our customer support department at support@edge-core.com
 
Edgecore X86 HW Platform System Application Note - Recover ONIE in X86 Platform

Purpose:
This application note describes the procedure how to recover ONIE in Edgecore X86 platform switches: AS5712-54X, AS6712-32X, AS7712-32X

Procedures:

Step 1: Use a tool, e.g. Win32 Disk Imager for writing ONIE recovery ISO image to USB drive. In the "Image File" area, please choose the xxxxx.iso which is provided by Edgecore. Press the "Write" button.


Step 2: Press the “Yes” button to continue. Please note that all the data in the USB drive will be erased.


Step 3:
a. Plug in the USB drive in the box (AS5712/AS6712/AS7712).
b. Power on switch, and then press to enter BIOS.

c. In the BIOS menu under the Boot submenu choose the USB drive as boot option #1.
Note: User needs to enter the "Hard Drive BBS Priorities" to choose the USB drive as option #1 first.

d. Do the "Save & Exit" to boot up from USB drive


Step 4: The ONIE Installer screen will pop up, choose the "ONIE Rescue". System will start ONIE Rescue mode.


Step 5: Run following command to erase flash, and make sure the message as following diagram.
sgdisk –Z /dev/sdb
Note:Please make sure the /dev/sdb is the flash but not recover USB drive.


Step 6: Reboot system and then following Step 3 to wait ONIE Installer screen prompt.

Step 7: Choose the "ONIE: Embed ONIE". System is going to starting to install ONIE.


Step 8: Quickly remove the USB drive while the system is rebooting, otherwise system will boot from USB drive again.
Note: User can follow step 3 to reset the boot menu.


Step 9: ONIE is recovered as following diagram.
Edgecore 4600 System Upgrade Application Note

Purpose:
This application note describes the upgrade procedure of PicOS installed on the Edgecore AS4600-54T switch. Typical bare-metal switches usually come with 2GB or more of NAND Flash storage. In these switches, PicOS creates two repositories, namely the PicOS Repository and the Recovery Repository. The Recovery Repository is required for the automated system upgrade process. Usually, the PicOS Repository takes around 1GB and Recovery Repository requires around 600MB.

Background:
The Edgecore AS4600-54T is a special case of bare-metal switch; it comes with limited NAND Flash storage since it was an early design. With only 1GB of NAND Flash, the AS4600-54T only has space to install the PicOS Repository, but no space for the Recovery Repository. Even though PicOS can be installed and operated on the AS4600-54T, users will encounter issues when they try to upgrade the system image because of the missing Recovery Repository.

Solutions:
There are two solutions available:
1. Manual upgrade.
2. Using an additional USB repository.

Manual Upgrade
This solution requires users to set up an environment to copy the configuration files and any user data files before installing the new PicOS image through ONIE. Users should follow this procedure:

1. Set up an environment on a remote FTP or TFTP server.
2. Log in to the switch and copy the configuration files under /picos to the remote FTP or TFTP server.
3. Also copy any user data files.
4. Reboot the switch and log in to ONIE.
5. Follow ONIE installation procedures to install the new PicOS image. This will erase all existing data in the PicOS repository. (For details, please refer to page 16 at http://www.pica8.com/wpcontent/uploads/2015/09/picos-system-configuration.pdf. )
6. Please pay attention to the PicOS installer question that asks for deleting the partitions, it will erase all existing data in the partitions. The PicOS installer will stop if your answer is “no,” or if there is no answer for a while. Answer “yes” to continue to install PicOS.

7. Log in to the switch and copy the configuration files and user data from the remote FTP or TFTP server back to /picos. The following configuration files need to be copied and re-installed.



Using an Additional USB Repository
The AS4600-54T has a USB port that can accept most USB sticks as the secondary storage. Users can take the following steps after plugging in a USB stick.

1. Log in to the switch and run ‘blkid’ to identify the current USB stick.

2. If you plug in a USB disk, make sure it is detected as follows:

3. If the USB is new, the partition ‘/etc/sdb1/’ needs to be created.

If there is no partition, use fdisk /dev/sdb and then press ‘n’ to add a new partition.

4. Under the Linux prompt, set the label name of the USB stick to PICOS-BAK.

5. Run ‘blkid’ to identify the current SSD again. The label name of the USB stick will change to PICOS-BAK.

6. Now PicOS should be able to recognize the additional disk space. Check the file /etc/picos/fs_status.

Make sure the secondary status is undefined.

7. Reboot the switch and check /etc/picos/fs_status.

At this time, users can follow the typical upgrade schedule to upgrade the system. For more details, please refer to page 20 at: http://www.pica8.com/wp-content/uploads/2015/09/picos-system-configuration.pdf

Notes
Prior to 2.6.4, users need to also change the file /etc/functions_hw to enable the USB upgrade on the AS4600-54T. This procedure can be waived after 2.6.5 where the software is enhanced to handle this limitation.
Edgecore and PicOS license Installation application

Purpose:
This application note describes procedures that how to check Hardware ID in all Edgecore datacenter switch platforms which is installed PicOS.

Contents:
◆ How to check Hardware ID in Edgecore switches with PicOS system
◆ How to install PicOS license in Edgecore platforms.

How to check Hardware ID in PicOS
1) Accessing your Hardware ID
User has to get hardware ID available to download a license from Edgecore.
Use the command license -s to check if the license has been installed or not.


How to install license in PicOS
1) Download license file and copy it to the /etc/picos/ directory.


2) Run ‘sudo license –i to install the license. The system will display “License successfully added….”


3) Run ‘sudo license –s’ to check the status of license.

Click “product selector tool”
to help you to find what you need.

Product Selector Tool

We use cookies to provide the best possible user experience for those who visit our website. By using this website you agree to the placement of cookies. For more details consult our privacy policy

OK