Question: is bpdu guard enabled by default?
Answer: How to configure BPDU Guard Globally at Global Configuration Mode. Below configuration commands enable BPDU Guard by default on all PortFast edge ports.