Spanning tree protocol lab pdf

Before proceeding, save as stp configuration lab 1working. On each switch, display the spanning tree table with the show spanningtree command. But there is a protocol called spanning tree protocol stp that is used to stop switching loops in a layer2 switched network. The basic function of stp is to prevent bridge loops and the broadcast radiation that results from them. Spanning tree protocol provides a mechanism for network devices to learn the network topology, elect a root bridge, and selectively block ports to form a loopfree spanning tree. In the topology used in this lab, dls2 is the root bridge. How stp works video by sikandar shaik dual ccie rssp. In this post, instead of detaily talk about stp spanning tree protocol, we will focus on a basic switching loop topology and how stp mechanism helps to avoid this switching loop. A beginners tutorial on the function and purpose of stp spanning tree protocol in a local area network. Understanding and configuring spanning tree protocol stp. Configure and monitor the stp, the rstp, the mstp, and the vstp. In exercise 1 we will work on spanningtree fundamentals and manipulation and in exercise 2 we will work on spanningtree etherchannels. Spanning tree protocol in layer 2layer 3 environments.

Ict1010 computer networks 20182019 trimester 2 laboratory 4b. A redundant link is an additional link between two switches. Root selection varies depending on the bid of each switch in your lab. Pdf lab 10 spanning tree protocol diego alejandro parra. Cisco ccnp switch spanning tree protocol stp cisco ccnp switch rapid spanning tree protocolrstp root bridge in rstp is elected just like 802. This lab will discuss and demonstrate the configuration and. Introduction 4 points in this lab we will be using cisco hardware to develop hands on skills in spanningtree and etherchannel technologies on cisco switches. But there is a protocol called spanningtree protocol stp that is used to stop switching loops in a layer2. Basic spanning tree protocol topology diagram addressing table device hostname interface ip address subnet mask default gateway.

Spanning tree protocol stp was developed before switches were created in order to deal with an issue that occurred with networks that were implementing network bridges. Like it name, rstp rapid spanning tree protocol is the fastest converged version of stp. Complex protocol that is generally poorly understood. This lab will take youre understanding of spanning tree just a bit further.

The ieee spanning tree protocol was first implemented in. Protect the primary and secondary root bridge with root guard. All of the devices used in this document started with a cleared default configuration. Configure and troubleshoot cisco spanning tree stp. Spanning tree enabled protocol ieee root id priority 32773 address 00. Pervlan spanning tree protocol is the default stp mode on cisco catalyst series switches. First, it prevents problems caused by loops on a network. Stp or spanning tree protocol is a protocol used on switches that prevents layer 2 switching loops and layer 2 broadcast storms. Just like every coin has two sides, a redundant link, along with several advantages, has some disadvantages. Provider bridging day 2 5 spanningtree protocols overview of stp overview of rstp overview of mstp overview of vstp configuring and monitoring spanningtree protocols understanding bpdu, loop, and root protection lab 4. One of the stp version is rstp rapid spanning tree protocol. How stp works video by sikandar shaik dual ccie rs. Configuring pervlan spanning tree protocol free ccna. Chapter 3 lab 32, modifying default spanning tree behavior.

A spanning tree is a subset of graph g, which has all the vertices covered with minimum possible number of edges. Spanning tree protocol port states best cisco ccna ccnp. In this example, we will configure rstp rapid spanning tree protocol with packet tracer. Learn what it takes to configure rapid spanning tree protocol rstp on the juniper ex series switches. Spanning tree protocol stp in packet tracer part 1. But there is a protocol called spanningtree protocol stp that is used to stop switching loops in a layer2 switched network. You may generate the traffic flow between the workstations and then check the mac address table on each switch. Feb 22, 2012 a beginners tutorial on the function and purpose of stp spanning tree protocol in a local area network. This will be discussed in lab 415 configuring multiple spanning tree protocol. The information in this document was created from the devices in a specific lab.

The spanning tree protocol stp is a network protocol that builds a loopfree logical topology for ethernet networks. Stp spanning tree protocol explained with examples. Spanning tree protocol this document descibes spanning tree protocol stp in a wireless environment. Spanning tree protocol stp is a layer 2 protocol that runs on bridges and switches. In this exercise, we will explain how does the spanningtree protocol work. Hence, a spanning tree does not have cycles and it cannot be disconnected by this definition, we can draw a conclusion that every. Stp overview stp is a layer 2 link management protocol that prov ides path redundancy while preventing loops in the network. Spanning treeenabled switches go through a root election process based on bridge p rotocol data unit.

A redundant link is usually created for backup purposes. Stp configuration lab 1 open the packet tracer scenario. Spanning tree protocol stp is a layer 2 protocol that runs on switches. On each switch, display the spanning tree table with the show spanning tree command. Bpdus are forwarded out all ports every two seconds, to a dedicated. The objective of this lab exercise is for you to learn and understand how to manually configure a switch to become the root bridge for a particular vlan. By default, all vlans have a priority of 32,768 plus the vlan number, which are used to determine the spanning tree root bridge. Understanding spanning tree protocol this section describes how spanningtree features work. Cisco saw the need for spanning tree on all vlans and create the proprietary pvst and. The information in this document was created from the devices in a specific lab environment. Configure and troubleshoot cisco spanning tree stp learn how to configure stp, portfast and bpduguard on cisco switches free ccna course handson lab networking fundamentals switching troubleshooting written by alessandro maggio. This is very necessary in large networks that are designed to have redundancy like backup switches and multiple paths across the network.

This lab also looks at changing spanning tree mode to rapid spanning tree. After all switches agree on the root, the following port roles are determined. Before proceeding, save as stp configuration lab1working. Spanning treeenabled switches go through a root election process based on bridge p rotocol. Chapter 6 lab 62, securing spanning tree protocol topology.

Root port the one switch port on each switch that has the best root path cost to the root. Stp will identify if there are any loops, and then disable or block. Understanding and configuring spanning tree protocol stp on. Spanning tree also allows a network design to include backup links providing fault tolerance if an active link fails as the name suggests, stp creates a. It was first introduced as cst common spanning protocol then ieee introduced its advanced version as stp with specification ieee 802. Second, when redundant loops are planned on a network, stp deals with remediation of network. Configuring rapid pervlan spanning tree protocol free ccna. In the context of cist, mst regions are treated as a single rstp bridge.

We will explore some of the capabilities of this protocol, advantages, and limitations. In this lab, you will discover the spanning tree protocol, which is specified in the ieee 802. Spanning tree protocol overview the plugandplay spanning tree protocol stp, a layer 2 protocol that ensures a loopfree topology in bridged lans, has been around for decades. Example of a bridged network with a loop, and the minimum spanning tree with the loop removed. Understanding spanning tree protocol this section describes how spanning tree features work. Stp spanning tree protocol automatically removes layer 2 switching loops by shutting down the redundant links. Stp switches exchange bridge protocol data units bpdus to build the topology database. Introduction 4 points in this lab we will be using cisco hardware to develop hands on skills in spanning tree and etherchannel technologies on cisco switches.

Configuring rapid spanning tree protocol rstp junos. Understanding and configuring spanning tree protocol stp on catalyst switches. To create a loopfree tree, bridges in the network exchange bpdus, and execute the spanning tree protocol as follows. The purpose of this lab is to introduce the spanning tree protocol and how to configure priorities of core, distribution and access switches. Stp configuration lab1 open the packet tracer scenario. Configuring multiple spanning tree protocol mstp free. In this exercise, we will explain how does the spanning tree protocol work. Lab 6 spanning tree protocol res 841 october 20 introduction in this lab, you will discover the spanning tree protocol, which is speci. Dec 22, 2012 spanning tree protocol stp stp often accounts for more than 50 % of the configuration, troubleshooting, and maintenance headaches in real world campus networks especially if they are poorly designed. Root selection varies depending on the bid of each switch in your lab resulting in varying outputs. Objectives secure the layer 2 spanningtree topology with bpdu guard. I discuss how stp mitigates layer 2 loops and layer 2 broadcast storms.

How to test spanning tree protocol stp embedded system. This lab will explain the functions of the ieee standard multiple spanning tree protocol also referred to as mst. Spanning tree protocol stp spanning tree protocol stp was developed to prevent the broadcast storms caused by switching loops. Stp spanning tree protocol step by step configuration. Configuring pervlan spanning tree protocol free ccna workbook. By default, stp is enabled, and you can check the stp table the example below is for distsw01 2. Jan 18, 2017 spanning tree protocol stp is a layer 2 protocol that runs on bridges and switches. We have some costly hardware test tools, but if you company is implementing spanning tree protocol, the chances are you will have any of these tools in ypur lab. Spanning tree protocol will automatically elect the root bridge, however the bridge, the switch thats the elected is the root bridge, it might not be the optimal switch, and order to influence the root bridge, we need too able to look at the topology like this, and on paper to determine. Rstp switch can detect a neighbor failure in three hello intervals default 6 seconds, versus the max age timer interval default 20. Mst is commonly used in extremely large networks where running pvst would tax switch resources.

This lab will discuss and demonstrate the configuration and verification of rapid spanning tree protocol on the ex3200 series switches. This protocol is used between switches, that will sometimes be called bridges in this lab. If we just plug several switches together without configuring spanning tree protocol. Junos service provider switching jspx juniper networks. Mstp multiple spanning tree protocol cist common internal spanning tree topology of all switches in all regions cst common spanning tree topology of all \pseudo bridges ist msti0 internal spanning tree spanning tree within a region can communicate with other regions root bridge election first based on external path cost. You can build the bpdu packet using the tool and test. In exercise 1 we will work on spanning tree fundamentals and manipulation and in exercise 2 we will work on spanning tree etherchannels. The main purpose of stp is to ensure that you do not create loops. The spanning tree protocol run my experiment on geni.

Protocol rstp, the multiple spanning tree protocol mstp, and the vlan spanning tree protocol vstp. Protect switch ports from unidirectional links with udld. Lab 33 pervlan spanning tree behavior objective the purpose of this lab is to observe what happens when there is a separate spanning tree instance per vlan. Switches running stp will build a map or topology of the entire switching network. Root selection varies depending on the default bid of each switch. Introduction to stp, spanning tree protocol, broadcast storm, topological loop, switch macaddress table corruption,stp pdf file download, pdf file download, ethernet bridge, ethernet switch,layer 2 topological loop,ieee 802. The spanning tree protocol stp is designed to prevent layer 2 loops. Spanning tree protocol stp stp often accounts for more than 50 % of the configuration, troubleshooting, and maintenance headaches in real world campus networks especially if they are poorly designed.