STP/BPDU/MST/PVST/RSTP Flashcards

1
Q

what are the 5 STP port roles?

A

root, designated, blocking, alternate, forwarding (host)

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

what does Root Guard do?

A

controls where candidate root bridges can be connected and found on a network

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

How does Root Guard work?

A

a port can only forward or relay BPDUs, but can’t receive them, disabled by default, enabled per-port, blocks port when superior BPDUs are received

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

How is Root Guard used?

A

on ports where you never expect to find a root bridge for a VLAN

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

What is BPDU Guard?

A

if any BPDU is received on a port, it puts the port into the errdisable state

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

How can BPDU Guard be configured?

A

globally or per-port

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

What does Loop Guard do?

A

tracks BPDUs on nondesignated ports. When those BPDUs stop coming, the port is put into loop-inconsistent state and blocks

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

How does loop guard block ports?

A

only for the offending VLAN on the port

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

What does BPDU filtering do?

A

effectively stops STP on filtered ports

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

Where is root guard enabled?

A

all ports where root isn’t expected

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

where is BPDU guard enabled?

A

all user ports that have portfast enabled

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

where is loop guard enabled?

A

all nondesignated ports, but ok for all ports

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

can root guard and loop guard be used together

A

no

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

can root guard and BPDU guard be used together?

A

no

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

should BPDU guard and BPDU filter be used together?

A

no

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

RSTP uses which standard?

A

802.1w

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

What are the RSTP port roles?

A

root, designated, alternate, and backup

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

RSTP root port

A

port with best root path cost

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

RSTP designated port

A

Port with best root path cost on segment

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

RSTP alternate port

A

port with alternative path to root less desirable than root

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

RSTP backup port

A

port with redundant, but less deisrable connection to a segment. Possibly root candidate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
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
23
Q

RSTP discarding state

A

incoming frames are dropped (combination of disabled, blocking, and listening)

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

RSTP learning state

A

incoming frames dropped, but MACs learned

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

RSTP forwarding state

A

frames are forwarded

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

RSTP BPDU structure

A

some unused bits are used to allow a port to identify its role and state. Also the BPDUs state that they are V2 BPDUs

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

When are RSTP BPDUs sent?

A

every hello interval regardless of whether BPDUs are received from root, allowing any switch to take an active role maintaining the topology

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

What if RSTP BPDUs aren’t received?

A

If three are missed in a row, the neighbor is considered down and the data for that neighbor is aged

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

What is the RSTP default hello interval?

A

2 seconds

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

What happens if both 802.1D and RSTP BPDUs are received?

A

the port will operate under 802.1D rules. If they are received on the same port, it will run 802.1D until the migration delay expires

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

What are the steps of RSTP convergence?

A

1- root bridge is elected, 2-the state of every switch port in the STP domain must be brought from blocking state to the appropriate state

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

What are the 3 RSTP port types?

A

edge, root, and point to point

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

RSTP edge port

A

only a single host connects . If one BPDU is received, it is no longer an edge port

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

RSTP point to point port

A

port that connects to another switch and becomes a designated port

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

How are RSTP point to point ports determined?

A

automatically by duplex mode in use. Full duplex are point ot point. Half duplex ports use traditional 802.1D convergence is used.

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

How is RSTP synchronization accomplished?

A

all non-edge ports are discarding. After the root bridge is identified, the port with superior BPDU becomes root

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

How does RSTP converge?

A

if a proposal is received, the recipient isolates, all nonedge ports blocked until proposal sent causing neighbors to synch, which propagates out in waves

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

How does RSTP identify a topology change?

A

only when a nonedge port transitions to forwarding

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

How is an RSTP edge port configured

A

with portfast

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

What is RPVST+?

A

an instance of RSTP running for each VLAN on the switch. Changing from PVST to RPVST+ is disruptive

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

When looking at the sh spanning tree output, what does P2P denote?

A

a point to point port type

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

When looking at the sh spanning tree output, what does P2P peer(STP) denote?

A

a point to point port type but the neighboring device runs traditional 802.1D STP

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

What does MSTP do?

A

Used when there are 1 or more VLANs mapped to a single STP instance

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

What do you need to determine to use MSTP?

A

the number of STP instances needed to support the desired topologies and whether to map a set of VLANs to each instance

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

Can MSTP interoperate with 802.1q and/or PVST+?

A

yes to both

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

What does MSTP consist of?

A

regions and instances

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

How is an instance defined?

A

by name, config revision, and instance to vlan mapping table

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

What is an IST instance?

A

within a single MST region, an IST instances runs to work out a loop free topology between links where CST meets the region boundary and all switches in the region. It runs at the boundary.

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

What is an MST instance?

A

The MST instance (MSTI) runs alongside the IST and represents an STP instance

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

How many MST instances can be in a region?

A

16 - IST gets MSTI 0, 1-15 are available for use. MSTIs are locally significant to the MST region

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

How do you implement MST?

A

MST attributes must be manually entereed on each switch in the region. They don’ t propagate like VTP.

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

What are the steps to configure MST?

A

1- enable MST, 2-enter MST config mode, 3-assign region name and region configuration rev, 4-map vlans to an MSTI, 5-show pending changes, 6- commit by exiting

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

What is the IEEE standard for STP?

A

802.1D

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

How are BPDUs spread?

A

multicast to 01-80-c2-00-00-00

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

What are the 2 types of BPDU?

A

configuration and TCN

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

How often are BPDUs sent?

A

2 seconds (def)

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

What is a bridge ID made up of?

A

bridge priority and MAC

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

What is the bridge priority range?

A

0-65535 (def 32768) lower=better

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

In a converged fabric, which switch(es) send config BPDUs?

A

root

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

How is root port decided upon?

A

lowest cumulative cost to root

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

What is the cost of a 10 Mbps link?

A

100

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

What is the cost of a 100Mbps link?

A

19

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

What is the cost of a 1Gbps link?

A

4

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

What is the cost of a 10Gbps link?

A

2

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

How many designated ports are there?

A

1 per segment

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

If there are 2 ports with same root cost, how is the tie broken for designated port?

A

1-lowest root bridge ID, 2-lowest root path cost, 3-lowest bridgeID, 4-lowest port ID

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

What are the 5 STP states?

A

disabled, blocking, listening, learning, forwarding

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

What is the STP disabled state?

A

admin down

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

What is the STP blocking state?

A

Can hear only BPDUs

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

what is the STP listening state?

A

can send and receive BPDUs

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

What is the STP learning state?

A

after forwarding delay, port can learn new MAC addresses

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

What is the STP forwarding state?

A

after another forwarding delay, the port can send and receive data frames, collect MAC addresses, and send and receove BPDUs

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

What are the 5 steps to manualy configure STP?

A

1-ID link path costs, 2-ID roodt bridge, 3-select root port (1/switch), 4-select designated port (1/segment), 5-ID blocking port

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

What is the STP hello timer?

A

Time between BPDUs sent by root bridge. Default of 2 seconds

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

What is the STP forward delay timer?

A

The time that a port spends in both listening and learning states . Default 15 seconds

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

What is the STP Max Age timer?

A

The time interval that a switch stores a BPDU before discarding it. Default 20 seconds

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

What is the default network diameter?

A

7 switches from root bridge

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

Where should you change the network diameter value?

A

Cisco recommends only on the root bridge

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

What is a topology change?

A

When a port moves into forwarding or from fowarding or learning to blocking.

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

What happens when the topology changes?

A

A TCN BPDU is sent out of the switch’s root port. The switch will continue sending TCN’s every hello interval until ack’d by upstream neighbor. The root bridge will send a Config BPDU to all switches

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

What happens when switches receive a configuration BPDU?

A

They shorten their bridge table aging times from default (300sec) to the fowarding delay (15 sec)

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

What is a direct topology change?

A

One that can be detected on a switch interface (ie. Up/down)

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

What is an indirect topology change?

A

The link status stays up, but something between them has failed or is filtering traffic

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

What is an insignificant topology change?

A

A host port goes up or down

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

What is common spanning tree (CST)?

A

Single instance of STP for all VLANs. BPDUs are sent over trunks using the native VLAN with untagged frames. Dot1q based

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

What is Per VLAN STP (PVST)?

A

Cisco proprietary. 1 instance of STP/VLAN. Requires ISL instead of dot1q

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

What is PVST plus (PVST+)?

A

allows devices to interoperate with PVST and CST. Can use both dot1q and ISL

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

What is the port ID?

A

16 bits (8b port priority, 8b port number)

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

what is the port number range?

A

0-255

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

what is the port priority range?

A

0-255 (lower is better)

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

Where should STP timers be configured and why?

A

on root, because the root bridge propagates timers with config BPDU

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

How do you automatically configure STP timers

A

use the spanning-tree root macro

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

What is portfast?

A

almost eliminates listening and learning states for single hosts on an access link

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

What does the switchport host macro do?

A

enables portfast, sets the port to access and disables PAgP

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

What does uplinkfast do?

A

enables switches at the end of the spanning tree branches to have a functioning root port while keeping 1 or more redundant potential ports in blocking mode. When the main fails, the other comes up.

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

What are the gotchas for uplinkfast?

A

should be used on access switches, can’t be used on root, keeps enabled switch from becoming root by raising priority of switch and all ports, making them undesirable

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

How does uplinkfast handle changes in topology?

A

notifies upstream neighbors by sending multicasts on behalf of hosts at the interval of the max update rate parameter.

98
Q

What is backbonefast?

A

causes switch to actively determine whether alternative paths exist to root bridge in case ther eis an indirect failure

99
Q

How does backbonefast determine whether alternative paths exist?

A

1- inferior BPDU on blocked-considered alternative, 2-inferior on root-all blocked ports considered alternate, 3-if inferior arrives on root and no blocked ports, assumes loss of connectivity to root

100
Q

What is a root link query (RLQ)?

A

backbonefast uses RLQ to determine if upstream switches have stable connections to root bridge

101
Q

How does backbonefast work?

A

by short-circuiting the max age timer

102
Q

How should backbonefast be configured?

A

on all switches in network to enable RLQ request and reply

103
Q

When are new path costs from BPDUs computed on a switch?

A

when the BPDU comes IN the switch.

104
Q

When is the UplinkFast command not allowed?

A

On the root bridge switch.

105
Q

What are the 5 STP port states?

A

Disabled-Blocking-Listening-Learning-Forwarding

106
Q

What is the STP Max Age timer?

A

The time that a switch stores a BPDU before discarding it. Default is 20 seconds. Range is 6-40

107
Q

Define STP PVST.

A

Per-VLAN Spanning Tree. Cisco Proprietary, and operates a separate instance of STP on each VLAN. Requires ISL encapsulation between switches. PVST and CST cannot easily coexist.

108
Q

How many root ports can a single switch have?

A

Only ONE, that always points towards the root bridge!

109
Q

If a switch has BackboneFast and any blocked ports, what does it use to figure out alternate paths?

A

The Root Link Query (RLQ) protocol.

110
Q

What is the STP path cost of 10G, 1G, 622M, 155M, 100M, and 10M?

A

2, 4, 6, 14, 19, and 100

111
Q

What is the value range and default value of STP port priority?

A

0-255, and defaults to 128.

112
Q

When should you use STP PortFast?

A

Only from access layer switches to workstations.

113
Q

When are new path costs from BPDUs computed on a switch?

A

when the BPDU comes IN the switch.

114
Q

When is the UplinkFast command not allowed?

A

On the root bridge switch.

115
Q

What are the 5 STP port states?

A

-Disabled-Blocking-Listening-Learning-Forwarding

116
Q

What is the STP Max Age timer?

A

The time that a switch stores a BPDU before discarding it. Default is 20 seconds. Range is 6-40

117
Q

Define STP PVST.

A

Per-VLAN Spanning Tree. Cisco Proprietary, and operates a separate instance of STP on each VLAN. Requires ISL encapsulation between switches. PVST and CST cannot easily coexist.

118
Q

How many root ports can a single switch have?

A

Only ONE, that always points towards the root bridge!

119
Q

If a switch has BackboneFast and any blocked ports, what does it use to figure out alternate paths?

A

The Root Link Query (RLQ) protocol.

120
Q

What is the STP path cost of 10G, 1G, 622M, 155M, 100M, and 10M?

A

2, 4, 6, 14, 19, and 100

121
Q

What is the value range and default value of STP port priority?

A

0-255, and defaults to 128.

122
Q

When should you use STP PortFast?

A

Only from access layer switches to workstations.

123
Q

When a link goes down in STP, what is the total down time of that device based off of? / calculated from?

A
  1. The max-age timer (20 seconds)2. The Hello timer (2 seconds)3. The forwarding delay for both listening and learning (15 seconds x2!)
124
Q

What is the command to enable UplinkFast on a switch and set the max-update-rate? Also what is the ranges and purpose of this command?

A

(config)spanning-tree uplinkfast max-update-rate #####This limits how often the device will send multicast messages on fail-over, and the range is 0-65535

125
Q

What are the three STP timers?

A

Hello time, Forward Delay, and Max Age

126
Q

The cumulative cost of all the links leading to the root bridge is called the _______?

A

root path cost.

127
Q

What macro command enables PortFast, sets the port to access, and disabled PAgP?

A

(if)switchport host

128
Q

What is the STP Forwarding Delay?

A

The time that a switch port must spend in the listening and learning states before advancing to the forwarding state. Default is 15 seconds. Range is 4-30

129
Q

What is a root bridge?

A

The root bridge is the bridge with the lowest Bridge Priority value, or the lowest MAC is all values are equal. It has no disabled(blocking) ports.

130
Q

What are the three main types of STP?

A

CST (common spanning tree), PVST (Per-VLAN spanning tree), and PVST+

131
Q

What are the 4 tie-breaking STP decisions?

A
  1. Lowest Bridge ID2. Lowest root path cost to root bridge3. Lowest sender bridge ID4. Lowest sender port ID
132
Q

In STP, a value of 0 on the max-update-rate parameter for UplinkFast means what?

A

It means that no multicast messages will be sent on fail-over.

133
Q

When should you use STP UplinkFast?

A

Only from access layer switches to distro layer switches when there are dual uplinks.

134
Q

When does STP acknowledge that a topology change has occurred?

A

When a port goes up or down, usually any port going to the forwarding state, or a port going to the blocking state.

135
Q

What is the correct terminology for a Spanning-Tree Loop?

A

A Bridging Loop.

136
Q

How much extra delay time is added to the default spanning tree process of 30 seconds when a PAgP Etherchannel link in configured for STP?

A

An extra 20 seconds. This brings the total negation time to 50 seconds.

137
Q

What command enables all ports configured for Access mode to use PortFast?

A

(config)spanning-tree portfast default

138
Q

How can you change the network diameter value in STP?

A

add ‘diameter #’ to the end of the command ‘spanning-tree vlan # root primary’

139
Q

In STP extended system-id, bridge priority can range from 0-61440 but only in multiples of _____?

A

4096

140
Q

Will a lower value or higher value make a switch the root bridge?

A

Lower Bridge Priority/MAC

141
Q

Can BPDUs be shared by CST and PVST?

A

Never, as they require different trunking methods.

142
Q

What configuration will cause a TCN BPDU to NOT be sent when a topology change occurs?

A

spanning-tree PortFast on the interface.

143
Q

What is the STP hello timer?

A

the time between Configuration BPDUs sent by the root bridge. Default is 2 seconds. Range is 1-10

144
Q

Explain the ‘Disabled’ port state in STP.

A

a port that is administratively shut down by an administrator or by the system because of a fault.

145
Q

If an RLQ reply is received on a root port, what does this mean? A non-root port?

A

-That the path to the root bridge is in tact and stable. -Non-root: that a new path must be chosen.

146
Q

Will an STP bridge priority value of 0 work?

A

Not with the automatic method. Only with the manual method.

147
Q

What is the default forward delay timer?

A

15 seconds.

148
Q

What happens when you change a STP timer on the root bridge?

A

It propagates all three timer values throughout the network with the BPDUs.

149
Q

Explain the ‘Listening’ port state in STP.

A

This port can only send and receive BPDUs. Because of this it is allowed to become a root or designated port.

150
Q

What are the two types of BPDUs, and define their use.

A

-Configuration BPDU, used for Spanning Tree computation.-Topology Change Notification (TCN) BPDU, used to announce changes in the network topology.

151
Q

What is an indirect link failure in STP, and how does a switch detect them?

A

It occurs when a link that is not directly connected to a switch fails. It is detected whenever a switch starts receiving inferior BPDUs from its designated bridge on the root or blocked ports.

152
Q

What command set the bridge priority for STP?

A

(config)spanning-tree vlan ## priority #####

153
Q

What is a BPDU?

A

a Bridge Protocol Data Unit. It is a data message that is exchanged between switches to support the Spanning Tree Protocol.

154
Q

What does the ‘spanning tree vlan # root secondary’ command do?

A

It sets the bridge priority to 28672. This is less than the default 32768, but more than the ‘primary’ keyword of 24576

155
Q

Where is the ideal placement of the pri/sec root bridge?

A

Near the center of the Layer 2 network on a powerful switch.

156
Q

Explain the ‘learning’ port state in STP.

A

After the ‘forward delay’ from the listening state, it becomes a learning state. This port can still send and receive BPDUs, but can also now learn new MAC addresses.

157
Q

Explain the ‘Blocking’ port state in STP.

A

Ports start in this state. This port cannot send or receive data and cannot add MAC addresses to its table. It can only receive BPDUs.

158
Q

What is contained in the STP Port ID?

A

8-bits for the Port Priority and 8-bits for the Port Number.

159
Q

Define STP CST.

A

Common Spanning Tree. Based on IEEE 802.1Q when all BPDUs are transmitted over the native VLAN with untagged frames.

160
Q

TCN BPDUs are send out what port?

A

The switches root port.

161
Q

By default, how often are BPDUs sent?

A

Every 2 seconds.

162
Q

When should you use STP BackboneFast?

A

Enables faster convergence on core layer switches after changes occur.

163
Q

What is a secondary root bridge used for and how do you configure one?

A

It is used in case the primary root bridge goes down you can engineer its replacement. Simply make another switch have a value lower than the default but higher than the primary root.

164
Q

When are inferior BPDUs send in STP?

A

When a designated bridge loses connectivity to the root bridge, making it advertise itself as the new root.

165
Q

What are the 5 steps to manual STP computation?

A

-ID path costs on all links.-ID a root bridge.-Select root ports (1 per switch)-Select designated ports-ID blocking ports.

166
Q

What is the default bridge table aging timer?

A

300 seconds.

167
Q

What command will allow you to see the spanning tree Port Cost value of an interface?

A

(priv)show spanning-tree interface TYPE MOD/NUM cost

168
Q

What happens to a PortFast port that receives a BPDU?

A

It immediately enters the blocking state.

169
Q

What is the value range and default value for bridge priority?

A

0-65535, defaults to 32768(0x8000)

170
Q

Explain the ‘Forwarding’ port state in STP.

A

After another forwarding delay from the learning state, the port is now a fully functioning port, and can send and receive all data.

171
Q

Where should UplinkFast be used?

A

On leaf-node switches, or switches on the ends of spanning tree branches.

172
Q

What is the well-known multicast address that BPDUs are sent to?

A

01-80-c2-00-00-00

173
Q

If you use BackboneFast, what switches should it be used on?

A

It should be used on ALL switches on the network because of the RLQ request and reply process.

174
Q

define PVST+

A

PVST plus. Allows all devices to operate with CST, PVST, and PVST+. It operates over both ISL and 802.1Q

175
Q

What does the ‘spanning tree vlan # root primary’ command do?

A

It makes the switch attempt to become the root bridge. If the current root bridge priority is more than 24576, it sets its priority to 24576. If the current root bridge is less than that, it sets its priority to 4096 less than the current root.

176
Q

What is a designated port in Spanning Tree?

A

A port where only BPDUs with HIGHER root path costs are received. This means the that the other switch attached to that port is using that port as a root port! This port should stay online!

177
Q

What command sets the STP port priority on a switch port?

A

(if)spanning-tree vlan ## port-priority ###(lower is better!)

178
Q

What multicast address is sent to by UplinkFast when a new link comes up, and what is sent?

A

0100.0ccd.cdcd -It sends all of the MAC addresses in the bridging table as the source address to update upstream devices.

179
Q

What does the UplinkFast command do to a switch?

A

It keeps one functioning root port and one or more potential root ports in blocking mode. When that primary root port fails, another blocked potential root port immediately comes up. It also changes the bridge priority to 49152 and increases all path costs by 3000.

180
Q

What does BackboneFast do to the Max-Age Timer on a switch?

A

It short-circuits the max age timer, and reduces the convergence delay from 50 to 30 seconds.

181
Q

What is the range for network diameter in STP?

A

1-7, default is 7.

182
Q

What is the IEEE standard for RSTP?

A

802.1w

183
Q

How do you enable/disable BPDU filtering on a per-port basis?

A

(if)spanning-tree bpdufilter [enable, disable]

184
Q

What is the IEEE standard for MST?

A

802.1s

185
Q

What does BPDU guard do to a switchport?

A

If a BPDU is received on a port with BPDU guard, it is immediately placed into the errDisabled state.

186
Q

What does BPDU filtering do?

A

It effectively disables STP on a switchport.

187
Q

Can a switch run both MST and PVST+ at the same time?

A

No! MST relies on the RSTP configuration to operate, and therefor, cannot use PVST+.

188
Q

What does Loop Guard do to switch ports?

A

It monitors BPDU activity on non-designated ports. When BPDUs go missing, Loop Guard moved the port into a loop-inconsistent state. When BPDUs are received again, the port progresses automatically through the STP states and becomes active.

189
Q

Are the following configuration combinations permissible on a switch port?Root guard and UDLD

A

Permissible!

190
Q

RSTP uses what BPDU version?

A

version 2.

191
Q

How many MSTIs can exist in a single MST region?

A
  1. The IST is always MSTI 0, and that leaves MSTI 1-15 open for use.
192
Q

What type of message does RSTP send when negotiating convergence?

A

It sends a proposal!

193
Q

Are the following configuration combinations permissible on a switch port?Root guard and BPDU guard

A

NOT-Permissible!

194
Q

What is the relationship between PortFast and BPDU guard?

A

All ports with PortFast have BPDU guard enabled by default.

195
Q

How can you globally enable BPDU filtering on all PortFast ports?

A

(config)spanning-tree portfast bpdufilter default

196
Q

In RSTP, non-edge ports begin in what RSTP state?

A

The RSTP discarding state.

197
Q

What does RSTP assume with regard to duplex settings?

A

That full-duplex links are Point-to-Point and half-duplex links fall back to CST.

198
Q

When should STP Root Guard be used?

A

On switchports where you never expect to find the root bridge for any VLAN.

199
Q

Within MST what is an IST?

A

Internal Spanning Tree, it is a locally significant CST bounded by the edges of the MST region.

200
Q

In RSTP how often are BPDUs exchanged?

A

The default hello timer in RSTP is 2 seconds.

201
Q

What does the ‘spanning-tree link-type point-to-point’ command accomplish?

A

It forces a RSTP port to be point-to-point regardless of duplex settings.

202
Q

When running MST, all switches must have what three identical attributes to be considered in the same region?

A

The same MST configuration name, revision number, and instance-to-VLAN mapping table.

203
Q

What two STP features help detect or prevent the unexpected loss of BPDUs?

A

Loop Guard, and Unidirectional Link Detection (UDLD).

204
Q

What ports should BPDU guard never be enabled on?

A

Switch uplinks where the root bridge is located.

205
Q

Are the following configuration combinations permissible on a switch port?Root guard and Loop guard

A

NOT-Permissible!

206
Q

What happens when a BPDU is received on a port with Root Guard configured?

A

It is placed in the blocking state, with a root-inconsistent state.

207
Q

What are the 5 states a port can have after convergence in STP?

A

Root port, Designated port, Blocking port, Alternate port, and Forwarding port.

208
Q

In MST, by default, what VLANs are mapped to the IST (MSTI 0)?

A

All of the VLANs are mapped to the IST by default. You must explicitly map them to another MSTI if needed.

209
Q

Are the following configuration combinations permissible on a switch port?Loop Guard and UDLD

A

Permissible!

210
Q

How to other MSTIs receive BPDU information in MST?

A

The MST BPDU is sent on the IST (MSTI 0) with a special M-Record appended to the BPDU.

211
Q

How do you globally enable Rapid Per-VLAN Spanning Tree (RPVST+)

A

(config)spanning-tree mode rapid-pvst

212
Q

According to RSTP, any port role can have what three possible states?

A

-Discarding, incoming frames are dropped, no MACs are learned.-Learning, only MACs are learned.-Forwarding, frames are forwarded according to learned frames.

213
Q

What are the 5-steps to configuring MST on a single switch?

A
  1. spanning-tree mode mst2. spanning-tree mst configuration3. name NAME4. revision #####5. instance #ID# vlan #LIST#
214
Q

Can RSTP coexist on a network with CST?

A

Yes, each versions BPDUs are compatible.

215
Q

Give a quick explanation of where the following STP configurations should be used: Root guard, BPDU guard, Loop guard, UDLD.

A

-Root guard, Apply to ports where root is never expected.-BPDU guard, apply to all ports that have PortFast enabled.-Loop guard, Apply to non-designated ports, but ok to apply to all ports.-UDLD, Apply to both sides of all fiber links.

216
Q

Even though loop-guard is configured on switch ports, it action is taken on a per-_____ basis.

A

per VLAN!

217
Q

When does RSTP detect a topology change?

A

When a non-edge port transitions to the forwarding state.

218
Q

What is the default message interval for UDLD?

A

15 seconds.

219
Q

What are the three types of RSTP ports?

A

-Edge port, where only a single host connects.-Root port, has the best cost to the root.-Point-to-point, any port that connects to another switch and becomes a designated port.

220
Q

In MST, what MSTI is allowed to send BPDUs?

A

Only the IST, on MSTI 0, us allowed to send BPDUs.

221
Q

What is the IEEE standard for STP?

A

802.1D

222
Q

How does CST work out a loop-free technology with MST?

A

It considers each MST region as a single ‘bridge’

223
Q

When enabled globally, what ports does UDLD effect? How do you enable it?

A

Only Fiber-Optic ports. (config)udld [enable, aggressive, message time ###]

224
Q

If a port is placed in the errDisabled state, what is the only way it can be re-enabled?

A

By being manually re-enabled, or waiting for the errDisabled timeout function.

225
Q

What does *PVST* stand for?

A

Per VLAN Spanning Tree

226
Q

What does IST stand for?

A

Internal Spanning Tree

227
Q

What is IST?

A

IST is just another name for Instance-0.

228
Q

How is an IST Master elected?

A

If CST Root bridge is elected inside MST region, CST root is the IST Master. However, if this is not the case, IST Master is the MST switch with the lowest cost to the CST.

229
Q

By default, what is considered a dead neighbor in *PVST+*?

A

A neighbor is declared dead if the neighbor missed 10 BPDUs.

230
Q

What does *RPVST+* stand for?

A

Rapid Per VLAN Spanning Tree

231
Q

Why was *RPVST+* developed after *PVST+*?

A

RPVST was developed after PVST because state changes were too slow in the original STP. RPVST was designed to speed up convergence.

232
Q

In RPVST+, what is a P2P link type?

A

In RPVST+, a P2P link type is a full duplex link. These links are able to do the P / A flag negotiations.

233
Q

In *RPVST+*, what is a Shared link type?

A

In RPVST+, a Shared link type is a half duplex link.

234
Q

What is a major change in *RPVST* compared to *PVST* in regards to BPDUs?

A

In PVST, Root Bridge was the only switch to create Configuration BPDUs. In RPVST, all switches generate their own Configuration BPDUs to act as keepalives for neighbors.

235
Q

By default, what is considered a dead neighbor in *RPVST+*?

A

A neighbor is declared dead if the neighbor missed 3 BPDUs.

236
Q

What is the *RSTP Discarding State*?

A

The RSTP Discarding state combines the 802.1d disabled, blocking, and listening states. No MAC addresses are learned and incoming frames are dropped.

237
Q

What is the *RSTP Learning State*?

A

The RSTP Learning State can’t send or receive data but MAC addresses are learned.

238
Q

What is the *RSTP Forwarding State*?

A

The RSTP Forwarding State can send or receive data.

239
Q

What is the *RSTP Proposal Flag*?

A

The Proposal Flag in RSTP is enabled whenever a bridge requests to become the Root.

240
Q

What is the *RSTP Agreement Flag*?

A

The Agreement Flag in RSTP is enabled whenever a bridge agrees with another bridge in regards to that bridge’s request to become Root.