Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:mellanox:spectrum_sn2000_series [2023/12/01 12:26] – [Hardware Highlights] tk154toh:mellanox:spectrum_sn2000_series [2024/10/29 20:46] (current) – Delete device page because it was moved tk154
Line 1: Line 1:
-====== Mellanox Spectrum SN2000 Series ====== 
  
-/* This template is intended to be used via https://openwrt.org/meta/create_new_device_page ONLY.  */ 
-/* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ 
-/* USE https://openwrt.org/meta/create_new_device_page */ 
- 
-The Mellanox Spectrum SN2000 Series Switches are Managed Ethernet Switches with a maximum speed of 100Gb/s and up to 56 ports.\\ 
-They use the switchdev API to offload the kernel's forwarding plane to its ASICs, allowing for more network throughput.\\ 
-More info: https://github.com/Mellanox/mlxsw/wiki 
- 
-/*****/ 
-/* How to add images ========> http://openwrt.org/meta/adding_images_to_openwrt_wiki */ 
-/*****/ 
- 
-{{media:example:genericrouter1.png?200|Generic Router}} 
- 
-===== Supported Versions ===== 
- 
----- datatable ---- 
-cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid 
-headers : Brand, Model, Version, Current Release, OEM Info, Forum Search, Technical Data 
-align   : c,c,c,c,c,c,c 
-filter  : Brand=Mellanox 
-filter  : Model~Spectrum SN2* 
----- 
- 
-===== Hardware Highlights ===== 
----- datatable ---- 
-cols    : Model, Versions, CPU, CPU MHz, CPU Cores_numcores, RAM MB_mbram, Flash MB_mbflash, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, USB ports_, Comments USB SATA ports_ 
-header  : Model, Version,SoC,CPU MHz,CPU Cores,RAM MB,SSD,100M ports,Gbit ports,QSFP ports,USB,"" 
-align   : c,c,c,c,c,c,c,c,c,c,c 
-filter  : Brand=Mellanox 
-filter  : Model~Spectrum SN2* 
----- 
- 
-===== Installation ===== 
-/* stable release */ 
-/* uncomment once stable release is available 
----- datatable ---- 
-cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url 
-headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock 
-align   : c,c,c 
-filter  : Brand=Mellanox 
-filter  : Model=Spectrum SN2000 Series 
-filter  : Versions~ 
----- 
-*/ 
- 
- 
-/* snapshot */ 
-/* delete once stable release is available */ 
----- datatable ---- 
-cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url 
-headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade 
-align   : c,c,c 
-filter  : Brand=Mellanox 
-filter  : Model~Spectrum SN2* 
----- 
- 
-<WRAP center round info 60%> 
-This will erase the complete disk and flash OpenWrt, removing existing operating systems, including the commonly pre-installed ONIE or Onyx. 
-</WRAP> 
- 
-Flashing the image is done as you do it with any other x86 target:  
-https://openwrt.org/docs/guide-user/installation/openwrt_x86#installation 
- 
-The instructions on this page will show you how to install OpenWrt on the switch by flashing it from a USB device. 
-You have to connect the host PC to the serial port of the network switch to navigate through the BIOS and the installation steps. The parameters of the serial connection can be found [[:toh:mellanox:spectrum_sn2000_series#serial|here]]. 
- 
-<WRAP center round info 60%> 
-The USB device will serve as a kind of Live USB. If you already have a Live USB from another Linux distribution, you can also use that and skip this step. 
-</WRAP> 
- 
-First, plug the USB device into your PC, identify your USB device (e.g., by running **''fdisk -l''**; the instructions here will use **''/dev/sdx''**), and flash the image to it. 
-:!: This will erase all your data on the USB device. 
- 
-<code> 
-gunzip openwrt-x86-64-generic-ext4-combined.img.gz 
- 
-# Replace sdx with your device 
-sudo dd if=openwrt-x86-64-generic-ext4-combined.img of=/dev/sdx bs=1M 
-</code> 
-\\ 
-Since the OpenWrt root partition size is only 104MB by default, we must enlarge it and its filesystem. :!: Some Linux distributions automatically mount the root partition, so you may have to unmount it before. 
-<code> 
-sudo parted -s /dev/sdx resizepart 2 100% 
-sudo resize2fs -f /dev/sdx2 
-</code> 
-\\ 
-After that, you can mount the root partition and copy the OpenWrt to the home directory of the user root. 
-<code> 
-sudo mkdir /mnt/usb 
-sudo mount /dev/sdx2 /mnt/usb/ 
-cp openwrt-x86-64-generic-ext4-combined.img /mnt/usb/root/ 
-sudo umount /dev/sdx2 
-sudo rmdir /mnt/usb 
-</code> 
-\\ 
-Next, (safely) unplug the USB device, plug it into the Mellanox switch, and connect your PC to its serial port. 
-To enter the BIOS, reboot the switch and press **''CTRL+B''** while you see the BIOS information text (American Megatrends …).\\ 
-The default password to enter the BIOS is **''admin''**.\\ 
-To boot from the USB device, switch to the **''Save & Exit''** tab and select your USB device from the Boot Override options.\\ 
-When booted, you can press **''Enter''** on your keyboard to activate the console and start flashing the image. 
- 
-<code> 
-cd ~ 
-dd if=openwrt-x86-64-mellanox_spectrum-sn2100-ext4-combined.img of=/dev/sda bs=1M 
-</code> 
-\\ 
-Finally, if the flashing process was successful, reboot, and the switch should boot into the newly installed OpenWrt system. 
- 
-As mentioned before, the root partition size is only 104 MB. To increase it and the filesystem, please follow the steps of the following link: https://openwrt.org/docs/guide-user/installation/openwrt_x86#expanding_root_partition_and_filesystem. 
- 
- 
-===== Upgrading OpenWrt ===== 
- 
-==== LuCI Web Upgrade Process ==== 
- 
-  * Browse to ''<nowiki>http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/</nowiki>'' LuCI Upgrade URL 
-  * Upload image file for sysupgrade to LuCI 
-  * Wait for reboot 
- 
-==== Terminal Upgrade Process ==== 
-Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. 
- 
-=== sysupgrade === 
- 
-  * Login as root via SSH on 192.168.1.1, then enter the following commands: 
- 
-<code> 
-cd /tmp 
-wget https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-generic-ext4-combined.img.gz 
-sysupgrade /tmp/openwrt-x86-64-generic-ext4-combined.img.gz 
-</code> 
- 
-===== Basic configuration ===== 
- 
-==== Network interfaces ==== 
-The default network configuration is: 
-^ Interface Name ^ Description     ^ Default configuration ^ 
-| br-lan         | All QSFP Ports  | 192.168.1.1/24        | 
-| eth0           | Management Port | None                  | 
-| lo             | Loopback        | 127.0.0.1             | 
- 
-==== Buttons ==== 
-The Mellanox Spectrum SN2000 Series has the following buttons: 
- 
-^ BUTTON ^ Event ^ 
-| Reset  | reset | 
- 
-===== Hardware ===== 
-==== Info ==== 
- 
----- datatemplatelist dttpllist ---- 
-template: meta:template_datatemplatelist 
-cols    : Brand, Model, Versions, Device Type, Availability, Supported Since Commit_git, Supported since Rel, Supported current Rel, Unsupported, Bootloader, CPU, Target, CPU MHz, Flash MBs, RAM MB, Switch, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, Modem, VLAN, WLAN 2.4GHz, WLAN 5.0GHz, WLAN Hardwares, WLAN Comments_, Detachable Antennas_, USB ports_, SATA ports_, Comments USB SATA ports_, Serial, JTAG, LED count, Button count, Power supply, Device Techdata_pageid, Forum topic URL_url, wikidevi URL_url, OEM Device Homepage URL_url, Firmware OEM Stock URL_url, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Comments_ 
-filter  : Brand=Mellanox 
-filter  : Model~Spectrum SN2* 
----- 
- 
-==== Photos ==== 
-/* =====>>>>> Standard size for photos: add ?400 to the medialink                                */ 
-/* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ 
-/* e.g. {{:media:yourbrand:yourbrand_yourmodel_front.jpg?400|}}                                  */ 
-/* Thanks, your wiki administration - Oct. 2015 */ 
- 
-//Front://\\ 
-**Insert photo of front of the casing** 
- 
-//Back://\\ 
-**Insert photo of back of the casing** 
- 
-//Backside label://\\ 
-**Insert photo of backside label** 
- 
-==== Opening the case ==== 
- 
-**Note:** This will void your warranty! 
- 
-<WRAP BOX> 
-FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// 
-  * To remove the cover and open the device, do a/b/c 
-</WRAP> 
- 
-//Main PCB://\\ 
-**Insert photo of PCB** 
- 
-==== Serial ==== 
-How to connect to the Serial Port of this specific device:\\ 
-**Insert photo of PCB with markings for serial port** 
- 
-Serial connection parameters for Mellanox Spectrum SN2000 Series: 
- 
-^ Parameter    ^ Setting ^ 
-| Baud rate    | 115200  | 
-| Data bits    | 8       | 
-| Stop bits    | 1       | 
-| Parity       | None    | 
-| Flow control | None    | 
- 
-===== Bootlogs ===== 
-==== OEM bootlog ==== 
-<WRAP bootlog> 
-<nowiki>COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE</nowiki> 
-</WRAP>\\ 
- 
-==== OpenWrt bootlog ==== 
-<WRAP bootlog> 
-<nowiki>COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING</nowiki> 
-</WRAP>\\ 
- 
-===== Notes ===== 
-//Space for additional notes, links to forum threads or other resources.// 
- 
-  * ... 
- 
-===== Tags ===== 
-[[meta:tags|How to add tags]] 
-{{tag>x86 x86-64}} 
  • Last modified: 2023/12/01 12:26
  • by tk154