As you can see in the log messages below, netplugd detects the status of the interfaces which then sets the flags that you asked. These are standard networking flags that are set by the kernel that determine the interface’s behavior. You can find the other flag values in the man page of netdevice.
vyos@vyos:~$ sudo ifconfig eth2 down
vyos@vyos:~$ journalctl | grep eth2
Apr 23 14:28:37 vyos sudo[1868]: vyos : TTY=ttyS0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/sbin/ifconfig eth2 up
Apr 23 14:28:37 vyos netplugd[866]: eth2: state DOWN flags 0x00001002 BROADCAST,MULTICAST -> 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000
Apr 23 14:28:37 vyos netplugd[1870]: /etc/netplug/netplug eth2 in -> pid 1870
Apr 23 14:28:37 vyos netplugd[866]: eth2: state INNING pid 1870 exited status 0
Apr 23 14:28:44 vyos sudo[1873]: vyos : TTY=ttyS0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/sbin/ifconfig eth2 down
Apr 23 14:28:44 vyos netplugd[866]: eth2: state ACTIVE flags 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000 -> 0x00001002 BROADCAST,MULTICAST
Apr 23 14:28:44 vyos netplugd[1875]: /etc/netplug/netplug eth2 probe -> pid 1875
Apr 23 14:28:44 vyos netplugd[866]: eth2: state PROBING pid 1875 exited status 256
Apr 23 14:28:44 vyos netplugd[866]: Could not bring eth2 back up
vyos@vyos:~$ sudo ifconfig eth2 up
vyos@vyos:~$ journalctl | grep eth2
Apr 23 14:28:37 vyos sudo[1868]: vyos : TTY=ttyS0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/sbin/ifconfig eth2 up
Apr 23 14:28:37 vyos netplugd[866]: eth2: state DOWN flags 0x00001002 BROADCAST,MULTICAST -> 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000
Apr 23 14:28:37 vyos netplugd[1870]: /etc/netplug/netplug eth2 in -> pid 1870
Apr 23 14:28:37 vyos netplugd[866]: eth2: state INNING pid 1870 exited status 0
Apr 23 14:28:44 vyos sudo[1873]: vyos : TTY=ttyS0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/sbin/ifconfig eth2 down
Apr 23 14:28:44 vyos netplugd[866]: eth2: state ACTIVE flags 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000 -> 0x00001002 BROADCAST,MULTICAST
Apr 23 14:28:44 vyos netplugd[1875]: /etc/netplug/netplug eth2 probe -> pid 1875
Apr 23 14:28:44 vyos netplugd[866]: eth2: state PROBING pid 1875 exited status 256
Apr 23 14:28:44 vyos netplugd[866]: Could not bring eth2 back up
Apr 23 14:29:21 vyos sudo[1878]: vyos : TTY=ttyS0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/sbin/ifconfig eth2 up
Apr 23 14:29:22 vyos netplugd[866]: eth2: state DOWN flags 0x00001002 BROADCAST,MULTICAST -> 0x00011043 UP,BROADCAST,RUNNING,MULTICAST,10000
Apr 23 14:29:22 vyos netplugd[1880]: /etc/netplug/netplug eth2 in -> pid 1880
Apr 23 14:29:22 vyos netplugd[866]: eth2: state INNING pid 1880 exited status 0
vyos@vyos:~$