Which command immediately places an access port into the forwarding state when a PC is connected?
Choose an answer
Tap an option to check your answer.
Correct answer: switch(config)#spanning-tree portfast default.
Why this is the answer
The spanning-tree portfast default command globally enables PortFast on all access ports. PortFast immediately transitions a port to the forwarding state, bypassing the listening and learning states of Spanning Tree Protocol (STP). This is ideal for end devices like PCs that don't create switching loops, allowing them to connect to the network faster. spanning-tree portfast bpduguard default also enables PortFast globally but adds BPDU Guard, which disables a port if it receives a Bridge Protocol Data Unit (BPDU), preventing unauthorized switches. While useful, it's not the command that solely places the port into forwarding. spanning-tree portfast trunk is incorrect because PortFast should only be enabled on access ports, not trunk ports. no spanning-tree portfast disables PortFast.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed