Community discussions

MikroTik App
 
MauriceW
just joined
Topic Author
Posts: 10
Joined: Fri Jan 12, 2024 12:15 am

sfp-ignore-rx-los doesn't stick (and what exactly does it do?)

Tue Apr 30, 2024 4:35 am

I use a hEX S with a GPON SFP (which has its own OS, IP address and management interface). When no fiber is connected, RouterOS doesn't allow accessing the SFP's web interface:
> /interface/ethernet/monitor sfp1
                        ;;; GPON SFP ONT
                      name: sfp1
                    status: no-link
          auto-negotiation: done
                 supported: 10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-half,1G-baseT-full
               advertising: 10M-baseT-half,10M-baseT-full,100M-baseT-half,100M-baseT-full,1G-baseT-half,1G-baseT-full
  link-partner-advertising: 10M-baseT-half,10M-baseT-full,100M-baseT-half
        sfp-module-present: yes
               sfp-rx-loss: yes
                  sfp-type: SFP/SFP+/SFP28/SFP56
        sfp-connector-type: SC
        sfp-link-length-sm: 20km
           sfp-vendor-name: ZYXEL
    sfp-vendor-part-number: PMG3000-D20B
       sfp-vendor-revision: V1.0
         sfp-vendor-serial: S[REDACTED]
    sfp-manufacturing-date: 15-05-25
            sfp-wavelength: 1310nm
           sfp-temperature: 52C
        sfp-supply-voltage: 3.3V
       sfp-tx-bias-current: 24mA
              sfp-tx-power: 3.01dBm

RouterOS 7.15 introduces the new setting sfp-ignore-rx-los. Is it supposed to fix this issue? I tried to enable it, but it doesn't stick:
> /interface/ethernet/set sfp1 sfp-ignore-rx-los=yes
> /interface/ethernet/get sfp1 sfp-ignore-rx-los
>

Cheers
Maurice
 
slavikf
just joined
Posts: 11
Joined: Thu Aug 29, 2024 6:43 pm

Re: sfp-ignore-rx-los doesn't stick (and what exactly does it do?)

Tue Nov 12, 2024 6:40 am

With my experiments with ATT SFP module, I found that `get` command doesn't work:
/interface/ethernet/get sfp-sfpplus1 sfp-ignore-rx-los 
I found that only `set` and `edit` works, and works, as expected:
/interface/ethernet/set sfp-sfpplus1 sfp-ignore-rx-los=yes

/interface/ethernet/edit sfp-sfpplus1                   
value-name: sfp-ignore-rx-los
Looks like a bug.
I'm using RouterOS 7.16
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12881
Joined: Thu Mar 03, 2016 10:23 pm

Re: sfp-ignore-rx-los doesn't stick (and what exactly does it do?)

Tue Nov 12, 2024 1:56 pm

It's not bug, it's how get works. Like this:
:put [ /interface/ethernet/get sfp-sfpplus1 sfp-ignore-rx-los ]

Who is online

Users browsing this forum: boocko, dioeyandika, Partial, Renfrew, wldstn and 37 guests