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