MAC address
BPDU frames
All switches participating in STP exchange BPDU frames to determine which switch has the lowest bridge ID(BID) on the network.
Explanation/Reference: This question is to examine the BPDU Guard. To prevent loops from occurring in a network, the PortFast mode is supported only on nontrunking access ports because these ports typically do not transmit or receive BPDUs. The most secure implementation of PortFast is to enable it only on ports that connect end stations to switches. Because PortFast can be enabled on nontrunking ports connecting two switches, spanning tree loops can occur because BPDUs are still being transmitted and received on those ports. The PortFast BPDU guard feature prevents loops by moving a nontrunking port into an errdisable state when a BPDU is received on that port. When the BPDU guard feature is enabled on the switch, spanning tree shuts down PortFast-configured interfaces that receive BPDUs, instead of putting them into the spanning tree blocking state. In a valid configuration, PortFast-configured interfaces do not receive BPDUs. If a PortFast-configured interface receives a BPDU, an invalid configuration exists, such as connection of an unauthorized device. The BPDU guard feature provides a secure response to invalid configurations because the administrator must manually put the interface back in service.
BPDU
Bridge protocol data unit BPDU
This is caused by port security being enabled and having the violation setting set to shutdown. This is triggered when you have two many MAC addresses listed for the port of if a BPDU is sent to that port, depending on how port security is configured.
STP stand for Spaning Tree Protocol. It's used to avoid the L2 loop in the network. many factor are belong to STP. such as Root Switch, BPDU, Root Port, Forward port, blocking port.