Difficulty: Easy
Correct Answer: spanning-tree portfast
Explanation:
Introduction / Context:
Servers and endpoints benefit from immediate forwarding on link-up. Waiting through STP listening/learning states delays DHCP and application startup. Cisco provides a safe edge optimization called PortFast for access ports that are not expected to form loops.
Given Data / Assumptions:
Concept / Approach:
spanning-tree portfast transitions the port quickly to forwarding while still allowing STP to protect against loops (BPDU Guard can be added for safety). Disabling STP entirely is dangerous and not recommended.
Step-by-Step Solution:
Verification / Alternative check:
Observe immediate forwarding on link-up and successful client DHCP without delay. If a switch is inadvertently connected, BPDU Guard will err-disable the port.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing PortFast with disabling STP; forgetting BPDU Guard on edge ports.
Final Answer:
spanning-tree portfast
Discussion & Comments