Junos Automation (Scripting)
Highlighted
Junos Automation (Scripting)

SLAX script to disable interface when an optic is inserted

‎03-21-2019 11:10 AM

I am trying to put together a SLAX script to disable an interface when an optic is inserted into a QFX.  I would like for the event script to trigger when the optic is inserted, check to ensure the interface has no configuration (to prevent disabling interfaces on active links when an optic is swapped) and then disable it.  I have tried several things but nothing seems to work.

Feedback