As defined in RSTP, a port that is located at the edge of a network and directly connected to a terminal is an edge port.
Edge ports can still send BPDUs. If the BPDUs are sent to another network, this network may encounter network flapping. To prevent this problem, configure the BPDU filter function on edge ports so that the edge ports do not process or send BPDUs.
After a specified port is configured as an edge port and BPDU filter port in the interface view, the port does not process or send BPDUs and cannot negotiate the STP state with the directly connected port on the peer device. In addition, if this command is run in the system view, all ports are in Forwarding state. This may cause loops on the network, leading to broadcast storms. Exercise caution when deciding to perform this configuration.