I want to list a table of interface speeds along with the hostname for the device connected to that interface for all the devices connected to my cloud router switch.
I can get the interface rate from the monitor command along with the interface name, then join the interface name to the MAC address using unicast-fdb, then arp to get the IP and final resolve the hostname.
/interface ethernet monitor [ /interface ethernet find where running ] once
/interface ethernet switch unicast-fdb print
/ip arp
Is there a better approach I can take to get this information?