Summary
By default, the uplink ports for Mellanox ONYX-OS based VAST NVMe Fabric switches (ie. Mellanox SN2100 or SN2700 or SN4600) are set to 100Gbps. Sometimes there are only 40Gbps uplinks at the customer data center, so we need to configure the uplink speed to be 40Gbps. Here are the steps to do so:
Procedure
Login the master Mellanox switch by ssh admin@MELLONIX_SW_IP
Assuming we use port 15 and 16 as uplinks, run the following commands
switch-a73786 [labsw1: ] > en switch-a73786 [labsw1: ] # configure t switch-a73786 [labsw1: ] (config) # interface ethernet 1/15-1/16 switch-a73786 [labsw1: ] (config interface ethernet 1/15-1/16) # no mlag-channel-group switch-a73786 [labsw1: ] (config interface ethernet 1/15-1/16) # shutdown switch-a73786 [labsw1: ] (config interface ethernet 1/15-1/16) # speed 40G switch-a73786 [labsw1: ] (config interface ethernet 1/15-1/16) # no shutdown switch-a73786 [labsw1: ] (config interface ethernet 1/15-1/16) # mlag-channel-group 1 mode active switch-a73786 [labsw1: ] (config interface ethernet 1/15-1/16) # exit switch-a73786 [labsw1: ] (config) # exit switch-a73786 [labsw1: ] # configure writeDo the same on the secondary Mellanox switch
Remember save the configuration with
configure writecommand