Auto detect adding and removing ethernet device - LS300

There is no MSCI ID representing the status of the Ethernet cable but you can acces the DMZ in use on the following path:
aleos.10202

dv = require "devicetree "
dv.init()
dmzinuse = dv.get("aleos.10202")

Basically from an AAF application you can read all MSCI Ids on the generic path aleos..
To retrieve an MSCI ID from ACEmanager UI by looking at the source page. In your case, with chrome browser I retrieved:

<td id="10202" class="i" title="192.168.14.100">192.168.14.100</td>

id=“10202” is the MSCI ID we are looking for.