[j-nsp] How to shut down laser on any optics

Pierre Emeriaud petrus.lt at gmail.com
Wed Jun 24 10:50:45 EDT 2020


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?

thanks in advance
pierre


More information about the juniper-nsp mailing list