1 2 3 4 5 6 7 8 9 10
#!/bin/bash BR=${1:-"br549"} while true; do brctl show brctl showstp $BR brctl showmacs $BR sleep 5 done