Spanning Tree Protocol Flashcards

1
Q

What command is used to prevent a new unconfigured switch from being elected root

A

spanning-tree guard root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When STP is used, what is used to prevent newly introduced switches from being elected as the new root switch?

A

root guard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When STP is used, which device will be elected root?

A

the device with the lowest switch priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can you enable to ensure that a port immediately transitions to the STP forwarding state?

A

PortFast

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What two STP states are bypassed when using PortFast?

A

listening and learning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What feature prevents nondesignated ports from inadvertently forming bridging loops if the steady flow of BPDUs is interrupted?

A

loop guard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When a switchport stops receiving BPDUs, what state will loop guard put the port into?

A

loop inconsistent state which keep the port in a blocking state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What command will enable loop guard for the entire switch?

A

spanning-tree loopguard default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What command will enable loop guard for specific ports?

A

spanning-tree guard loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is used to disable ports that erroneously receive BPDUs?

A

BPDU guard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When BPDU guard is applied, the reciept of a BPDU on a port will result in the port being placed into what state?

A

error-disabled state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What command can be used to automatically recover from a BPDU guard induced error-disable state?

A

errdisable recovery cause bpdugaurd and

errdisable recovery interval {interval value]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In STP, what is the switch with the lowest bridge ID called?

A

root bridge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the Bridge ID composed of?

A

Two byte bridge priority and a 6 byte MAC address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

If two or more switches have the lowest priority then what is used to determine the root bridge?

A

lowest MAC address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the Port ID composed of?

A

port priority and port number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are ports on a root bridge always considered to be?

A

designated ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How many port states does Spanning Tree Protocol (STP) have?

A

5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the STP port states?

A

disabled, blocking, listening, learning, forwarding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

How many port states does Rapid Spanning Tree Protocol have?

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What are the RSTP port states?

A

discarding, learning, forwarding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is VTP used for?

A

to synchronize VTP and Vlan configuration information between switches.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What must match on all switches in for switches to synchronize information over VTP?

A

VTP domain name, VTP password, VTP version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

what is the command to manually set the bridge priority?

A

spanning-tree priority [value]

25
What is the default bridge priority?
32768
26
The time period between Hellos created by the STP root.
Hello timer
27
How long any switch should wait, after ceasing to hear Hellos, before trying to change the STP topology.
MaxAge timer
28
Delay that affects the process that occurs when an interface changes from blocking state to forwarding state. A port stays in an interim listening state, and then an interim learning state, for the number of seconds defined by the forward delay timer.
Forward delay timer
29
Default Hello timer
2 seconds
30
Default MaxAge
10 times Hello
31
Default Forward Delay timer
15 seconds
32
Feature that allows a switch to immediately transition from blocking to forwarding, bypassing listening and learning states.
PortFast
33
feature helps defeat these kinds of problems by disabling a port if any BPDUs are received on the port.
BPDU Guard
34
Two components of the Bridge ID that affect whether a switch will be elected root
Lowest priority and if that ties, the lowest MAC address
35
messages which switches use to | exchange information with each other.
bridge protocol data units (BPDU),
36
Global configuration command to set the STP | mode.
spanning-tree mode {pvst | | rapid-pvst | mst}
37
Global configuration command that changes this switch to the root switch. The switch’s priority is changed to the lower of either 24,576 or 4096 less than the priority of the current root bridge when the command was issued.
spanning-tree vlan [vlan-number] root primary
38
Global configuration command that changes the bridge priority of this switch for the specified VLAN.
spanning-tree vlan [vlan-id] priority [priority value}
39
Interface subcommand that changes the STP cost to | the configured value.
spanning-tree vlan [vlan-number] cost [cost value]
40
Interface subcommand that changes the STP port priority in that VLAN (0 to 240, in increments of 16).
spanning-tree vlan [vlan-number] port-priority [priority]
41
Interface subcommand that enables EtherChannel | on the interface.
channel-group [channel-group number] mode {auto | desirable | active | passive | on}
42
Interface subcommand that enables PortFast on the | interface.
spanning-tree portfast
43
Interface subcommand that enables BPDU Guard on | an interface.
spanning-tree bpduguard enable
44
Global command that changes the switch default for PortFast on access interfaces from disabled to enabled.
spanning-tree portfast default
45
Global command that changes the switch default for BPDU Guard on access interfaces from disabled to enabled.
spanning-tree portfast bpduguard default
46
Global command that changes the global setting for | PortFast to disabled.
no spanning-tree portfast default
47
Global command that changes the global setting for | BPDU Guard to disabled.
no spanning-tree portfast bpduguard default
48
Interface subcommand that disables PortFast on the | interface.
spanning-tree portfast disable
49
Interface subcommand that disables BPDU Guard | on an interface.
spanning-tree bpduguard disable
50
Lists details about the state of STP on the | switch, including the state of each port.
show spanning-tree
51
Lists STP information only for the specified | port.
show spanning-tree interface [interface id]
52
Lists STP information for the specified VLAN
show spanning-tree vlan vlan-id
53
Lists information about each VLAN’s root or for | just the specified VLAN.
show spanning-tree [vlan vlan-id] root
54
Lists STP information about the local switch for | each VLAN or for just the specified VLAN
show spanning-tree [vlan vlan-id] | bridge
55
Lists global STP settings for a switch, including the default PortFast and BPDU Guard settings, and the VLANs for which this switch is the root switch
show spanning-tree summary
56
Causes the switch to provide informational | messages about changes in the STP topology
debug spanning-tree events
57
Lists a one-line status message about PortFast on | the listed interface.
show spanning-tree interface [type/number ] portfast
58
Lists information about the state of | EtherChannels on this switch.
show etherchannel [channel-group number] | {brief | detail | port | portchannel | summary}