admin@RT-AC68P-0000:/tmp/home/root# brctl showmacs br0 | pfilter
port no mac addr is local? ageing timer
1 xx:xx:xx:xx:25:89 no 3.19
1 xx:xx:xx:xx:4c:ba no 6.67
1 xx:xx:xx:xx:8b:17 no 18.11
1 xx:xx:xx:xx:0e:56 no 4.65
1 xx:xx:xx:xx:ec:58 yes 0.00
4 xx:xx:xx:xx:ec:59 yes 0.00
3 xx:xx:xx:xx:ec:5c yes 0.00
5 xx:xx:xx:xx:ec:5d yes 0.00
1 xx:xx:xx:xx:25:93 no 31.95
3 xx:xx:xx:xx:a7:ac no 1.00
1 xx:xx:xx:xx:d9:55 no 0.01
2 xx:xx:xx:xx:14:e6 no 1.83
1 xx:xx:xx:xx:55:03 no 9.34
3 xx:xx:xx:xx:00:a8 no 0.13
1 xx:xx:xx:xx:fe:71 no 1.40
1 xx:xx:xx:xx:6b:a7 no 1.83
1 xx:xx:xx:xx:b4:cc no 37.59
Why doesn't brctl recognize the showmacs argument ?
Using the latest firmware, this argument isn't supported.
ASUSWRT-Merlin RT-AC68U 380.68-4 Wed Oct 4 19:01:14 UTC 2017
Veky@Antares:/tmp/home/root# brctl showmacs br0
port no mac addr is local? ageing timer
1 xx:xx:xx:xx:xx:xx no 13.71
1 xx:xx:xx:xx:xx:xx no 0.11
1 xx:xx:xx:xx:xx:xx no 0.01
1 xx:xx:xx:xx:xx:xx no 30.15
1 xx:xx:xx:xx:xx:xx no 1.20
The firmware contains two versions.
There's a /usr/sbin/brctl and another included in busybox.
If you don't specify ./usr/sbin/brctl, then the default version is the reduced functionality brctl in busybox.
which brctl
/usr/sbin/brctl
ls -lah /usr/sbin | grep -E "brctl|busybox"
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 arping -> ../../bin/busybox
-rwxr-xr-x 1 admin root 20.4K Oct 4 21:00 brctl
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 chpasswd -> ../../bin/busybox
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 chroot -> ../../bin/busybox
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 crond -> ../../bin/busybox
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 ether-wake -> ../../bin/busybox
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 ntpd -> ../../bin/busybox
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 sendmail -> ../../bin/busybox
lrwxrwxrwx 1 admin root 17 Oct 4 20:59 telnetd -> ../../bin/busybox
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!