Breakout Command Failing (Failed to load the config)

553 views
Skip to first unread message

Matt Mabis

unread,
Oct 29, 2021, 3:23:30 AM10/29/21
to sonicproject
Hello,

I am trying to attach a Mellanox Breakout Cable to one of my Ethernet Ports but its providing the following Error "Failed to break out Port. Error: Failed to load the config. Error: ConfigMgmtDPB Class creation failed"

I have a QSFP28 Breakout Cable that i would like to do 4x25Gb Ports on my SN2700, from what i notice i cannot even set the breakout command to 4x25 it makes me do 4x10 but it fails

admin@sonic:~$ sudo config interface breakout  Ethernet8
1x100G[50G,40G,25G,10G]  2x50G[25G,10G]           4x10G[25G]
admin@sonic:~$ sudo config interface breakout  Ethernet8 4x25G[10G] -f -l -v -y
[ERROR] Target mode 4x25G[10G] is not available for the port Ethernet8
Aborted!
admin@sonic:~$ sudo config interface breakout  Ethernet8 4x10G[25G] -f -l -v -y

Running Breakout Mode : 1x100G[50G,40G,25G,10G]
Target Breakout Mode : 4x10G[25G]

Ports to be deleted :
 {
    "Ethernet8": "100000"
}
Ports to be added :
 {
    "Ethernet8": "10000",
    "Ethernet9": "10000",
    "Ethernet10": "10000",
    "Ethernet11": "10000"
}

After running Logic to limit the impact

Final list of ports to be deleted :
 {
    "Ethernet8": "100000"
}
Final list of ports to be added :
 {
    "Ethernet8": "10000",
    "Ethernet9": "10000",
    "Ethernet10": "10000",
    "Ethernet11": "10000"
}
sonic_yang(3):Yang Models Load failed:[priority,] message string
Yang Models Load failed
[priority,] message string
ConfigMgmt Class creation failed
Failed to break out Port. Error: Failed to load the config. Error: ConfigMgmtDPB Class creation failed


admin@sonic:~$ show interfaces  breakout current-mode
+-------------+-------------------------+
| Interface   | Current Breakout Mode   |
+=============+=========================+
| Ethernet0   | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet4   | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet8   | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet12  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet16  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet20  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet24  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet28  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet32  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet36  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet40  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet44  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet48  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet52  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet56  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet60  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet64  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet68  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet72  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet76  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet80  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet84  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet88  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet92  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet96  | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet100 | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet104 | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet108 | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet112 | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet116 | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet120 | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+
| Ethernet124 | 1x100G[50G,40G,25G,10G] |
+-------------+-------------------------+





Sudharsan Dhamal Gopalarathnam

unread,
Nov 3, 2021, 12:44:42 AM11/3/21
to Matt Mabis, sonicproject

Hi Matt,

 

Could you please share the information regarding which image is used?  Could you also please raise an issue in github (https://github.com/Azure/sonic-buildimage/issues) with version and tech support information?

 

With Regards,

Sudharsan

 

From: sonicp...@googlegroups.com <sonicp...@googlegroups.com> On Behalf Of Matt Mabis
Sent: Friday, October 29, 2021 12:24 AM
To: sonicproject <sonicp...@googlegroups.com>
Subject: [SONiC] Breakout Command Failing (Failed to load the config)

 

External email: Use caution opening links or attachments

 

--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonicproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/5a9c22d3-5bdf-48c1-a92e-46f83e4d47cen%40googlegroups.com.

Chen.Eric 陳景康 ISV

unread,
Dec 14, 2021, 2:08:21 PM12/14/21
to Matt Mabis, sonicproject, Sudharsan Dhamal Gopalarathnam
Hi,

Here's a new user's question:  How to reset the switch's SONIC configuration to factory default? It has gone through some config changes. 
Can someone provide a link to SONIC user manual (CLI Reference)? Does such a document exist? 

Thanks.
Eric

Shakti Sinha

unread,
Dec 14, 2021, 11:32:14 PM12/14/21
to Chen.Eric 陳景康 ISV, sonicproject

--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonicproject...@googlegroups.com.


--
Shakti Sinha
Technical Architect

Sterlite Technologies Limited3rd Floor, IFFCO Tower,Plot No. 3, Sector 29,Gurgaon,Delhi - 122001 India


STL - Sterlite Technologies Limited Disclaimer:
The content of this message may be legally privileged and confidential and are for the use of the intended recipient(s) only. It should not be read, copied and used by anyone other than the intended recipient(s). If you have received this message in error, please immediately notify the sender, preserve its confidentiality and delete it. Before opening any attachments please check them for viruses and defects. No employee or agent is authorised to conclude any binding agreement on behalf of Sterlite Technologies Limited with another party by email without express written confirmation by authorised personVisit us at www.stl.tech
 Please consider environment before printing this email !

Registered office: E 1, MIDC Industrial Area, Waluj, Aurangabad, Maharashtra – 431 136 CIN – L31300MH2000PLC269261

Andriy Kokhan

unread,
Dec 15, 2021, 2:10:20 AM12/15/21
to Shakti Sinha, Chen.Eric 陳景康 ISV, sonicproject
sudo rm -f /etc/sonic/config_db.json
sudo config-setup factory
sudo reboot

Reply all
Reply to author
Forward
0 new messages