Port breakout not working
Hello,
We have Wedge100BF-32QS (DCS801) switches on which we want to use breakout cables. Unfortunately while configuring it we get the following error.
```
admin@sopnode-sw1-eth0:~$ sudo config interface breakout Ethernet40 '4x25G[10G]'
Do you want to Breakout the port, continue? [y/N]: y
Running Breakout Mode : 1x100G[40G]
Target Breakout Mode : 4x25G[10G]
Ports to be deleted :
{
"Ethernet40": "100000"
}
Ports to be added :
{
"Ethernet40": "25000",
"Ethernet41": "25000",
"Ethernet42": "25000",
"Ethernet43": "25000"
}
After running Logic to limit the impact
Final list of ports to be deleted :
{
"Ethernet40": "100000"
}
Final list of ports to be added :
{
"Ethernet40": "25000",
"Ethernet41": "25000",
"Ethernet42": "25000",
"Ethernet43": "25000"
}
Loaded below Yang Models
['sonic-acl', 'sonic-crm', 'sonic-device_metadata', 'sonic-device_neighbor', 'sonic-extension', 'sonic-flex_counter', 'sonic-interface', 'sonic-loopback-interface', 'sonic-port', 'sonic-portchannel', 'sonic-types', 'sonic-versions', 'sonic-vlan']
Note: Below table(s) have no YANG models:
FEATURE, BREAKOUT_CFG, SNMP, LLDP, KDUMP, SNMP_COMMUNITY, REST_SERVER,
libyang[0]: Value "not-provisioned" does not satisfy the constraint "ToRRouter|LeafRouter|SpineChassisFrontendRouter|ChassisBackendRouter|ASIC" (range, length, or pattern). (path: /sonic-device_metadata:sonic-device_metadata/DEVICE_METADATA/localhost/type)
sonic_yang(3):Data Loading Failed:Value "not-provisioned" does not satisfy the constraint "ToRRouter|LeafRouter|SpineChassisFrontendRouter|ChassisBackendRouter|ASIC" (range, length, or pattern).
Data Loading Failed
Value "not-provisioned" does not satisfy the constraint "ToRRouter|LeafRouter|SpineChassisFrontendRouter|ChassisBackendRouter|ASIC" (range, length, or pattern).
ConfigMgmt Class creation failed
Failed to break out Port. Error: Failed to load the config. Error: ConfigMgmtDPB Class creation failed
```
We run Edgecore-SONiC_20220218_065816_ec202012_bfn_166.bin.
Is there any known solution to fix this issue?
Here bellow is the information about the interface Ethernet40:
```
show interfaces breakout
"Ethernet40": {
"index": "11,11,11,11",
"lanes": "40,41,42,43",
"alias_at_lanes": "Ethernet40,Ethernet41,Ethernet42,Ethernet43",
"breakout_modes": "1x100G[40G],2x50G,4x25G[10G]",
"default_brkout_mode": "1x100G[40G]",
"autoneg": "off",
"fec": "rs",
"Current Breakout Mode": "1x100G[40G]",
"child ports": "Ethernet40",
"child port speeds": "100G"
},
```
```
show interfaces transceiver eeprom -d
Ethernet40: SFP EEPROM detected
Application Advertisement: N/A
Connector: MPOx12
DOM Capability:
Rx_power_support: no
Temp_support: no
Tx_power_support: no
Voltage_support: no
Encoding: 64B66B
Extended Identifier: Power Class 4(3.5W max), CLEI present, CDR present in Rx Tx
Extended RateSelect Compliance: QSFP+ Rate Select Version 1
Identifier: QSFP28 or later
Length Cable Assembly(m): 10
Nominal Bit Rate(100Mbs): 255
Specification compliance:
Vendor Date Code(YYYY-MM-DD Lot): 2022-05-18
Vendor Name: Provision
Vendor OUI: 00-17-6a
Vendor PN: QSFP100G4X25AOC5
Vendor Rev: 04
Vendor SN: FIB220517218
ChannelMonitorValues:
RX1Power: -infdBm
RX2Power: -infdBm
RX3Power: -infdBm
RX4Power: -infdBm
TX1Bias: 0.0000mA
TX2Bias: 0.0000mA
TX3Bias: 0.0000mA
TX4Bias: 0.0000mA
ChannelThresholdValues:
ModuleMonitorValues:
Temperature: 0.0000C
Vcc: 0.0000Volts
ModuleThresholdValues:
```
Non breakout cables work like a charm.
Thank you,
Damien Saucez
-
Hi Damien,
This is Jesse from Edgecore technical support team.
According to your feedback, it seems like some value in the config file is not working well with port breakout.
This line here:Value "not-provisioned" does not satisfy the constraint "ToRRouter|LeafRouter|SpineChassisFrontendRouter|ChassisBackendRouter|ASIC" (range, length, or pattern)
refers to the "Type" of DEVICE_METADATA in /etc/sonic/config_db.json.
While ZTP is running, the value of "Type" will be "not-provisioned". Since ZTP is enabled by default in ecSONiC, we recommend to disable it, reset to default config and perform breakout again.
(If you have already modified the config, you might want to make a backup copy before resetting)
Please follow these steps to configure the switch:- sudo config ztp disable
- sudo rm /etc/sonic/config_db.json
- sudo config-setup factory
- sudo reboot
- After rebooting, try to configure breakout again.
Thank you.Best Regards,
Jesse Wang
Technical Support Team
Edgecore Networks Corporation -
Hello Jesse,
Thank you for the feed back. Now it is possible to get the breakout without error though the interface appear as admin/down.
We tried on a 32QS with Edgecore-SONiC_20220623_051044_ec202012_bfn_244.bin and on a 32X with Edgecore-SONiC_20220527_065356_ec202111_bfn_89.bin
For info here is the output of show interfaces transceiver eeprom
Ethernet0: SFP EEPROM detected
Application Advertisement: N/A
Connector: MPOx12
DOM Capability:
Rx_power_support: no
Temp_support: no
Tx_power_support: no
Voltage_support: no
Encoding: 64B66B
Extended Identifier: Power Class 4(3.5W max), CLEI present, CDR present in Rx Tx
Extended RateSelect Compliance: QSFP+ Rate Select Version 1
Identifier: QSFP28 or later
Length Cable Assembly(m): 10
Nominal Bit Rate(100Mbs): 255
Specification compliance:
Vendor Date Code(YYYY-MM-DD Lot): 2022-05-18
Vendor Name: Provision
Vendor OUI: 00-17-6a
Vendor PN: QSFP100G4X25AOC5
Vendor Rev: 04
Vendor SN: FIB220517218more specifically the transceivers are pro vision PGQSFP100G4X25AOC5M. Do we need any additional setup to make them work?
Thank you,
Damien Saucez
-
Hi Damien,
Good news for no errors!
As for the interface, some of the statuses are reset after performing port breakout by default, such as the FEC mode and admin status.For example, if I configure breakout on Ethernet12, which was originally in '1x100G[40G]' mode, on the 32X:
admin@sonic:~$ show interface status Ethernet12
Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC Oper Speed
----------- ----------- ------- ----- ----- ---------- ------ ------ ------- ------ ---------- ------------
Ethernet12 12,13,14,15 100G 9100 rs Ethernet12 routed down up N/A N/A 100G
admin@sonic:~$ sudo config interface breakout Ethernet12 '4x25G[10G]' -yI will find out that the FEC mode becomes "none" and admin is "down" for all 4 lanes of Ethernet12:
admin@sonic:~$ show interface status Ethernet12-15
Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC Oper Speed
----------- ------- ------- ----- ----- ---------- ------ ------ ------- ------ ---------- ------------
Ethernet12 12 25G 9100 none Ethernet12 routed down down N/A N/A 25G
Ethernet13 13 25G 9100 none Ethernet13 routed down down N/A N/A 25G
Ethernet14 14 25G 9100 none Ethernet14 routed down down N/A N/A 25G
Ethernet15 15 25G 9100 none Ethernet15 routed down down N/A N/A 25GHere you can simply start up the interface or adjust FEC mode, and check the status to see if they are up:
admin@sonic:~$ sudo config interface startup Ethernet12-15
admin@sonic:~$ sudo config interface fec Ethernet12 rs
admin@sonic:~$ show interfaces status Ethernet12-15That should make the interfaces work!
For more information, you can also check on our help center guide.Thank you.
Best Regards,
Jesse Wang
Technical Support Team
Edgecore Networks Corporation
Please sign in to leave a comment.
Comments
4 comments