Configuration restrictions and guidelines
If BPDU guard is disabled on a port set as an edge port, the port becomes a non-edge port again if it receives a BPDU from another port. To restore the edge port, re-enable it.
If a port directly connects to a user terminal, configure it as an edge port and enable BPDU guard for it. This enables the port to quickly transit to the forwarding state when ensuring network security.
On a port, the loop guard function and the edge port setting are mutually exclusive.