Initial Setup of Cumulus on a Supermicro Switch
Jump to navigation
Jump to search
TBC setup the ONIE switch (note Supermicro switch defaulted to 192.168.10.3 which seems to contradict their docs!)
Setup the management IP
cumulus@switch:~$ net add interface eth0 ip address 192.0.2.42/24 cumulus@switch:~$ net add interface eth0 ip gateway 192.0.2.1 cumulus@switch:~$ net pending cumulus@switch:~$ net commit
Set hostname and timezone
# setup hostname cumulus@switch:~$ net add hostname <hostname> cumulus@switch:~$ net pending cumulus@switch:~$ net commit # setup the TZ sudo dpkg-reconfigure tzdata
Add a license key
# cut/paste into: cumulus@switch:~$ sudo cl-license -i <paste license key> ^+d # verify the key afterwards cumulus@cumulus:~$ cl-license davidi@mellanox.com|4CeKMCACDhKo67WOPmYetFEFZbnWAg4V4zqD1HFCegs+aBDrhQ # restart the services cumulus@switch:~$ sudo systemctl restart switchd.service
Enable Ports
By default, all data plane ports (every Ethernet port except the management interface, eth0) are disabled.
# ports down
cumulus@cumulus:~$ net show interface all
State Name Spd MTU Mode LLDP Summary
----- ----- --- ----- ------------- --------------------------------- --------------------------
UP lo N/A 65536 Loopback IP: 127.0.0.1/8
lo IP: ::1/128
UP eth0 1G 1500 Mgmt ICC-NB-PROD03 (cc:d5:39:4d:e2:2c) IP: 172.28.28.242/22(DHCP)
ADMDN swp1 N/A 1500 NotConfigured
ADMDN swp2 N/A 1500 NotConfigured
ADMDN swp3 N/A 1500 NotConfigured
...
Lets set them up - all ports added below.
# add all ports
cumulus@switch:~$ net add interface swp1-52
cumulus@switch:~$ net pending
cumulus@switch:~$ net commit
<pre>
Check after the command above
<pre>
cumulus@cumulus:~$ net show interface all
State Name Spd MTU Mode LLDP Summary
----- ----- --- ----- -------- --------------------------------- --------------------------
UP lo N/A 65536 Loopback IP: 127.0.0.1/8
lo IP: ::1/128
UP eth0 1G 1500 Mgmt ICC-NB-PROD03 (cc:d5:39:4d:e2:2c) IP: 172.28.28.242/22(DHCP)
DN swp1 0M 1500 Default
DN swp2 0M 1500 Default
DN swp3 0M 1500 Default