Implementing Cisco IP Switched Networks (CCNP SWITCH, legacy) — Question 15

Your manager asked you to make every port on your switch bypass the normal spanning-tree timers which includes your uplink to other switches.
What two commands can you apply on the interfaces? (Choose two.)

Answer options

Correct answer: A, D

Explanation

The command 'spanning-tree portfast' (Option A) is used to enable PortFast on a port, allowing it to bypass the listening and learning states. 'spanning-tree portfast trunk' (Option D) is specifically for trunk ports, ensuring they also bypass the timers. Options B and C are not correct as they either apply PortFast globally or to access ports only, not fulfilling the requirement for trunk connections.