Quanta LB4M 48-Port Gigabit Switch Discussion

diglett

New Member
Feb 15, 2014
4
0
1
did you try putty with flow control disabled (!!) and intercept the 3 second boot-up? Most VXworks have the same bootloader with function 30 backdoor built in.
Interesting, can you please elaborate? There is a boot selection menu as you can see below, but there are no other visible prompts at boot. I have so far been unable to load any new code (including the preinstalled image) on the unit using XMODEM or the "copy" command in the Cisco style CLI. When using XMODEM, the transfer has been stalling and stopping with no error about halfway through the transfer, and I am getting a file write error when using the copy command to load an image from tftp.

Code:
Boot Menu Version: 28 Apr 2008

Calculating CRC of active image...done...
Select an option. If no selection in 2 seconds then
operational code will start.

1 - Start operational code.
2 - Start Boot Menu.
Select (1, 2):2

Options available
1  - Start operational code
2  - Change baud rate
3  - Retrieve event log using XMODEM
4  - Load new operational code using XMODEM
5  - Load configuration using XMODEM
6  - Display operational code vital product data
7  - Update boot code
8  - Delete operational code
9  - Reset the system
10 - Restore configuration to factory defaults (delete config files)
11 - Activate Backup Image
12 - Run Diagnostics Image
13 - Load new Diagnostics Image using XMODEM
[Boot Menu]
 

koszik

New Member
Feb 19, 2014
4
2
3
I noticed that the documentation is about an image with full routing functions (static routing, ospf, etc) - while every image I've seen here or on my devices does only switching. Do you have any idea where we could get the routing image? It would make these devices much more valuable.
 
  • Like
Reactions: PepeMachete

koszik

New Member
Feb 19, 2014
4
2
3
Ok, it seems that it's not the software itself that disables the routing. I've found a way to decompress the image, and there're lots of strings that suggest routing support.

printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" |cat - <(dd if=lb4m_image bs=1336 skip=1) |gzip -dc > lb4m_image_decompressed

(You can ignore the errors from gzip.)

My device has the following prompt:
(Switching) #

I've heard that devices that do routing display the (FASTPATH Routing) # prompt (this string is present in my image, one more clue that it's not the image that is at fault here).

Is it possible that there're two different versions of LB4M, one with routing support, one without it?
 
  • Like
Reactions: PepeMachete

OBasel

Active Member
Dec 28, 2010
494
62
28
Is it possible that there're two different versions of LB4M, one with routing support, one without it?
That would be crazy. I thought these were almost all switches that Quanta built for Google or a company like that? I would think that company would want 1 version to support.

Have you gotten to the web management interface? Mine works as a dumb switch just fine but I really wanted a GUI
 

koszik

New Member
Feb 19, 2014
4
2
3
From what I know large cloud providers use these devices, Google could be among them.

I've read up on the BCM56514 which powers the device (there're 2 of them in it, each providing 24 1g ports and 4 10 or 12g ports - it seems one 10g port of each chip is used to provide the 2 SFP+ ports, and probably the 3 remaining high speed interfaces are used to interconnect the two ICs inside the switch). The datasheet explicitly says it supports ipv4 and ipv6 routing, and ipv6 tunneling, all from hardware - so I really don't see why my device refuses to do these. After logging in, what prompt do you get?
And no, so far I haven't been able to use the web interface - but my priorities are getting layer 3 support first, the GUI is not that important to me. Note that probably the CLI lets you do everything you could do from the GUI.

This is from the diagnostics menu, supporting my conjectures:

LB4M Topology is found


Set Higig Interfaces (27) to 10GE

Set Higig Interfaces (24, 25, 26) to 12Gbps (Higig+)
SOC unit 1 attached to PCI device BCM56514_A0

LB4M Topology is found


Set Higig Interfaces (27) to 10GE

Set Higig Interfaces (24, 25, 26) to 12Gbps (Higig+)
Set load balancing on Higig+ interfaces


It would mean that each half of the system has 24x1+1x10 = 34Gb/s of bandwidth to the outside, and the interconnect is 3x12=36Gb/s, so there're no bottlenecks inside the switch.
 

TangoWhiskey9

Active Member
Jun 28, 2013
402
59
28
Thanks for digging that up. Funny nobody has found a web interface. At least you wouldn't have to search (as much) for commands if it was decent.
 

zunder1990

Member
Nov 15, 2012
70
6
8
I was able to get into the web UI. I connected the management interface to my network, it pulled DHCP. I then was able to login into it using the default user/pass.
 

koszik

New Member
Feb 19, 2014
4
2
3
I was able to get into the web UI. I connected the management interface to my network, it pulled DHCP. I then was able to login into it using the default user/pass.
Can you share the firmware from your device and the output of 'show version'?
 

zunder1990

Member
Nov 15, 2012
70
6
8
Here is what I have

(Switching) #show version

Switch: 1

System Description............................. FASTPATH Switching
Machine Type................................... LB4G 48x1G 2x10G
Machine Model.................................. LB4M
Serial Number.................................. QTFCPW9510130
FRU Number..................................... 1
Part Number.................................... BCM56514
Maintenance Level.............................. A
Manufacturer................................... 0xbc00
Burned In MAC Address.......................... 00:26:9E:1E:A3:5F
Software Version............................... 1.0.2.14
Operating System............................... VxWorks5.5.1
Network Processing Device...................... BCM56514_A0

--More-- or (q)uit


Additional Packages............................ FASTPATH QOS
 

jingjing

Banned
Nov 23, 2013
22
0
0
The images that I have seem to be a different revision than the ones that came with ewheelerinc's unit.
 

MACscr

Member
May 4, 2011
119
3
18
Is this switch stackable? If so, is it automatic or does it have to be configure. If it needs to be configured, how should we go about doing that? =)
 

MACscr

Member
May 4, 2011
119
3
18
Also, anyone been able to successfully install an rsa key for ssh access? I converted my pub key to pem format and i can get the scp connection to happen, i even see some transfer, but then it says file transfer failed. I tried from the gui and telnet. Unfortunately i have nothing to really go on on why it might have failed. Dont know if its the file format or what. i tried both rsa2 and rsa1. =/
 

MACscr

Member
May 4, 2011
119
3
18
Interesting, can you please elaborate? There is a boot selection menu as you can see below, but there are no other visible prompts at boot. I have so far been unable to load any new code (including the preinstalled image) on the unit using XMODEM or the "copy" command in the Cisco style CLI. When using XMODEM, the transfer has been stalling and stopping with no error about halfway through the transfer, and I am getting a file write error when using the copy command to load an image from tftp.

Code:
Boot Menu Version: 28 Apr 2008

Calculating CRC of active image...done...
Select an option. If no selection in 2 seconds then
operational code will start.

1 - Start operational code.
2 - Start Boot Menu.
Select (1, 2):2

Options available
1  - Start operational code
2  - Change baud rate
3  - Retrieve event log using XMODEM
4  - Load new operational code using XMODEM
5  - Load configuration using XMODEM
6  - Display operational code vital product data
7  - Update boot code
8  - Delete operational code
9  - Reset the system
10 - Restore configuration to factory defaults (delete config files)
11 - Activate Backup Image
12 - Run Diagnostics Image
13 - Load new Diagnostics Image using XMODEM
[Boot Menu]
Ive had the exact same problem with the lb4 model as well. Same OS though.

Anyone know the console settings? I have 9600 8N1, but im getting no response from the keyboard. EDIT: nevermind, i had to turn of hardware flow control.
 
Last edited:

rnavarro

Active Member
Feb 14, 2013
177
28
28
Here are the details of my boot flash

Code:
The following image is in the Flash File System:

File Name......................................image1
CRC............................................0xac2d (44077)
Target Device..................................0x00508541
Size...........................................0x85b794 (8763284)
Number of Components...........................2

Operational Code Size..........................0x75b2d0 (7713488)
Operational Code Offset........................0x0 (0)
Operational Code FLASH flag....................1
Operational Code CRC...........................0x2E59

Boot Code Version..............................1
Boot Code Size.................................0x100000 (1048576)
Boot Code Offset...............................0x75b2d0 (7713488)
Boot Code FLASH flag...........................0
Boot Code CRC..................................0x78A

VPD - rel 1 ver 0 maint_lvl 2 build_num 14
      Timestamp - Tue Oct 20 14:03:02 2009
      File - RELEASE_CUST_HUSKY_LB4M_REL1_0_2_13B_1.0.2.14-Ent-esw-xgs3-LB4M-dni8541-VSM-QHr1v0m2b14.opr
Here is the output from show version:

Code:
(Switching) #show version

Switch: 1

System Description............................. FASTPATH Switching
Machine Type................................... LB4G 48x1G 2x10G
Machine Model.................................. LB4M
Serial Number.................................. QTFCPW9380208
FRU Number..................................... 1
Part Number.................................... BCM56514
Maintenance Level.............................. A
Manufacturer................................... 0xbc00
Burned In MAC Address.......................... 00:26:9E:1E:8B:F8
Software Version............................... 1.0.2.14
Operating System............................... VxWorks5.5.1
Network Processing Device...................... BCM56514_A0
Additional Packages............................ FASTPATH QOS
And here is a screenshot of the WebUI on my version:



Not sure how to resize that image....sorry guys
 

Whoa

New Member
Jun 19, 2014
2
0
1
50
Hey Guys. I bought one of these and I have no idea how to configure the ports to work with each other, connect to the management GUI, or anything of any real use. I looked at the user manual and the way it reads to set an IP does not work. I did manage to set up a serial connection so I can see the CLI, but honestly...its nothing like Cisco. I mean, it seems at first like Cisco IOS, but when you start trying to configure it...it isnt...

So how do you configure a VLAN with an IP address of say 192.168.1.10 /24 with a default Gateway of 192.168.1.1? And then how do you connect to that?
 

abulafia

Member
Jun 17, 2014
49
5
8
Manhattan
You need to use the management port or the serial console to do it. You have to activate the ports (either select all or whatever you click/tell it to do, I don't know if there's a power usage benefit, and doubt it) which are in admin lockdown mode by default, but they just need to be taken out of that mode, they don't have to be added to a VLAN1 management group or anything like that. The built in help isnt too bad either, and its built in, not like the online help Cisco SG300-10P i just snagged - so annoyed, on a $250 switch - because it'd not like you'd ever need the reference when working through, I dunno, an internet connectivity issue? It's a little awkward, the way they write, but once you see what works and doesn't, you'll understand what they mean.

I may have (probably) plugged a cable into a portable computer and used Wireshark to find its IP/subnet and then set that computer to match subnets and configure it - I think there's a link earlier to the manual in the Quanta thread, but if not, PM me. After that, pull up the webpage, set a static IP for the switches Management port consistent with your existing (or planned) subnet, and plug that into your current network and go from there. The management port is completely separate from the switch, so there's no loopback problem if you plug both of them into an existing or future switch. Always nice to be plugged into the serial console too to watch debug messages (normal Cisco RJ45 type) when doing this stuff too, in fact I'm sure I was dping that to reset the password/defaults. Not sure I had the manual at the time. Sorry, I did this back in October or so, and it's not on any of my networks any more, but between this thread, basic networking, and Google you'll be fine.

It will do DHCP, but I'd rather do that on a PDC+load balance/failover partner when there's a domain, or on a Linux box that's doing DNS and/or "edge routing" a LA *WRT and let my switch do switching. Actually my DHCPd these days is in a VM PDC with failover to a bare metal WS2012 workstation and I think I have some other VMs authorized to do it.

I dunno, it's your only low power device (uh, at 80W+) and you don't have a directory/central auth system going, rock on, but you don't buy 48 gig ports plus two 10GBes to plug in a laptop, a desktop, and a printer, and a router... or from another point of view, the seven Noctua 40mm fans I bought to shut the damn thing up cost as much an as entry SMB smart switch...