Breakout a 40G switch port into 4x10G ports, failed to restart switchd


I've followed the instruccions described in technical docummenatation (https://docs.cumulusnetworks.com/display/DOCS/Layer+1+and+Switch+Port+Attributes#Layer1andSwitchPort...) in order to set a breakout of a 40G switch port into 4x10G ports port in a Mellanox switch sn2100 (Part Number MSN2100-BB2FC) but I haven't been lucky. I've tried with NCLU commands and also with manual edition of /etc/cumulus/ports.conf and /etc/network/interfaces files without successful. In both cases i'm getting an error with restarting switchd process.

Same breakout configuration works in a sn2100 part number: MSN2100-CB2FC.

Here you can see the configuration output:

net add interface swp10 breakout 4x
net add interface swp10s0-3 link speed 10000

cumulus@sn2100-a:mgmt-vrf:~$ net add interface swp10 breakout 4x
cumulus@sn2100-a:mgmt-vrf:~$ net add interface swp10s0-3 link speed 10000
ERROR: swp10s0 is not a physical interface on this switch.
cumulus@sn2100-a:mgmt-vrf:~$ net commit
--- /etc/network/interfaces 2017-10-09 13:57:29.748483376 +0000
+++ /var/run/nclu/iface/interfaces.tmp 2017-10-09 14:28:16.925946823 +0000
@@ -8,14 +8,26 @@
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0
link-speed 1000
address 7.188.12.10/24
gateway 7.188.12.1
vrf mgmt

+auto swp10s0
+iface swp10s0
+
+auto swp10s1
+iface swp10s1
+
+auto swp10s2
+iface swp10s2
+
+auto swp10s3
+iface swp10s3
+
auto mgmt
iface mgmt
address 127.0.0.1/8
vrf-table auto
--- /etc/cumulus/ports.conf 2017-10-09 13:57:30.530474028 +0000
+++ /var/run/nclu/netmisc/ports_conf 2017-10-09 14:28:11.484011869 +0000
@@ -19,17 +19,17 @@
# or when split = [4x10G]
1=40G
2=40G
3=40G
4=40G
5=40G
6=40G
7=40G
8=40G
9=40G
-10=40G
+10=4x
11=40G
12=40G
13=40G
14=40G
15=40G
16=40G


********************************************************************
********************************************************************
NOTE: 'net commit' will run 'systemctl restart switchd' to apply the
change to /etc/cumulus/ports.conf. This can take a few seconds.
********************************************************************
********************************************************************





net add/del commands since the last 'net commit'
================================================


User Timestamp Command
------- -------------------------- -----------------------------------
cumulus 2017-10-09 14:28:11.484773 net add interface swp10 breakout 4x
cumulus 2017-10-09 14:28:16.925152 net commit



ERROR: Failed to restart switchd

ERROR: 'net commit' failed for netmisc, all changes will remain in 'net pending'
cumulus@sn2100-a:mgmt-vrf:~$

2 replies

Userlevel 1
Hi Diego,

It might be best to open a support case to investigate further.

When opening the case, please attach a cl-support from the switch.

To capture a cl-support:
Execute sudo cl-support
A tar.xz archive will be created in /var/support/, which can be attached to the support case.
Ok Nick, thanks!

Reply