Edit: the reason this didn't appear to work was because I had frame-types=admit-only-vlan-tagged on the bridge interface. See this post for details.
This has been discussed in an old thread from 2016, but that's so old that I don't think it applies to v7.
Feature request: ability to view MAC address table (FDB)
There is a newer topic Print mac address table in v7.6 or higher that suggests that using the command
interface ethenet switch host print
will print the L2 MAC address table from the switch chip. However, on RB760iGS running v7.19.6 that command produces a syntax error.
[demo@MikroTik] > system resource/print
uptime: 1d17h25m31s
version: 7.19.6 (stable)
build-time: 2025-09-12 09:02:42
factory-software: 6.46.4
free-memory: 196.0MiB
total-memory: 256.0MiB
cpu: MIPS 1004Kc V2.15
cpu-count: 4
cpu-frequency: 880MHz
cpu-load: 6%
free-hdd-space: 5.1MiB
total-hdd-space: 16.0MiB
write-sect-since-reboot: 410
write-sect-total: 20608
architecture-name: mmips
board-name: hEX S
platform: MikroTik
[demo@MikroTik] > system routerboard/print
routerboard: yes
board-name: hEX S
model: RB760iGS
serial-number: ************
firmware-type: mt7621L
factory-firmware: 6.46.4
current-firmware: 7.19.6
upgrade-firmware: 7.19.6
[demo@MikroTik] > interface/bridge/host/
add comment disable edit enable export find print remove reset set unset
[demo@MikroTik] > interface/bridge/host/print
Flags: D - DYNAMIC; L - LOCAL
Columns: MAC-ADDRESS, VID, ON-INTERFACE, BRIDGE
# MAC-ADDRESS VID ON-INTERFACE BRIDGE
0 DL 8A:53:05:D4:02:46 bridge bridge
1 DL DC:2C:6E:7B:10:F2 bridge bridge
2 DL DC:2C:6E:7B:10:F2 199 bridge bridge
3 DL DC:2C:6E:7B:10:F2 200 bridge bridge
4 DL DC:2C:6E:7B:10:F2 210 bridge bridge
[demo@MikroTik] > interface/ethernet/switch/host/print
syntax error (line 1 column 31)
[demo@MikroTik] > interface/ethernet/switch/
port port-isolation rule edit export find print reset reset-counters set unset
[demo@MikroTik] > interface/ethernet/switch/host print
bad command name host (line 1 column 27)
[demo@MikroTik] >
I know the mac address table is available on the MT7621, because I have a Ubiquiti ER-X that is based on the same MT7621 SoC, and on it I can use the command
sudo switch dump
demo@ERX~$ sudo switch dump
hash port(0:6) fid vid age mac-address filter my_mac
03c: ---- 1--- 0 107 0 2af588932da2 - -
050: ---- --1- 0 101 0 f09fc2df8991 - -
0a8: --1- ---- 0 107 0 48d6d595f7e1 - -
128: -1-- ---- 0 107 0 008cfa23f0ad - -
134: ---- 1--- 0 107 0 34d2707bdebe - -
1a8: ---- 1--- 0 101 0 fcecdab9b44c - -
1ac: --1- ---- 0 101 0 989096e38f8b - -
1c0: 1--- ---- 0 4088 0 00015c8d8246 - -
1d0: --1- ---- 0 101 0 b0395697246f - -
1dc: --1- ---- 0 101 0 d80d17a21eb4 - -
388: ---- --1- 0 4088 0 001b115d7895 - -
3c8: ---- 1--- 0 107 0 50f5da64bd83 - -
67c: --1- ---- 0 107 0 f4f5d8bd32da - -
6d4: --1- ---- 0 107 0 b47c9c1f33fa - -
728: --1- ---- 0 101 0 b8ac6f42f160 - -
72c: --1- ---- 0 193 0 d021f94818ae - -
734: ---- 1--- 0 107 0 7c2ebd4ae1f9 - -
778: --1- ---- 0 107 0 b0fc0d78d461 - -
7ac: --1- ---- 0 107 0 dca6320ab539 - -
7b8: --1- ---- 0 101 0 d021f948168c - -
found the last entry 20 (not ready)
demo@ERX~$
/ip arp print does show the ip addresses an MAC (and port - which seems to indicate it is getting this info from the switch's MAC address table). However, it only shows MAC addresses that have been communicated with, and if you use tool ip-scan it will fill the arp table with failed entries that don't expire (until manually removed). It also won't display mac addresses that are not ip related.
The failed entries can be removed with /ip arp remove [ find where !complete ]
Does anyone know how to display the switch ASIC's L2 MAC address table on MikroTik routers with an integrated switch that has HWoffload enabled?