understanding BPDU types and their functions