Spanning Tree Protocol Flashcards
What command is used to prevent a new unconfigured switch from being elected root
spanning-tree guard root
When STP is used, what is used to prevent newly introduced switches from being elected as the new root switch?
root guard
When STP is used, which device will be elected root?
the device with the lowest switch priority
What can you enable to ensure that a port immediately transitions to the STP forwarding state?
PortFast
What two STP states are bypassed when using PortFast?
listening and learning
What feature prevents nondesignated ports from inadvertently forming bridging loops if the steady flow of BPDUs is interrupted?
loop guard
When a switchport stops receiving BPDUs, what state will loop guard put the port into?
loop inconsistent state which keep the port in a blocking state
What command will enable loop guard for the entire switch?
spanning-tree loopguard default
What command will enable loop guard for specific ports?
spanning-tree guard loop
What is used to disable ports that erroneously receive BPDUs?
BPDU guard
When BPDU guard is applied, the reciept of a BPDU on a port will result in the port being placed into what state?
error-disabled state
What command can be used to automatically recover from a BPDU guard induced error-disable state?
errdisable recovery cause bpdugaurd and
errdisable recovery interval {interval value]
In STP, what is the switch with the lowest bridge ID called?
root bridge
What is the Bridge ID composed of?
Two byte bridge priority and a 6 byte MAC address
If two or more switches have the lowest priority then what is used to determine the root bridge?
lowest MAC address
What is the Port ID composed of?
port priority and port number
What are ports on a root bridge always considered to be?
designated ports
How many port states does Spanning Tree Protocol (STP) have?
5
What are the STP port states?
disabled, blocking, listening, learning, forwarding
How many port states does Rapid Spanning Tree Protocol have?
3
What are the RSTP port states?
discarding, learning, forwarding
What is VTP used for?
to synchronize VTP and Vlan configuration information between switches.
What must match on all switches in for switches to synchronize information over VTP?
VTP domain name, VTP password, VTP version