CodingBox Q&A Ask question

Z9432F Enterprise SONiC: 'config interface breakout Ethernet0 1x100G' rejected on Linux CLI but accepted in sonic-cli

Asked Active Viewed 101 Original language: English
4

A DellEMC-Z9432f-O32 has a QSFP28 100G optic in port Ethernet0. Running sudo config interface breakout Ethernet0 1x100G on the Linux shell aborts with Target mode 1x100G is not available for the port Ethernet0, while the same change in sonic-cli (interface breakout port 1/1 mode 1x100G) completes and the interface comes up. Why do the two CLIs disagree?

Comments 2

The Linux CLI expects the platform's full mode name. The reported working command is config interface breakout Ethernet0 "1x100G(4)", including the lane count.

1 KazakhstancoaxnerdKZ Original (English)

The shorter 1x100G string accepted by sonic-cli is not interchangeable with every Linux-shell mode string. Compare the exact available modes instead of changing the optic merely because the two command interfaces disagree.

1 UkrainecoremonkUA Original (English)
Log in to comment. Log in