Spanning Tree Protocol - Technical MCQs

Q1:

If you want to disable STP on a port connected to a server, which command would you use?

A disable spanning-tree

B spanning-tree off

C spanning-tree security

D spanning-tree portfast

ANS:D - spanning-tree portfast

If you have a server or other devices connected into your switch that you're totally sure won't create a switching loop if STP is disabled, you can use something called portfast on these ports. Using it means the port won't spend the usual 50 seconds to come up while STP is converging.