Black Friday sale: an extra 40% off every course until Monday, November 30.New Year sale: an extra 30% off every course until Friday, January 1.Memorial Day sale: an extra 25% off every course until Monday, May 31.SysAdmin Day sale: an extra 25% off every course until Sunday, August 1.Back to School sale: an extra 25% off every course until Sunday, August 22.Labor Day sale: an extra 25% off every course until Monday, September 6.Black Friday sale: an extra 40% off every course until Monday, November 29.New Year sale: an extra 30% off every course until Saturday, January 1.Choose your certification →

Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

3.5.4. STP Protection Mechanisms

FeaturePurposeAction
BPDU GuardDisable port if BPDU receivedErr-disable port
BPDU FilterStop sending/receiving BPDUsDisables STP
Root GuardPrevent switch from becoming rootBlock superior BPDUs
Loop GuardPrevent unidirectional link failureBlock if no BPDUs received

Where each one goes: PortFast and BPDU Guard belong on access (edge) ports facing end devices. Root Guard goes on designated ports facing switches that must never become root; Loop Guard goes on switch-to-switch root and alternate ports, which expect a steady stream of BPDUs.

BPDU Guard Configuration (recommended with PortFast):
Switch(config)# interface GigabitEthernet0/1
Switch(config-if)# spanning-tree portfast
Switch(config-if)# spanning-tree bpduguard enable
Enable globally:
Switch(config)# spanning-tree portfast bpduguard default
Verification:
Switch# show spanning-tree vlan 10
Switch# show spanning-tree interface GigabitEthernet0/1 detail
Switch# show spanning-tree summary
See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•26 professional certifications earned