Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| toh:mellanox:spectrum_sn2000_series [2023/12/01 12:26] – [Hardware Highlights] tk154 | toh: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:// | ||
| - | /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ | ||
| - | /* USE https:// | ||
| - | |||
| - | 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' | ||
| - | More info: https:// | ||
| - | |||
| - | /*****/ | ||
| - | /* How to add images ========> | ||
| - | /*****/ | ||
| - | |||
| - | {{media: | ||
| - | |||
| - | ===== Supported Versions ===== | ||
| - | |||
| - | ---- datatable ---- | ||
| - | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, | ||
| - | headers : Brand, Model, Version, Current Release, OEM Info, Forum Search, Technical Data | ||
| - | align : c, | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | |||
| - | ===== Hardware Highlights ===== | ||
| - | ---- datatable ---- | ||
| - | cols : Model, Versions, CPU, CPU MHz, CPU Cores_numcores, | ||
| - | header | ||
| - | align : c, | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | |||
| - | ===== 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 | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | */ | ||
| - | |||
| - | |||
| - | /* 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 | ||
| - | filter | ||
| - | ---- | ||
| - | |||
| - | <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. | ||
| - | </ | ||
| - | |||
| - | Flashing the image is done as you do it with any other x86 target: | ||
| - | https:// | ||
| - | |||
| - | 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 [[: | ||
| - | |||
| - | <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, | ||
| - | </ | ||
| - | |||
| - | First, plug the USB device into your PC, identify your USB device (e.g., by running **'' | ||
| - | :!: This will erase all your data on the USB device. | ||
| - | |||
| - | < | ||
| - | 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 | ||
| - | </ | ||
| - | \\ | ||
| - | 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. | ||
| - | < | ||
| - | sudo parted -s /dev/sdx resizepart 2 100% | ||
| - | sudo resize2fs -f /dev/sdx2 | ||
| - | </ | ||
| - | \\ | ||
| - | After that, you can mount the root partition and copy the OpenWrt to the home directory of the user root. | ||
| - | < | ||
| - | sudo mkdir /mnt/usb | ||
| - | sudo mount /dev/sdx2 /mnt/usb/ | ||
| - | cp openwrt-x86-64-generic-ext4-combined.img / | ||
| - | sudo umount /dev/sdx2 | ||
| - | sudo rmdir /mnt/usb | ||
| - | </ | ||
| - | \\ | ||
| - | 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 **'' | ||
| - | The default password to enter the BIOS is **'' | ||
| - | To boot from the USB device, switch to the **'' | ||
| - | When booted, you can press **'' | ||
| - | |||
| - | < | ||
| - | cd ~ | ||
| - | dd if=openwrt-x86-64-mellanox_spectrum-sn2100-ext4-combined.img of=/dev/sda bs=1M | ||
| - | </ | ||
| - | \\ | ||
| - | 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:// | ||
| - | |||
| - | |||
| - | ===== Upgrading OpenWrt ===== | ||
| - | |||
| - | ==== LuCI Web Upgrade Process ==== | ||
| - | |||
| - | * Browse to ''< | ||
| - | * 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, | ||
| - | |||
| - | < | ||
| - | cd /tmp | ||
| - | wget https:// | ||
| - | sysupgrade / | ||
| - | </ | ||
| - | |||
| - | ===== Basic configuration ===== | ||
| - | |||
| - | ==== Network interfaces ==== | ||
| - | The default network configuration is: | ||
| - | ^ Interface Name ^ Description | ||
| - | | br-lan | ||
| - | | eth0 | Management Port | None | | ||
| - | | lo | Loopback | ||
| - | |||
| - | ==== Buttons ==== | ||
| - | The Mellanox Spectrum SN2000 Series has the following buttons: | ||
| - | |||
| - | ^ BUTTON ^ Event ^ | ||
| - | | Reset | reset | | ||
| - | |||
| - | ===== Hardware ===== | ||
| - | ==== Info ==== | ||
| - | |||
| - | ---- datatemplatelist dttpllist ---- | ||
| - | template: meta: | ||
| - | cols : Brand, Model, Versions, Device Type, Availability, | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | |||
| - | ==== Photos ==== | ||
| - | /* =====>>>>> | ||
| - | /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | ||
| - | /* e.g. {{: | ||
| - | /* Thanks, your wiki administration - Oct. 2015 */ | ||
| - | |||
| - | // | ||
| - | **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 | ||
| - | </ | ||
| - | |||
| - | //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 | ||
| - | | Baud rate | 115200 | ||
| - | | Data bits | 8 | | ||
| - | | Stop bits | 1 | | ||
| - | | Parity | ||
| - | | Flow control | None | | ||
| - | |||
| - | ===== Bootlogs ===== | ||
| - | ==== OEM bootlog ==== | ||
| - | <WRAP bootlog> | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | ==== OpenWrt bootlog ==== | ||
| - | <WRAP bootlog> | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | ===== Notes ===== | ||
| - | //Space for additional notes, links to forum threads or other resources.// | ||
| - | |||
| - | * ... | ||
| - | |||
| - | ===== Tags ===== | ||
| - | [[meta: | ||
| - | {{tag> | ||