MikroTik Switching - Spanning Tree Protocol
4.3 (58 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
480 students enrolled

MikroTik Switching - Spanning Tree Protocol

Have a loop-free switching network and understand how the Spanning-Tree Protocol works (STP, RSTP & MSTP)
4.3 (58 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
480 students enrolled
Created by Maher Haddad
Last updated 6/2019
English
English [Auto]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Understand the broadcast storm problem in a redundant switching network in case STP is not used
  • Understand the multiple frames copies problem in a redundant switching network in case STP is not used
  • Understand the MAC address table instability in a redundant switching network in case STP is not used
  • Understand how the root bridge is being elected
  • Understand what is BPDU and its role in electing the root bridge
  • Understand what is the bridge ID
  • Understand how to change the priority in the bridge ID to change the selection of the root bridge
  • Understand the port roles: Designated, Root Port, Alternate, Disabled
  • Understand the port states: Listening, Learning, Forwarding, Blocking
  • Understand what the root path is and how to use it
  • Understand what is the port Auto-Isolate
  • Understand what is the port Restricted-Role
  • Understand what is the port Restricted-TCN
  • Understand what is BPDU-guard
  • Understand what is Topology Change Notification (TCN)
  • Understand how Rapid Spanning-Tree works
  • Understand what is the edge port
  • Uderstand the Negotiation mechanism in RSTP
  • Understand the edge and Point-to-Point ports
  • Understand the Region and Instances in MST
Requirements
  • Have a basic networking skills
  • Understand the TCP/IP protocol
  • Have some hands-on on MikroTik products and Winbox tool
Description

This is the first course in the market discussing about switching in MikroTik. Since RouterOS version 6.41 and above, MikroTik has very reliable Switching features that you can profit from: One of the feature is the Spanning-Tree Protocol.


Spanning-Tree Protocol (STP) help your redundant switching networks to avoid having loops and to wok efficiently. Without STP your network would end up not working. In this course, I am going to discuss in details how STP works and what are its features, also I am going to discuss about the RSTP and the MSTP (MSTP is only available on RouterOS version 6.41+).

To be able to do the LABS in this course, you need 3 MikroTik routerboards having a switch chip, or you can use MikroTik CRS models. You also need 2 end devices such as PC's.


I look forward to see you in my course.

Who this course is for:
  • Engineers who would like to upgrade their knowledge in MikroTik Switching
  • Engineers who want to apply Spanning-Tree Protocol in their network
  • Students who want to learn how MikroTik Switching Spanning-Tree protocol works
Course content
Expand all 18 lectures 02:58:34
+ Switching Redundancy problems
2 lectures 11:43

This lecture is an introduction of what I am going to explain in the upcoming video regarding problems with Switching Redundancy.

Preview 00:41

In this lecture, I am going to explain what are the problems that you will have in redundant switching if you don't apply the STP protocols. The main problems are:

  • Broadcast Storm

  • Multiple frame copies received

  • MAC address instability

Preview 11:02
+ Understand how Spanning-Tree works
3 lectures 24:45
Introduction to Spanning-Tree Protocol
00:57

In this lecture, I will explain how Spanning-Tree works such as:

  • How the switches elect the root bridge

  • What is the bridge ID

  • What is the BPDU

  • What are the different port names in Spanning Tree: Designated, Root Port, Alternate, etc...

  • What is the root path cost

Explanation of how Spanning-Tree works
15:16

In this lecture, I will explain to you what are the different states that an interface on the MikroTik switch participating in the STP algorithm will have.

You will have a deep understanding on the follow states:

  • Blocking

  • Listening

  • Learning

  • Forwarding

  • Disabled

Explanation of Interfaces States in STP Protocol
08:32
+ Applying the Spanning-Tree Protocol on real LAB scenarios
6 lectures 01:22:33
Introduction to the STP LAB
01:34

In this lecture, I am going to show you how you can make your Routerboards as switches by using Bridge interfaces and Hardware Offload, and how to add the physical interfaces to the Bridge.

Also I will show you how you can enable STP on your switches.

Configure your RouterBoards to be Switches and enable STP protocol
14:12

In the 2nd part of the LAB, I am going to show you on the graph which of the switches should be the root bridge and what are the port roles for each of the switch, then we compare that to the real switches and check if they are identical.

Then I am going to show you how long does it take when you remove a cable for the STP to re-converge the network again.

Checking if STP is working properly on the switches
12:50
Manipulate the STP configuration
24:59

When you have 2 switches connected via a redundant way to each other via 2 ports, one of the switch will be the root bridge and the other the non-root bridge. The non-root bridge will have one of its port to be the Root Port and the 2nd port the Alternate. In this LAB, I will show you how the non-root bridge select which of its 2 ports become the Alternate and based on what he takes the decision, then I will show you how you can change this selection by using the port priority feature.

Configuring Port Priority on STP
11:29

In this lecture, I am going to explain about the TCN and how it affects the spanning-tree protocol. With TCN, our layer 2 network works in an efficient way.

Topology Change Notification (TCN) in Spanning-Tree
17:29
+ Rapid Spanning-Tree Protocol
4 lectures 32:32
Introduction to Rapid Spanning-Tree Protocol
01:27

In this lecture, I am going to show you what is the difference between the STP and the RSTP such as port states name, BPDU sent mechanism, speed of STP, Backup port on RSTP and so on.

Difference between STP and RSTP
09:11

We have seen that in STP, for the port to go on Forwarding it has to pass via listening, learning until it goes into forwarding state. This takes up to 50 seconds in case the port is in a blocking state.

In RSTP there is no timers as in STP but instead there is a negotiation (synchronization) mechanism which makes the  RSTP make the switch port goes much faster into forwarding state.

In this lecture, I will explain to you how this mechanism works in the RSTP,

Understand the Negotiation Mechanism in RSTP
06:30

In this lecture, I will configure RSTP on the 3 switches and will check how fast it can re-converge the network when one link goes down. Also I will explain what are the functions of Edge ports and Point-to-Point ports and how we can benefit from them.

Configuring RSTP on MikroTik Switches
15:24
+ Multiple Spanning-Tree Protocol
3 lectures 27:01
Introduction - Multiple Spanning-Tree Protocol
01:28

In this lecture, I am going to explain to you what is the function of the Multiple Spanning-Tree Protocol and how to use it. You will understand what is needed to be made to configure MSTP on the MikroTik Switches.

What is Multiple Spanning-Tree Protocol?
09:50

In this lecture, I am going to do a LAB showing you to configure MSTP on MikroTik Switches.

This will include:

  • Setting the protocol mode to MSTP

  • Creating Region name and Region revision number of the 3 switches

  • Map the VLAN's to the right MSTI identifier

  • Change the root bridge election for the 2 different identifiers

By the end of this LAB, I am going to justify if the whole work has been done correctly.

Configuring Multiple Spanning-Tree on MikroTik Switches
15:43