state
Read-only state of each interface that Detect Internet watches (the interfaces of detect-interface-list in /interface/detect-internet). See Detect Internet.
interface/detect-internet/state
Type: Directory
Read-only state of each interface that Detect Internet watches (the interfaces of detect-interface-list in /interface/detect-internet). See Detect Internet.
<ArgTableRow arg="name" typ="iface_enum">The watched interface.</ArgTableRow>
State of the interface:
no-link- The interface has no link.unknown- The router is checking the interface, for about 6 seconds.lan- The start state of layer 2 interfaces, and the state after a link change. An interface that stayslanfor an hour is locked until its next link change.wan- The router's active route to 8.8.8.8 goes through the interface. Layer 3 tunnels becomewanwhen their link comes up. Awaninterface goes back tolanonly after a link change.internet- Awaninterface through which the router reachescloud.mikrotik.comon UDP port 30000.slave- The interface is a port of a bridge or another interface.
<ArgTableRow arg="state-change-time" typ="date">When the interface got its current state.</ArgTableRow>
<ArgTableRow arg="cloud-rtt" typ="time">Round-trip time of the last cloud check through the interface. Empty when the interface is not internet.</ArgTableRow>