CCNA: Cisco Certified Network Associate — Question 1266

Which command on a port enters the forwarding state immediately when a PC is connected to it?

Answer options

Correct answer: A

Explanation

The command 'switch(config)#spanning-tree portfast default' enables PortFast globally, allowing ports to skip the listening and learning states and immediately enter the forwarding state when a device connects. The other options either enable BPDU guard, configure a trunk port, or disable PortFast, which do not achieve the immediate forwarding state when a PC is connected.