# When should I use PortFast, BPDU Guard, Root Guard, Loop Guard, or BPDU Filter?

Exam: 200-301 — Implementing and Administering Cisco Solutions
Knowledge domain: Network Access
Updated: 2026-11-25T05:30:51.894386+00:00
HTML: https://learningpathx.com/faq/200-301/ccna200301-portfast-bpdu-guard-root-loop-filter.html

## Also asked as

- Which problem does each Cisco spanning-tree edge or guard feature address?
- How do I pick between PortFast, BPDU Guard, Root Guard, Loop Guard, and BPDU Filter?

Choose spanning-tree protections based on what should be connected to the port and which bridge protocol data units (BPDUs) you expect. On Catalyst 9300 switches running IOS XE 17.15.x, the relevant features act on different conditions.

| Feature | Expected role and evidence |
| --- | --- |
| PortFast | An intended endpoint port can reach forwarding immediately. Spanning tree still operates there. |
| BPDU Guard | An edge link expected to receive no BPDUs can be put into an error-disabled state when one arrives. |
| Root Guard | A port that must never lead toward the root becomes root-inconsistent if it receives a superior BPDU. |
| Loop Guard | A non-designated path that should keep receiving BPDUs can become loop-inconsistent if those BPDUs stop. A unidirectional link is one possible cause. |
| BPDU Filter | Reserve it for a documented edge requirement. Global PortFast-default filtering sends a few BPDUs at link-up and stops filtering if a BPDU arrives on the port. Explicit interface filtering suppresses send and receive on that port and can allow a loop. |

Start by confirming the physical role, expected root, and affected VLAN. Compare the actual port and spanning-tree state with that intent before making changes. Resolve the cause of unexpected or missing BPDUs before recovering an affected port.

**References**

* [Cisco Catalyst 9300 IOS XE 17.15.x spanning-tree guide](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/lyr2/b_1715_lyr2_9300_cg/configuring_spanning_tree_protocol.html)
* [Cisco Catalyst 9300 IOS XE 17.15.x optional spanning-tree features](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/lyr2/b_1715_lyr2_9300_cg/configuring_optional_spanning_tree_features.html)

Source: [Rapid PVST+, EtherChannel, CDP, and LLDP Operations](https://learningpathx.com/news/rapid-pvst-etherchannel-cdp-and-lldp-operations.html)
