Week 6: STP Flashcards

1
Q

What are the two purposes for using Switching?

A

Breaks up Collision Domains (each switch port is its own separate Collision Domain)
Cost-effective way to connect workstations (switches have replaced hubs)

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

What are the advantages of using Layer 2 Switching?

A

Hardware-Based Bridging (ASICs)
Low Latency
Low Cost

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

What are the three Switch functions at Layer 2

A

Address Learning
Forward/Filter Decisions
Loop Avoidance

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

What is Switch Address Learning?

A

Layer 2 switches remember the source hardware address of each frame received on an interface and entered into the Forward/Filter MAC Database Table

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

Describe Forward/Filter Decisions for a Switch

A

Switch looks at the destination hardware address, then chooses the appropriate exit interface for it in the MAC Database

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

What is Switch Loop Avoidance?

A

If multiple connections between switches are created for redundancy purposes, network loops can occur

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

What protocol is used to prevent network loops while maintaining redundancy?

A

Spanning Tree Protocol

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

What are the three Forward/Filter Decisions for a Switch when a Frame arrives?

A
  1. If a source hardware address is not in the forwarding table -> add it
  2. if a destination hardware address is known -> Frame Filtering
  3. If the destination hardware address is not known -> frame is flooded to ALL active interfaces EXCEPT source
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What types of links are desired between switches?

A

Redundant Links

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

What are the benefits of Redundant Links?

A

Help prevent irrecoverable network failures in case one link stops working
Helps improve a network’s fault tolerance

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

What can loops in switching lead to?

A

Broadcast Storm

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

What is a Broadcast Storm?

A

Flood of endless broadcast packets

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

What MUST switches avoid?

A

Logical Loops

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

What are the three laters in the Cisco Hierarchical Network Model?

A

Core Layer
Distribution Layer
Access Layer

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

What is the function of the Core Layer in the Cisco Hierarchical Network Model?

A

Backbone of the model

Transport data reliably & quickly

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

What is the function of the Distribution Layer in the Cisco Hierarchical Network Model?

A

Routing
filtering
WAN Access

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

What is the function of the Access Layer in the Cisco Hierarchical Network Model?

A

Switching

Separating Collision Domains

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

In which network design is Redundancy introduced?

A

Hierarchical Network Design

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

What type of loop will disable a network?

A

A Logical Loop (due to redundancy)

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

What does Spanning Tree Protocol (STP) prevent?

A

Stops loops in Layer 2 Switch Networks

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

What are the properties of the Spanning Tree Protocol?

A

Layer 2 Protocol

Uses the Spanning Tree Algorithm (STA)

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

What are the main standards of Spanning Tree Protocol (STP)?

A
STP: IEEE802.1D
Rapid STP (RSTP): IEEE802.1W
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the purpose of the Spanning Tree Algorithm?

A

To interrupt the logical loop created by physical loops in a bridged/switched environment

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

How does STP prevent Logical Loops?

A

By ensuring that certain ports on some of the bridges/switches do not forward frames

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is a Bridge Protocol Data Unit (BPDU)?
Used to exchange selection information of the root switch as well as subsequent network configuration
26
How does a BPDU function?
Each switch compares the parameters in the BPDU that it sends to one neighbour with the ones that it receives from other neighbours
27
What type of network hardware sends BPDU's and how frequently?
Sent by Bridges periodically (usually every 2 seconds)
28
what is Port Cost?
The cumulative value of link costs towards the root
29
What is Port Cost used for?
Determining the best path when multiple links are used between two switches
30
How is Port Cost calculated?
It is calculated via the bandwidth of the links along the path
31
What is a Bridge ID?
The combination of the Bridge Priority and the base MAC Address
32
What is the default Bridge Priority for all Cisco Switches?
32,768
33
What are Bridge ID's used for?
For STP to keep track of all network-related switches
34
What is a Root Bridge?
The Bridge with the lowest Bridge ID
35
What is a Non-root Bridge?
All bridges that are not the Root Bridge
36
What is the main function of Non-Root Bridges?
To exchange BPDU's with all bridges & update the STP Topology database on all switches
37
What is a Root Port?
The port that provides the best path to the root bridge
38
What are two properties of the Root Port?
Root Port is always the link directly connected to the root bridge OR The Lowest Path Cost to the root bridge
39
What is a Designated Port?
A port that has been determined as having the best (lowest) cost to the Root Bridge via the Root Port
40
What can a Designated Port be marked as?
A Forwarding Port
41
What is a Non-Designated Port?
A port with a higher cost than the Designated Port
42
What is a Non-Designated Port marked as?
They are marked with Blocking Mode - they are not forwarding ports
43
What is a Forwarding Port?
A port that forwards frames; can be a Root Port or a Designated Port
44
What is a Blocked Port?
A port that, in order to prevent loops, will NOT forward Frames
45
What is an exception to a Blocked Port?
A Blocked Port will always listen to BPDU Frames but drop any & all other Frames
46
How do Switches & Bridges configure a single logical path?
via election
47
What is the election process that Switches & Bridges undergo to configure a single logical path?
1. A Root Bridge (root device) is selected; all other Bridges/Switches configure their ports using the root Bridge as a point of reference 2. Bridges use STP (BPDUs) to transfer the information about each Bridge's MAC Address & Priority Number 3. Each Bridge or Switch determines which of its own ports offers the best path to the Root Bridge
48
What process is triggered when there is a Root Failure?
The device in an STP-enabled network (that has stopped receiving BPDUs) will assume: i. The Root Bridge has failed ii. Claim to be the Root Bridge iii. Will begin sending BPDUs describing itself as such iv. Begin Root Bridge re-election
49
What is a Stable State?
The normal operating state of all ports when the Root Bridge is available and all paths are functioning as expected Normal Data Transfer occurs
50
What is a Transitory State?
Prevents logical loops during a period of transition from one root bridge to another NO DATA PACKET TRANSFER OCCURS
51
What are the three Stable States?
Blocking Forwarding Disabled
52
What are the two Transitory States?
Listening | Learning
53
When are Transitory States used?
When an STP devices are waiting on a new bridge to be elected
54
What is a Disabled State?
Virtually non-operational port
55
What is a Listening State?
Switch processe BPDUs & awaits possible new information that would cause it to return to the blocking state
56
What are two things are ignored by an STP-device in Listening State?
Does not learn MAC Address | Does not forward Frames
57
What are the properties of an STP-device in Learning State?
Processes BPDUs Learns MAC Address Does not forward packets
58
What is a Forwarding State?
Normal port operation; sending and receiving data
59
What is a Blocking State?
A port that would cause a Switching Loop; no user data is sent or received
60
What is one property of a Blocking State?
BPDU data is still received
61
Under what conditions will a Blocking State go into Forwarding Mode?
1. Other links in use were to fail | 2. STA determines the port may transition to the Forwarding State
62
How many bytes long is the Bridge ID?
8 Bytes (2 Byte Priority, 6 Byte MAC Address)
63
What is used in addition to the Bridge ID in the case of multiple VLANs in a Switch?
VLAN Number is used in the Extended System ID field for distinction
64
System ID Extension is what?
The VLAN Number
65
What are the three STP Timers?
Hello Time Forward Delay Maximum Age
66
What is the Hello Time STP timer?
The time between each BPDU Frame that is sent on a port | 2 seconds by default, can be 1 - 10 seconds
67
What is the Forward Delay STP timer?
The time spent in the listening & learning state | 15 seconds for each state by default, can be 4 - 30 seconds
68
What is the Maximum Age STP Timer?
The maximum amount of time a switch saves the configuration BPDU information 20 seconds by default, can be 6 - 40 seconds