Top

Port breakout not working

Comments

4 comments

  • Avatar
    jesse_wang 王亮懿

    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:

    1. sudo config ztp disable
    2. sudo rm /etc/sonic/config_db.json
    3. sudo config-setup factory
    4. sudo reboot
    5. After rebooting, try to configure breakout again.

     
    Thank you.

    Best Regards,
    Jesse Wang
    Technical Support Team
    Edgecore Networks Corporation

    0
    Comment actions Permalink
  • Avatar
    Damien Saucez

    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: FIB220517218

    more specifically the transceivers are pro vision PGQSFP100G4X25AOC5M. Do we need any additional setup to make them work?

    Thank you,

    Damien Saucez 

     

    0
    Comment actions Permalink
  • Avatar
    jesse_wang 王亮懿

    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]' -y

    I 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           25G

    Here 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-15

    That 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

    0
    Comment actions Permalink
  • Avatar
    Damien Saucez

    Hi Jesse, 

    Thank you it works wonderfully.

    Damien Saucez 

    0
    Comment actions Permalink

Please sign in to leave a comment.