Unifi switch SFP fiber connections
-
I have two new Unifi 48 POE 500w switches. They are separated by fiber.
I had an HP J4858C SFP module that is on the list of can work with Unifi Switches.
And I purchased a 10Gtek ASF85-25-X2-D via Amazon (contacted the vendor and they verified that it was compatible).I plugged in the SFPs, plug in the fiber patch cords ... and nothing.
After googling for a bit, I found the following command to give me some info on any SFPs in the system.
Before giving you the command - from the controller I went to the panel for the switch. Follow the numbers in the picture to get to a command prompt on the switch.
https://i.imgur.com/pBgr7DV.pngOne thing this picture skips is the need to get into the shell once the command line is open. So once it's open, type sh and hit enter. Now you can enter the command
#ubntbox swctrl -d sfp Port Vendor Name Serial Number Part Number Rev Compliance 52 OEM CSGSXG90047 GLC-SX-MMD �e 1000SX
and the other one
Port Vendor Name Serial Number Part Number Rev Compliance 52 FINISAR CORP. MY54GY60ZK FTLF8519P3BNL-PR A 1000SX
It appears that both switches see their SFPs.
-
Check with @art_of_shred as I think he's worked on this.
-
@Dashrender said in Unifi switch SFP fiber connections:
Follow the numbers in the picture to get to a command prompt on the switch.
Or, you know, just open a normal SSH session to the IP of the switch, but I would hate for you to do something the simple way.
-
As for your problem, I have no idea.
- Never used UniFi anything other than the access points.
- Never used SFP on any UBNT product yet.
The only thing to suggest/recommend is to make sure your controller is updated to current and that you have applied the current firmware to the switch.
-
I've got Unifi edgeswitches using SFP modules. Cheap and cheerful Startechs. 1GB mind but they were plug and play, no config needed.
-
@Dashrender said
And I purchased a 10Gtek ASF85-25-X2-D via Amazon (contacted the vendor and they verified that it was compatible).
....Is it within the realms of possibility they lied to you?
-
So, I ordered a pair of Unifi labeled SFP modules for another project and they arrived today. I swapped out the ones I had for the new ones - NOPE still not working.
Now I wonder if I have a cable issue?
-
@JaredBusch said in Unifi switch SFP fiber connections:
@Dashrender said in Unifi switch SFP fiber connections:
Follow the numbers in the picture to get to a command prompt on the switch.
Or, you know, just open a normal SSH session to the IP of the switch, but I would hate for you to do something the simple way.
LOL, I could have done that - but I was already in the console at the time, didn't see the point in opening another window.
-
I have other cables, but they are in use, so I can't try them until after we close.
-
Just out of curiosity, do you have the RX and TX lines running parallel instead of swapped at one end?
-
@art_of_shred said in Unifi switch SFP fiber connections:
Just out of curiosity, do you have the RX and TX lines running parallel instead of swapped at one end?
You know I was wondering this myself - but It's no different on this one, than on the HPs I have.. so either the HPs support MDIX and these don't, or I have a cabling issue.
-
@Dashrender said in Unifi switch SFP fiber connections:
@art_of_shred said in Unifi switch SFP fiber connections:
Just out of curiosity, do you have the RX and TX lines running parallel instead of swapped at one end?
You know I was wondering this myself - but It's no different on this one, than on the HPs I have.. so either the HPs support MDIX and these don't, or I have a cabling issue.
So, for example, you have the orange fiber line on the left on end A and it's on the right side on end B? Not trying to sound demeaning or anything, just making sure we're on the same page.
-
@Dashrender said in Unifi switch SFP fiber connections:
@art_of_shred said in Unifi switch SFP fiber connections:
Just out of curiosity, do you have the RX and TX lines running parallel instead of swapped at one end?
You know I was wondering this myself - but It's no different on this one, than on the HPs I have.. so either the HPs support MDIX and these don't, or I have a cabling issue.
You might be able to get away with not flipping lines on the HP, if it auto-senses and the Unifi doesn't. Just a thought...
-
I will take pictures, be back in a few.
-
@art_of_shred said in Unifi switch SFP fiber connections:
@Dashrender said in Unifi switch SFP fiber connections:
@art_of_shred said in Unifi switch SFP fiber connections:
Just out of curiosity, do you have the RX and TX lines running parallel instead of swapped at one end?
You know I was wondering this myself - but It's no different on this one, than on the HPs I have.. so either the HPs support MDIX and these don't, or I have a cabling issue.
You might be able to get away with not flipping lines on the HP, if it auto-senses and the Unifi doesn't. Just a thought...
Yeah - this was something I was recently thinking about as well.
-
While my cables themselves are assembled differently, they are both straight through.
-
The housings don't make it easy to swap them.
-
OK interesting.
I moved one of the cables from a working setup to one of the new switches, and even before I could get it plugged in, the connection indicator on the new switch lit right up!
So... either a bad patch cord or two, or a bad main run.
*edit - well nope.. not bad - I was able to swap the fibers on the long run side and it came right up.
-
ba leted.
-
@Dashrender said in Unifi switch SFP fiber connections:
And the verdict is in. The main line between buildings is bad.
Are you adding an additional switch or replacing one?