Print mac address table in v7.6 or higher

Hi,

I want to find out to which port a mac address belongs.

I know i can use /ip/arp/print and /ipv6/neighbor/print , but i just want to see ALL ethernet, not only ipv4/6.

There also is /interface/bridge/host/print but that only works for bridges, not for all interfaces.

There used to be a command like this: /interface ethernet switch host print but that doesn’t function anymore.

Isn’t there a way to use show ALL macaddress/port combinations?

There are two tables with MAC addresses:

  1. L3 tables (IP and IPv6), you already showed how to see contents.
    This table maps L3 address (either IPv4 or IPv6 address) to MAC address. It’s populated as device (router, AP, …) communicates with other devices over L3 (e.g. management access from admin’s computer).
  2. L2 tables, needed by switch or bridge to “intelligently” forward frames via optimal/correct egress port. You can see contents by executing /interface bridge host print (or, if bridge offloads functions to HW, also /interface ethernet switch host print).
    This table gets populated when other devices communicate over bridge/switch. However, this table doesn’t contain L3 addresses because they are irrelevant for L2 communications.