Community discussions

MikroTik App

This feature should be included in future releases of ROS?

Yes, Absolutely
75 (95%)
No, is not needed
4 (5%)
 
Total votes: 79
 
User avatar
CarlitoxxPro
newbie
Topic Author
Posts: 35
Joined: Wed Jan 04, 2017 10:15 am
Location: Spain
Contact:

REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Tue Aug 25, 2020 2:16 am

Could be very useful to include the feature to make that the Mikrotik Routers/Swithches with SFP/SFP+ ports be able to do sequential Single-Byte reads to obtain the transceiver specs and ddm from the EEPROM tables A0h/A2h for transceivers like GPON ONU SFP and others than only supports Single-Byte Reads and not multi-bytes reads (255 Bytes read per call).

Some of this transceivers doesn't have connected the two-wire interface SFP pins directly to the EEPROM, They have connected the 2-wire interface to a slave i2c interface of the SoC and then the SoC have a master i2c connection to the EEPROM.

in other cases the transceiver doesn't have a physically EEPROM and use a virtualized EEPROM allocated on the SPI Flash chip that comes available after the embedded OS is booted.

Implementing the detection of the EEPROM reads to switch automatically between Single-Byte and Multi-Byte reads should not so complex and will gives a plus in the interoperability between the different brands and models of SFP Transceivers apart of to make complies the SFF-8431

for manufacturers as we, would be a very good feature to be added, having in mind that we recommend the Mikrotik hardware to the most of our customers for the wide capabilities and stability of the hardware.

did you have included in the development pipeline this feature?, if not, what do you think? could be included?
You do not have the required permissions to view the files attached to this post.
 
User avatar
gastonet
just joined
Posts: 11
Joined: Thu Sep 17, 2009 3:04 pm
Location: Buenos Aires - Argentina
Contact:

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Tue Aug 25, 2020 4:20 am

+1 I agree
 
r00t
Long time Member
Long time Member
Posts: 672
Joined: Tue Nov 28, 2017 2:14 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Tue Aug 25, 2020 4:17 pm

This could be very useful to pull custom data from SFPs. It's clear Mikrotik can't just add support for statistics that every SFP on the market provides, so it's important to have a generic way of access. Memory dump is one way, but it's not script/automation friendly. Read command would be much better.

I would also like to see SNMP support SFP EEPROM reads over OID where last number of OID is the read address. This way you could query SFP bytes over SNMP easily for graphing and statistics.
 
diablonet
Frequent Visitor
Frequent Visitor
Posts: 67
Joined: Wed Jan 05, 2011 3:33 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Fri Aug 28, 2020 2:30 am

yes, please mikrotik, that will help!
 
valemal
just joined
Posts: 7
Joined: Wed Jul 08, 2020 12:56 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Mon Sep 14, 2020 5:29 pm

I agree please mikrotik
 
User avatar
Gnubyte
just joined
Posts: 21
Joined: Sat Aug 15, 2020 7:31 pm
Location: Toulon - France

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Tue Sep 15, 2020 3:25 pm

+1 - Keep compliant as far as possible.
 
Florian
Member Candidate
Member Candidate
Posts: 117
Joined: Sun Mar 13, 2016 9:45 am
Location: France

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sat Sep 19, 2020 5:18 pm

Please Mikrotik : /
 
jcguevarap
just joined
Posts: 1
Joined: Mon Sep 28, 2020 11:46 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Mon Sep 28, 2020 11:52 pm

I agree, please mikrotik, as far as possible.
 
Vjaceslavs
MikroTik Support
MikroTik Support
Posts: 1
Joined: Wed May 23, 2018 2:28 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Thu Nov 05, 2020 2:56 pm

Hello,

We are aware of this topic and SFP feature request, it has been booked and we are researching and considering of implementing it in the future.
 
valemal
just joined
Posts: 7
Joined: Wed Jul 08, 2020 12:56 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Mon Nov 09, 2020 6:27 pm

Hello,

We are aware of this topic and SFP feature request, it has been booked and we are researching and considering of implementing it in the future.
Thank you, we are looking forward to
 
espetoet
just joined
Posts: 13
Joined: Thu Nov 21, 2019 5:39 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Thu May 13, 2021 2:58 pm

+1 I'm looking forward
 
jangdong
just joined
Posts: 15
Joined: Sun Oct 11, 2020 1:58 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Wed May 26, 2021 5:48 am

Hello,

We are aware of this topic and SFP feature request, it has been booked and we are researching and considering of implementing it in the future.
We still looking for this feature. When can it be implemented?
 
tonyfulls
just joined
Posts: 1
Joined: Sat Nov 28, 2020 7:37 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sun Sep 12, 2021 6:11 pm

Really useful feature. Mikrotik please
 
sinofool
just joined
Posts: 6
Joined: Wed Sep 08, 2021 10:19 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sat Oct 30, 2021 9:44 pm

+1 Please MikroTik.
Both Bell and Telus in Canada provide SFP modules having the same issue.
Both MikroTik and EdgeRouter need to fix the same issue.
Whoever fixes it soon, will save thousands of media converters for small businesses.
 
Skon01
just joined
Posts: 1
Joined: Sun Sep 12, 2021 12:01 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Mon Jan 10, 2022 12:43 am

Situation worsened with release of new router models.
We are talking about SFP-modules based on Realtek RTL8672/RTL9601C chips.
On all new router models and CCRs these modules are detected, but no RX data are transmitted. I had this happen with my new RB5009. However, on the RB760iGS these same modules work fine.
MikroTik Team, please pay attention to this problem.
Last edited by Skon01 on Mon Jan 10, 2022 12:47 am, edited 1 time in total.
 
mjpol
just joined
Posts: 4
Joined: Sat Jan 08, 2011 10:37 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Thu Jan 13, 2022 9:12 am

+1 I agree

On all new router models and CCRs these modules are detected, but no RX data are transmitted. in my CCR1009-8G-1S dont work
 
ivan07
newbie
Posts: 26
Joined: Wed Mar 04, 2015 2:57 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sun Jan 16, 2022 2:37 pm

On all new router models and CCRs these modules are detected, but no RX data are transmitted. I had this happen with my new RB5009. However, on the RB760iGS these same modules work fine.
I confirm. Apparently this is a software problem with ROS and it will not be difficult for developers to fix it.
Please pay attention for this problem as soon as possible.
Thank you.
 
ChrisFromCA
just joined
Posts: 7
Joined: Wed Aug 14, 2019 7:09 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Tue Dec 13, 2022 12:09 am

Currently dealing with this issue as well with a Bell GPON SFP in my CCR2004.

Disappointed that this hasn't been implemented. Any updates about if it is still being looked at?
 
Shalom
just joined
Posts: 9
Joined: Tue Oct 17, 2017 3:00 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Wed Jan 11, 2023 6:39 am

Set camp here to see my FS ONU sfp module where the issue can be fixed or not. 🤔
 
ToTheCLI
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Mon Jan 04, 2016 3:54 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Fri Jan 20, 2023 4:14 pm

What's new in 7.8beta2 (2023-Jan-20 12:27):

*) sfp - fixed reading of SFP EEPROM on single SFP port devices;
 
ChrisFromCA
just joined
Posts: 7
Joined: Wed Aug 14, 2019 7:09 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sat Jan 21, 2023 6:05 pm

I took the leap.

CCR2004 with ALCATELLUCENT GPON module from Bell. Usually end up with a FAN fail error within a few minutes of startup due to the SFP issues.

Currently at 11 minutes uptime with no fails yet. Module stats are still updating in interface list and system health is also still updating. Now just to wait and see if this does finally resolve this issue.
 
ChrisFromCA
just joined
Posts: 7
Joined: Wed Aug 14, 2019 7:09 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sat Jan 21, 2023 6:53 pm

Nope. Lasted a decent bit, however it ended up locking things up again and actually causing the SFP to lose connection and take the link down in the process. Reboot didn't help.

Downgraded to 7.7 and the link is back up but health monitoring failed. Close but not quite.
 
niouflex
just joined
Posts: 2
Joined: Wed Jul 29, 2020 6:56 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sun Jan 22, 2023 1:15 pm

HI Chris
you mean that with 7.7 , at least the link is uo again and 'only' the health monitoring was KO ?
for how long was the link stable? few hours or multiples days? without making the CCR2004 going crazy with red light fault....
pascal :)
Nope. Lasted a decent bit, however it ended up locking things up again and actually causing the SFP to lose connection and take the link down in the process. Reboot didn't help.

Downgraded to 7.7 and the link is back up but health monitoring failed. Close but not quite.
 
misterc
just joined
Posts: 5
Joined: Sun Dec 11, 2022 7:05 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sun Jan 22, 2023 6:16 pm

Hi,
I'm going to take a guess that this is the problem related to my post viewtopic.php?t=191627 or viewtopic.php?t=186200 (I've recently RMA'd the CCR2116 as well and same issue keeps happening). That being said, I did upgrade to 7.8B2 and it solved the PSU health issues. But I am having the same problem as Chris -- SFP interface drops connection, after maybe ~10 minutes.

Seems 7.8B2 still isn't the proper fix to solve the issue. Unfortunately the CCR2116 is still a 1600$ CAD brick for the moment in my use case :(
 
ChrisFromCA
just joined
Posts: 7
Joined: Wed Aug 14, 2019 7:09 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sun Jan 22, 2023 7:46 pm

HI Chris
you mean that with 7.7 , at least the link is uo again and 'only' the health monitoring was KO ?
for how long was the link stable? few hours or multiples days? without making the CCR2004 going crazy with red light fault....
pascal :)
Nope. Lasted a decent bit, however it ended up locking things up again and actually causing the SFP to lose connection and take the link down in the process. Reboot didn't help.

Downgraded to 7.7 and the link is back up but health monitoring failed. Close but not quite.

On 7.7 and the last 7.6 beta the link is basically rock solid however health monitoring fails within minutes. So no line stats and no health monitoring for the entire duration with the exception of the first minute or so. The irritating side effect is that the fans constantly spin up to max and then down to min every 5 or 10 seconds and the fault light is on.
 
laoxu
just joined
Posts: 2
Joined: Thu Jan 19, 2023 8:10 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Fri Feb 03, 2023 10:43 pm

Hi,
I'm going to take a guess that this is the problem related to my post viewtopic.php?t=191627 or viewtopic.php?t=186200 (I've recently RMA'd the CCR2116 as well and same issue keeps happening). That being said, I did upgrade to 7.8B2 and it solved the PSU health issues. But I am having the same problem as Chris -- SFP interface drops connection, after maybe ~10 minutes.

Seems 7.8B2 still isn't the proper fix to solve the issue. Unfortunately the CCR2116 is still a 1600$ CAD brick for the moment in my use case :(
Same here, start with 2004 with gpon and got the issue, then I change to 2116 but the same issue. Frustrated.
 
ChrisFromCA
just joined
Posts: 7
Joined: Wed Aug 14, 2019 7:09 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Wed Feb 15, 2023 10:24 pm

I installed the 7.8rc release on my CCR2004-16g-2s+ yesterday. After the first boot up there seemed to be some issues between the GPON module and the router on the link speed negotiation. I changed it to auto and then back to 1gig full duplex fixed speed and everything came up after a reboot. I also pulled the module and reinstalled it in order to force a full power off reset of the GPON module.

As of now the connection has been stable for 23 hours and health monitoring has continued to work. Time will tell however it looks like they have at least started to address part of the problem...

If anything changes I'll post an update.
 
ChrisFromCA
just joined
Posts: 7
Joined: Wed Aug 14, 2019 7:09 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Thu Feb 16, 2023 1:52 pm

And it failed again… traffic is still being passed but health monitoring has failed and no stats being reported from gpon…
 
aussetg
just joined
Posts: 19
Joined: Sat Jan 16, 2021 7:31 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Fri Mar 24, 2023 11:55 am

*) sfp - added log warning about failed auto-initialization on RB4011, RB5009, CCR2004-1G-12S+2XS, CCR2004-16G-2S+, CCR2116-12G-4S+, CCR2216-1G-12XS-2XQ devices;
*) sfp - allow modules that hold "TX_FAULT" high signal all the time on RB4011, RB5009, CCR2004-1G-12S+2XS, CCR2004-16G-2S+, CCR2116-12G-4S+, CCR2216-1G-12XS-2XQ devices;
*) sfp - allow modules with bad or no EEPROM in forced mode on RB4011, RB5009, CCR2004-1G-12S+2XS, CCR2004-16G-2S+, CCR2116-12G-4S+, CCR2216-1G-12XS-2XQ devices;
*) sfp - fixed "rate-select" functionality on CCR2004-16G-2S+ and CCR2004-1G-12S+2XS devices (introduced in v7.8 );
*) sfp - fixed combo-ether link monitor for CRS328-4C-20S-4S+ switch;
*) sfp - improved module initialization and display more detailed initialization status on RB4011, RB5009, CCR2004-1G-12S+2XS, CCR2004-16G-2S+, CCR2116-12G-4S+, CCR2216-1G-12XS-2XQ devices;
*) sfp - improved SFP28 interface stability with some optical modules for CRS518 switch;
*) sfp - improved system stability with some SFP GPON modules on RB4011, RB5009, CCR2004-1G-12S+2XS, CCR2004-16G-2S+, CCR2116-12G-4S+, CCR2216-1G-12XS-2XQ devices;
I know what I'm testing today :)
 
richard_s
Member Candidate
Member Candidate
Posts: 110
Joined: Wed Nov 07, 2007 3:24 pm

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Wed May 10, 2023 3:24 am

Hi there this thread has gone quiet does this mean problems solved or is everyone waiting for a solution?

Richard
 
User avatar
CarlitoxxPro
newbie
Topic Author
Posts: 35
Joined: Wed Jan 04, 2017 10:15 am
Location: Spain
Contact:

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Fri Jan 12, 2024 3:10 am

At last, after many years Mikrotik includes in the new beta6 of RouterOS 7.14 the most awaited feature for GPON ONU SFPs, the sequential single byte reads for the I2C bus, used for reading the EEPROM of the SFPs to obtain module specifications and details from the DDM section (Digital Dianostic Monitor)

https://mikrotik.com/download/changelog ... lease-tree
*) sfp - added support for modules requiring single byte I2C read transactions;
It's time for testing. :)
 
ToTheCLI
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Mon Jan 04, 2016 3:54 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sat Jan 13, 2024 4:49 pm

What extra info is expected (Temp, Rx, Tx and etc)?
 
tdw
Forum Guru
Forum Guru
Posts: 1841
Joined: Sat May 05, 2018 11:55 am

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sat Jan 13, 2024 7:27 pm

This fixes being able to read any data from SFPs which do not correctly handle multi-byte I2C read requests correctly.

The actual data, and location thereof, is specified by https://members.snia.org/document/dl/25916 - some is mandatory, some is optional and some is vendor-specific. Mikrotik decode and display some of this, they haven't indicated any changes.
 
ZaYAC
just joined
Posts: 1
Joined: Sat Jan 27, 2024 7:35 pm
Location: Dnipro/Ukraine

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Sat Jan 27, 2024 8:03 pm

Hi!
I installed the latest beta 7.14beta8 on my hap ac (RB962UiGS-5HacT2HnT).
I use SFP ONU C-DATA FD511GX-RM0 with firmware: V2801F_V1.9.0-220425 working on CPU: RTL9601CI.
But couldn't see EEPROM DATA in Mikrotik interface.
And I continue have a problem if I reboot or disconnect power my router - No link. I need physical reconnerc SFP from fix it.
> /interface/ethernet monitor sfp1
                      name: sfp1
                    status: link-ok
          auto-negotiation: done
                      rate: 1Gbps
               full-duplex: yes
           tx-flow-control: no
           rx-flow-control: no
                 supported: 10M-baseT-half,10M-baseT-full,
                            100M-baseT-half,100M-baseT-full
               advertising: 
  link-partner-advertising: 
        sfp-module-present: yes
               sfp-rx-loss: no
                  sfp-type: SFP/SFP+/SFP28/SFP56
           eeprom-checksum: bad
                    eeprom: 0000: 03 00 00 00 00 00 00 00  00>
                            0010: 00 00 00 00 00 00 00 00  00>
                            *
Sorry if I'm writing in the wrong topic. I can't post in the update 7.14 discussion
 
User avatar
Anime4000
just joined
Posts: 18
Joined: Fri Nov 13, 2020 3:12 pm
Contact:

Re: REQUEST: Support i2c SFP/SFP+ Secuential SingleByte Reads to obtain transceiver details from EEPROM

Mon Jan 29, 2024 4:17 pm

And I continue have a problem if I reboot or disconnect power my router - No link. I need physical reconnerc SFP from fix it.
I have tried with TWCGPON657 with C00R657V2801F_V1.9.0-220404.tar firmware, and... still need reattach the PON Stick in order to work, yet no EEPROM data is shown

Who is online

Users browsing this forum: lurker888 and 13 guests