• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/98

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

98 Cards in this Set

  • Front
  • Back

How does spanning tree prevent problems related to bridging loops?

STP solves the problem by blocking redundant paths and allowing only a single active path.

How does STP work?

  1. Selects a root switch
  2. selects a loop-free path to each switch

How does STP choose which route to take?

It chooses


  • a single root bridge
  • one root port for each non-root switch
  • one designated port for each network segment

Name 5 types of STP

  • Common Spanning Tree (CST)
  • Per VLAN spanning Tree Plus (PSVT+)
  • Rapid STP (RSTP)
  • PVRST+ (RPVST+)
  • Multiple Spanning Tree (MST)

What standard is STP?

IEEE 802.1D

What is CST?
Common Spanning Tree

An instance of STP that runs for the entire switched network resulting in low CPU requirements
Suboptimal traffic paths when multiple VLANs are used.
Slow to converge time
Bridge ID does not include System if Extension field (VLAN ID on 12 bits)
What is PVST+?
Per VLAN Spanning Tree Plus

one instance of STP per VLAN,
more resources required,
slow convergence still
includes portfast
backbone fast
uplinkfast
BPDU filter
BPDU Guard and Loop Guard Enhancements
Interoperates with CST

What is RSTP?

Rapid Spanning Tree



  • Fast Convergence
  • suboptimal traffic
  • Backbone fast
  • UplinkFast
  • PortFast
Why does RSTP have suboptimal traffic?
Only a single instance of the the entire switched network runs at a time.

If RSTP is properly configured, how much faster is the convergence time?

a few hundred miliseconds

If everything in RSTP is working properly, what should be used as a backup or if there are no legacy devices?

802.1D timers such as


  • Forward Delay
  • Max Age
What is PVRST+ aka RPVST+?
Behaves similarly to PVST+
supports separate instances of RSTP for each VLAN
BPDU Filter
BPDU Guard
Root Guard
Loop Guard Enhancements
Largest CPU and memory requirments

What is MST?

Multiple Spanning Tree



  • Map multiple VLANs
  • similar traffic to RSTP
  • Supports RSTP for fast convergence
  • BPDU filter
  • BPDU Guard
  • Root Guard
  • Loop Guard Enhancements

What is the dominate spanning-tree protocols of choice in Cisco Switches?
Multiple Spanning Tree (MST)
Per VLAN Spanning Tree (PVRST+)

What is the default flavor of STP that is enabled when a VLAN is created on most switches?

Per VLAN Spanning Tree (PVRST+)

How does spanning tree build the tree structure?

By using the fastest links it has available for the active path.

What makes a BPDU Superior to another?
Lowest Bridge ID (BID)
Lowest path cost to the root
Lowest updtream bridge ID
Lowest updtream port ID (PID)

What is a bridge ID?

Bridge Priority and MAC address

What is the Bridge Priority?

0-65,535

What is the default Priority?

32,768

What is Path Cost?

The cumulative cost of all links between the switch and the root bridge.

What is the Port Priority range?

0-240

What is the default port priority?

128

In what increments do port priority increase?

increments of 16

What is STA?

Spanning Tree Algorithm



Implements distributed variations of the Bellman Ford iterative algorithm.

How is the Bellman Ford Iterative Algorithm described?
A gradient process.

NOTE:
Meaning It repeatedly looks for the optimal solution selecting an optimal candidate every time.

What is Step One in the STP Selection?

Each VLAN elects one root bridge. The Bridge with the lowest BID becomes the root.

What happens to the ports on the root bridge?

They become designated ports.

How are root ports determined on all non-root brdges?

  • The root port is chosen based on the port with the lowest-cost path between the non-root bridge and root bridge.
  • Lowest upstream Bridge ID
  • Lowest upstream port ID (PID)

How do you choose a designated port?

  • They are chosen between switches from non-root ports that have the lowest path cost to the root bridge.
  • If tied: Bridge ID works as a tie breaker (lowest winds)
  • If Tied: Port ID (lowest wins)

Where is an RP?

Root Port



Always on an upstream facing interface and always facing a DP

Where are Root Ports Located?

on non-root bridges only

What does a (Root Port) RP do with traffic?

Receives and forwards traffic toward the bridge as needed.


What does a (Root Port) RP mostly receive?

BPDU's



NOTE:


Sends very few of them

How many Root Ports per switch?

one

Does a root port populate on a MAC table?

It can

Where is a DP?

Designated Port



Always a downstream facing Interface.

Where are designated ports (DP) located?

On root and non-root bridges.

All the ports on a root bridge are ___________?

Designated


What does a Designated Port (DP) do with traffic?
Receives and forwards them as needed.

What does a Designated port mostly send?

BPDUs



NOTE:


Receives very few of them.

How many designated ports are there?

Only one per segment and per VLAN in PVST+

Can Designated Port (DP) Populate in a MAC table?

Yes

Where is a Non designated port located?

Always an upstream facing interface

Does a non designated port mostly send or receive BPDUs?

Receives



NOTE:


It sends very few

What is a disabled Port?
A port that is shut down.

What are the 5 STP port states?

  1. Disable
  2. Blocking
  3. Listening
  4. Learning
  5. Forwarding

What does a disabled port do?

  • Does not participate in STP
  • Does not forward nor receive frames, including BPDUs

Where is a blocking port located?

Always an upstream facing interface

What does a blocking port do with BPDUs?

Absoluteely needs to receive BPDUs to remain blocking and to determin root switch.

Can blocking port be a Root Port or a Designated Port?

No

What happens to a blocking port in a non designated role?

Does not forward or receive traffic.

What is the convergence time for a blocking port?

20 seconds in this state before trying to converge (max-age)

What is a Listening Port?

It receives and sends BPDUs

What is the forward delay on a listening port?

15 seconds

What type of port is a forwarding port?

Root Port or Designated Port

What port state is part of the active topology?

Forwarding

What does a forwarding port do to frames?

Forwards and receves frames.

What does a forwarding port do to BPDUs?

Sends and Receives

What metric does spanning tree use to determine the Root Port and Designated Port?

Cost

How is cost calculated in STP?
By adding all of the links between the root bridge and the local switch.

What is the cost for 10 MBits/s?

100

What is the cost for 100 MBits/s?

19

What is the cost for 1 Gbit/s?

4

What is the cost for 10 Gbits/s?

2

What are the 3 BPDU types?

  1. Configuration
  2. Topology Change Notification (TCN)
  3. Topology Change Acknowledgement (TCA)

What is a Configuration BPDU?

Used for STP Computation

How does a configuration BPDU work?

Sourced by the root bridge to advertise Bridge and link attributes


What is a TCN?

Topology Change Notification



Used to advertise network topology notification

What does a Topology Change Notification (TCN) quickly age?

quickly age out the CAM table of all switches in case of a port state topology change.

What does TCN Configure?

Topology Change Notification



Configures BPDUs with Topology Change Flag Set

What is the default hello timer?

2

What is the default Max age timer?

20 s (10 Hellos)

What is the default forward delay?

15s

How are STP timers advertised and set?

By the current root bridge for the whole layer 2 (VTP)domain



NOTE:


This may change as the root bridge fails over to another switch

How does STP Reconverge

-The BPDU (Bridge Protocol Data Unit) TCN is sent by a switch through its RP a soon as it detects a port state/topology change.
-Upstream switch sends a TCA back.
-Upstream switch sends a TCN out its RP.
-Next upstream switch sends a TCA back.
-Next upstream switch sends a TCN out its RP.
-Process goes on until the RB receives the TCN.
-The RB replies with a TCN out all its ports for a certain period of time (max_age + forward_delay), relayed by all downstream switches.
The result is that the CAM aging time is reduced to "Forward delay" in all switches: from 5 mn to 15 seconds during 35 seconds (by default).
-This whole process does not happen if the state of a port changes while it is configured with the portfast feature.

What are the 3 major implications by default of PSVT+

Per VLAN Spanning Tree Plus



· All VLANS will elect the same root bridge which will be the one with the lowest MAC address, generally the oldest switch!
· A port state / topology change will impact all VLANs in exactly the same way
· All redundant links will also be blocked in exactly the same manner

In STP load balancing what happens to the VLANs if the topology or port state change?

They will be impacted the same way.

How are redundant links blocked?

In the same Manner.

How can you force VLANs to prefer one link and others prefer other links?

Change the local port cost or upstream port priority for the active VLANs

What happens if you change the local port cost or upstream priority?

Traffic would begin to use that link and place the other uplink into the blocking state

What is Portfast?

This causes layer 2 switch interfaces to enter forwarding state immediately, bypassing the listening and learning states,

Where should Portfast be used?

Ports directly connected to end hosts like servers or workstations.

What happens if the switch does not generate any TCN?
Topology Change Notification

When something changes on a portfast access port, leaving the CAM tables unchanged in the entire layer 2 domain.

What happens if portfast is not enabled?

DHCP timeouts can occure while STP converges, causing more problems

What is UplinkFast applied?

At the access Layer.

What does UplinkFast do?

Provides a mechanism to very quickly (saving 30 sec) have a secondary uplink to the distribution layer if the current STP uplink fails.



NOTE:


This is similar to RSTP alternate port role and only address a direct link failure

With UplinkFast after the alternate port takes over what happens?

The switch floods its CAM table out the alternate port.

What is CAM?

Content Addressable Memory



This removes the need for the dummy multicast generation process of UplinkFast.

What does UplinkFast do to the cost of the interfaces?

It changes them to a very high value.

Why does UplinkFast change the cost values of the interfaces?
In order to persuade downstream switches to use another switch for their path to the root since it appears to have at least one unstable link.

What is BackboneFast?

It is often applied at the distribution and core layers and was developed to fix STP convergence slowness on indirect backbone links.

What is designed to detect failures?

UplinkFast

What is designed to detect indirect failures?

BackboneFast

What is an indirect failure?

When detection is not immediate it depends on the max age timer.

What does BackboneFast eliminate?

The max age timeout period associated with an indirect failure, lowering convergence from the default 50 seconds to 30 seconds.

What are BPDUs?

Bridge Protocol Data Unit



BPDUs are data messages that are exchanged across the switches within an extended LAN that uses a spanning tree protocol topology.

What doe BPDU packets contain?

Bridge Protocol Data Unit



BPDU packets contain information on ports, addresses, priorities and costs and ensure that the data ends up where it was intended to go