> On Jun 24, 2020, at 10:50 AM, Pierre Emeriaud <petrus...@gmail.com> wrote: > > Howdy > > I'm trying to shut down the laser from my optics from the junos cli in > order to ease troubleshooting. On MXes 240/480/960, mostly 17.4R2. > > 'set interface ge-<foo> disable' works *sometimes* on mpc2e with an > sfp, or on mpc2 with xfp, but fails (laser still emits) on some other > mpc2 with xfp too, and didn't find it working on mpc2e and mpc7e with > xfp and qsfp optics. > > I know I can use 'test xfp <xfp index> laser off' from fpc shell, but > not only this doesn't seem to work on anything besides xfp, it also > requires shell access which I can't provide to everyone needing > port-level privileges. > > All juniper genuine optics, with the same P/N between working and > non-working ones. > > - would you consider the 'disable' not working as (I) expected a bug? > - is there some other magic cli command that would achieve what i'm after?
Many of the optics don’t have a way to disable the laser except via custom commands over the i2c. Last I read the SFF MSA there wasn’t a good way to do this, and it wasn’t required. - Jared _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp