Celestica D4040

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

bmalan1

New Member
Mar 2, 2023
3
0
1
By any chance does anyone still happen to have the files they could share with me? The original links now return 404 errors.
 

Mailkit

New Member
Nov 6, 2017
20
5
3
78
It is working for me. I will try to upload it mega.nz sometime tomorrow. Also I have installed it fine on the D4040 switch including the deb firmware. I am still "not" able to set an IP in the switch and ping a 40Gbe Nic on a server. Dont know what is the problem or may be I could not doing it wrong.
 

shadow3g

New Member
Sep 6, 2023
10
0
1
It is working for me. I will try to upload it mega.nz sometime tomorrow. Also I have installed it fine on the D4040 switch including the deb firmware. I am still "not" able to set an IP in the switch and ping a 40Gbe Nic on a server. Dont know what is the problem or may be I could not doing it wrong.
I got it but I had to use the proxy to download it. Thank you.
 

shadow3g

New Member
Sep 6, 2023
10
0
1
Hi All,
I just got Celestica Smallstone XP D4040 last week.
Please guide me on how to install those files to D4040.
Additionally, I have some Mellanox ConnectX-3 CX354A network cards that I already updated to function as ethernet cards. I tested connectivity between two computers using these cards and achieved speeds of 39.1 Gbit/s with iperf3 the result as below

[SUM] 0.00-10.00 sec 45.6 GBytes 39.1 Gbits/sec 0 sender
[SUM] 0.00-10.00 sec 45.5 GBytes 39.1 Gbits/sec receiver

but when I plugged the cable into D4040 it didn't work(the LED didn't light up). I'm not sure if it is compatible with D4040 or not that's why I am trying to find the solution if I flash the D4040 might work. Please advise me. Thank you.
 

Mailkit

New Member
Nov 6, 2017
20
5
3
78
Can anyone please paste their config guide. Like how to set ip and ping. I have an intel 40gbe card and passive dac cable. I am not getting it pinging.
 
Last edited:

Mailkit

New Member
Nov 6, 2017
20
5
3
78
OK Finally got it working (D4040). The issue wasn't hardware issue at all but configuration issue. The sonic version is very old. I will compile a new one soon for this switch.

1. Image flashing

(a) Copy the below files to a vfat or fat32 format USB
sonic-broadcom.bin
platform-modules-d4040_0.9_amd64.deb

(b) Boot the switch and use ONIE: Uninstall OS (caution: your old nos will be overwritten) to fully remove old nos

(c) Enter the ONIE install mode via ONIE: Install OS

(d) Since switch will automatically start the ONIE Service Discovery, use this command to stop the discovery

ONIE:/ # onie-discovery-stop

(e) mount the usb and use sudo sonic_installer install /mnt/usbxxx/sonic-broadcom.bin to install nos

(f) After installing the sonic, use dpkg -i platform-modules-d4040_0.9_amd64.deb to install the platform modules.

(g) login using the pair "admin/YourPaSsWoRd"


2. VLAN Configuration

$ sudo config vlan add 1000
$ sudo config vlan member add --untagged 1000 Ethernet0

3. VLAN IP

$ sudo config interface ip add Vlan1000 192.168.3.1/24

4. Untagged VLAN issue

Currently untagged VLANs do not just work right out of the box (dont know why, probably sonic is very old), it will show that it is untagged and will seem like it is working but no traffic will be able to go through the port unless you do this work around.

Edit /etc/sonic/config_db.json and go to the top of the file and you should see something like this:

"BGP_NEIGHBOR": {
"10.0.0.1": {
"asn": "65200",
"holdtime": "180",
"keepalive": "60",
"local_addr": "10.0.0.0",
"name": "ARISTA01T2",
"nhopself": 0,
"rrclient": 0
},
"10.0.0.3": {
"asn": "65200",
"holdtime": "180",
"keepalive": "60",
"local_addr": "10.0.0.2",
"name": "ARISTA02T2",
"nhopself": 0,
"rrclient": 0
},

Then count down to which interface you are setting up to be untagged (for example Ethernet0 lines up to 10.0.0.1 and Ethernet4 lines up to 10.0.0.3) and delete the entire section from the IP address down to the closing bracket. In here since we have only one untagged vlan port hence delete only 10.0.0.1 section.

Then scoll down till you find something like this:

"INTERFACE": {
"Ethernet0|10.0.0.0/31": {},
"Ethernet4|10.0.0.2/31": {},

And then just delete the line with the interface you are setting up for untagged VLANs. In here it is "Ethernet0|10.0.0.0/31": {},

Once all of this is done save the file and then reload the config:

$ sudo config reload -y

Now traffic should be able to flow through that port.

5. ON PC/Server side

Set speed manually to 40GbE (auto-negotiation may not work and set up a manual ip address say 192.168.3.4)
 
Last edited:

shadow3g

New Member
Sep 6, 2023
10
0
1
How did you connect the Celestica D4040 to flash the image?
because I have tried with 2 solutions below and failed.
1. I have the cable to connect between serial port com1 on PC(Windows 10) to the Console port and use Putty(setting 115200, 8, 1), and didn't show up anything.
2. I tried to connect to the management port between the PC ethernet port and didn't get any IP. I'm not sure what the default IP is for connecting to the management port.
 

Mailkit

New Member
Nov 6, 2017
20
5
3
78
Did you try any other speed? 9800? Strangely for me it initially used 9800,8,1. Just connect the USB and it should work. Ensure the console works. The rest is easy.
 

shadow3g

New Member
Sep 6, 2023
10
0
1
Did you try any other speed? 9800? Strangely for me it initially used 9800,8,1. Just connect the USB and it should work. Ensure the console works. The rest is easy.
What do you mean "Just connect the USB and it should work." ?
or do you mean just plug the USB(Fat32 thumb drive that has .bin and .deb) into the USB on the D4040?
I'm curious Usually if we set the speed setting not correctly it should show something right? because I think maybe I got the dead console unit.