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
Q

What is the default bridge priority?

A

32768

26
Q

The time period between Hellos created by the STP root.

A

Hello timer

27
Q

How long any switch should wait, after ceasing to hear Hellos, before trying to change the STP topology.

A

MaxAge timer

28
Q

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.

A

Forward delay timer

29
Q

Default Hello timer

A

2 seconds

30
Q

Default MaxAge

A

10 times Hello

31
Q

Default Forward Delay timer

A

15 seconds

32
Q

Feature that allows a switch to immediately transition from blocking to forwarding, bypassing
listening and learning states.

A

PortFast

33
Q

feature helps defeat these kinds of problems by disabling a port if any BPDUs are received on the port.

A

BPDU Guard

34
Q

Two components of the Bridge ID that affect whether a switch will be elected root

A

Lowest priority and if that ties, the lowest MAC address

35
Q

messages which switches use to

exchange information with each other.

A

bridge protocol data units (BPDU),

36
Q

Global configuration command to set the STP

mode.

A

spanning-tree mode {pvst |

rapid-pvst | mst}

37
Q

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.

A

spanning-tree vlan [vlan-number] root primary

38
Q

Global configuration command that changes the
bridge priority of this switch for the specified
VLAN.

A

spanning-tree vlan [vlan-id] priority [priority value}

39
Q

Interface subcommand that changes the STP cost to

the configured value.

A

spanning-tree vlan [vlan-number] cost [cost value]

40
Q

Interface subcommand that changes the STP port
priority in that VLAN (0 to 240, in increments of
16).

A

spanning-tree vlan [vlan-number] port-priority [priority]

41
Q

Interface subcommand that enables EtherChannel

on the interface.

A

channel-group [channel-group number] mode {auto | desirable | active | passive | on}

42
Q

Interface subcommand that enables PortFast on the

interface.

A

spanning-tree portfast

43
Q

Interface subcommand that enables BPDU Guard on

an interface.

A

spanning-tree bpduguard enable

44
Q

Global command that changes the switch default for PortFast on access interfaces from disabled to enabled.

A

spanning-tree portfast default

45
Q

Global command that changes the switch default for
BPDU Guard on access interfaces from disabled to
enabled.

A

spanning-tree portfast bpduguard default

46
Q

Global command that changes the global setting for

PortFast to disabled.

A

no spanning-tree portfast default

47
Q

Global command that changes the global setting for

BPDU Guard to disabled.

A

no spanning-tree portfast bpduguard default

48
Q

Interface subcommand that disables PortFast on the

interface.

A

spanning-tree portfast disable

49
Q

Interface subcommand that disables BPDU Guard

on an interface.

A

spanning-tree bpduguard disable

50
Q

Lists details about the state of STP on the

switch, including the state of each port.

A

show spanning-tree

51
Q

Lists STP information only for the specified

port.

A

show spanning-tree interface [interface id]

52
Q

Lists STP information for the specified VLAN

A

show spanning-tree vlan vlan-id

53
Q

Lists information about each VLAN’s root or for

just the specified VLAN.

A

show spanning-tree [vlan vlan-id] root

54
Q

Lists STP information about the local switch for

each VLAN or for just the specified VLAN

A

show spanning-tree [vlan vlan-id]

bridge

55
Q

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

A

show spanning-tree summary

56
Q

Causes the switch to provide informational

messages about changes in the STP topology

A

debug spanning-tree events

57
Q

Lists a one-line status message about PortFast on

the listed interface.

A

show spanning-tree interface [type/number ] portfast

58
Q

Lists information about the state of

EtherChannels on this switch.

A

show etherchannel [channel-group number]

{brief | detail | port | portchannel | summary}