- Replace the installed wakeonlan package with https://packages.debian.org/buster/etherwake as it supports specifying an interface where to send the magic packet to rather then an IP address.
- Write op-mode command which has multiple <path>interfaces (ethernet|bond|...)</path> completion helper lines so we can TAB-complete the interface we want to send out the WOL packet
Suggestion:
- new exec tree in main op-mode tree
- or: wol top level command like we have for ping/traceroute