Which Rapid PVST+ command sets the time a port remains in the Listening and Learning states?
Choose an answer
Tap an option to check your answer.
Correct answer: switch(config)#spanning-tree vlan 1 forward-time 20.
Why this is the answer
The forward-time command sets the duration a port spends in the Listening and Learning states before transitioning to the Forwarding state. These states are part of the Spanning Tree Protocol (STP) convergence process, designed to prevent temporary loops. The default forward-time is 15 seconds, so setting it to 20 seconds would increase this duration. Incorrect options: spanning-tree vlan 1 priority 4096 changes the bridge priority for VLAN 1, influencing root bridge election, not state timers. spanning-tree vlan 1 hello-time 10 modifies the interval between sending Bridge Protocol Data Units (BPDUs), affecting how often switches communicate, not the duration of Listening/Learning states. spanning-tree vlan 1 max-age 6 sets the maximum age of BPDU information before a switch assumes the root bridge has failed, also not directly controlling the Listening/Learning state duration.
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