Cisco ccnp switch spanning tree protocol stp cisco ccnp switch rapid spanning tree protocolrstp root bridge in rstp is elected just like 802. Before proceeding, save as stp configuration lab 1working. Junos service provider switching jspx juniper networks. Root selection varies depending on the bid of each switch in your lab resulting in varying outputs. Jan 18, 2017 spanning tree protocol stp is a layer 2 protocol that runs on bridges and switches. Protocol rstp, the multiple spanning tree protocol mstp, and the vlan spanning tree protocol vstp. 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. Rstp switch can detect a neighbor failure in three hello intervals default 6 seconds, versus the max age timer interval default 20. Understanding and configuring spanning tree protocol stp. A spanning tree is a subset of graph g, which has all the vertices covered with minimum possible number of edges.
The spanning tree protocol stp is a network protocol that builds a loopfree logical topology for ethernet networks. Understanding and configuring spanning tree protocol stp on. 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. Configure and monitor the stp, the rstp, the mstp, and the vstp. In this exercise, we will explain how does the spanning tree protocol work.
The ieee spanning tree protocol was first implemented in. Spanning tree protocol stp spanning tree protocol stp was developed to prevent the broadcast storms caused by switching loops. You can build the bpdu packet using the tool and test. Switches running stp will build a map or topology of the entire switching network. This protocol is used between switches, that will sometimes be called bridges in this lab. By default, stp is enabled, and you can check the stp table the example below is for distsw01 2. Lab 6 spanning tree protocol res 841 october 20 introduction in this lab, you will discover the spanning tree protocol, which is speci. Configuring multiple spanning tree protocol mstp free. Just like every coin has two sides, a redundant link, along with several advantages, has some disadvantages. How to test spanning tree protocol stp embedded system. Aruba 3810m switch series hewlett packard enterprise. But there is a protocol called spanning tree protocol stp that is used to stop switching loops in a layer2 switched network. Learn what it takes to configure rapid spanning tree protocol rstp on the juniper ex series switches.
This lab also looks at changing spanning tree mode to rapid spanning tree. If we just plug several switches together without configuring spanning tree protocol. Second, when redundant loops are planned on a network, stp deals with remediation of network. 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. This lab will explain the functions of the ieee standard multiple spanning tree protocol also referred to as mst. Hence, a spanning tree does not have cycles and it cannot be disconnected by this definition, we can draw a conclusion that every. 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. To create a loopfree tree, bridges in the network exchange bpdus, and execute the spanning tree protocol as follows.
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. A redundant link is an additional link between two switches. But there is a protocol called spanningtree protocol stp that is used to stop switching loops in a layer2 switched network. Stp spanning tree protocol automatically removes layer 2 switching loops by shutting down the redundant links. By default, all vlans have a priority of 32,768 plus the vlan number, which are used to determine the spanning tree root bridge. In the topology used in this lab, dls2 is the root bridge. In exercise 1 we will work on spanningtree fundamentals and manipulation and in exercise 2 we will work on spanningtree etherchannels.
A redundant link is usually created for backup purposes. Like it name, rstp rapid spanning tree protocol is the fastest converged version of stp. This lab will discuss and demonstrate the configuration and. Stp spanning tree protocol step by step configuration. Configuring pervlan spanning tree protocol free ccna workbook. 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. How stp works video by sikandar shaik dual ccie rssp. Pervlan spanning tree protocol is the default stp mode on cisco catalyst series switches.
Root port the one switch port on each switch that has the best root path cost to the root. 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. Spanning tree protocol stp is a layer 2 protocol that runs on switches. The purpose of this lab is to introduce the spanning tree protocol and how to configure priorities of core, distribution and access switches. In this lab, you will discover the spanning tree protocol, which is specified in the ieee 802.
This will be discussed in lab 415 configuring multiple spanning tree protocol. Pdf lab 10 spanning tree protocol diego alejandro parra. How stp works video by sikandar shaik dual ccie rs. All of the devices used in this document started with a cleared default configuration. Configuring pervlan spanning tree protocol free ccna. In this example, we will configure rstp rapid spanning tree protocol with packet tracer. 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. The information in this document was created from the devices in a specific lab environment. We will explore some of the capabilities of this protocol, advantages, and limitations.
This lab will discuss and demonstrate the configuration and verification of rapid spanning tree protocol on the ex3200 series switches. The spanning tree protocol stp is designed to prevent layer 2 loops. This is very necessary in large networks that are designed to have redundancy like backup switches and multiple paths across the network. Spanning tree protocol this document descibes spanning tree protocol stp in a wireless environment. Stp configuration lab1 open the packet tracer scenario. Ict1010 computer networks 20182019 trimester 2 laboratory 4b. In the context of cist, mst regions are treated as a single rstp bridge.
Basic spanning tree protocol topology diagram addressing table device hostname interface ip address subnet mask default gateway. In exercise 1 we will work on spanning tree fundamentals and manipulation and in exercise 2 we will work on spanning tree etherchannels. 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. 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. First, it prevents problems caused by loops on a network. Before proceeding, save as stp configuration lab1working. It was first introduced as cst common spanning protocol then ieee introduced its advanced version as stp with specification ieee 802.
Spanning tree protocol port states best cisco ccna ccnp. The main purpose of stp is to ensure that you do not create loops. 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. In this exercise, we will explain how does the spanningtree protocol work. This lab will take youre understanding of spanning tree just a bit further. I discuss how stp mitigates layer 2 loops and layer 2 broadcast storms. Understanding spanning tree protocol this section describes how spanning tree features work. 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. A beginners tutorial on the function and purpose of stp spanning tree protocol in a local area network. The information in this document was created from the devices in a specific lab. One of the stp version is rstp rapid spanning tree protocol. Configuring rapid spanning tree protocol rstp junos.
Chapter 6 lab 62, securing spanning tree protocol topology. Protect the primary and secondary root bridge with root guard. But there is a protocol called spanningtree protocol stp that is used to stop switching loops in a layer2. Spanning tree protocol stp in packet tracer part 1. Protect switch ports from unidirectional links with udld. Objectives secure the layer 2 spanningtree topology with bpdu guard. Stp configuration lab 1 open the packet tracer scenario.
Stp spanning tree protocol explained with examples. After all switches agree on the root, the following port roles are determined. Cisco saw the need for spanning tree on all vlans and create the proprietary pvst and. Spanning tree enabled protocol ieee root id priority 32773 address 00. 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. 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. You may generate the traffic flow between the workstations and then check the mac address table on each switch. On each switch, display the spanning tree table with the show spanning tree command. Example of a bridged network with a loop, and the minimum spanning tree with the loop removed. On each switch, display the spanning tree table with the show spanningtree command. Mst is commonly used in extremely large networks where running pvst would tax switch resources. 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. Spanning tree protocol stp is a layer 2 protocol that runs on bridges and switches. Understanding and configuring spanning tree protocol stp on catalyst switches.
Chapter 3 lab 32, modifying default spanning tree behavior. Bpdus are forwarded out all ports every two seconds, to a dedicated. 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. Spanning treeenabled switches go through a root election process based on bridge p rotocol data unit. Complex protocol that is generally poorly understood. Root selection varies depending on the bid of each switch in your lab. Stp will identify if there are any loops, and then disable or block.
Understanding spanning tree protocol this section describes how spanningtree features work. Spanning tree protocol in layer 2layer 3 environments. Configure and troubleshoot cisco spanning tree stp. Feb 22, 2012 a beginners tutorial on the function and purpose of stp spanning tree protocol in a local area network. Root selection varies depending on the default bid of each switch. The basic function of stp is to prevent bridge loops and the broadcast radiation that results from them. 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. The spanning tree protocol run my experiment on geni. Stp switches exchange bridge protocol data units bpdus to build the topology database. 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. Configuring rapid pervlan spanning tree protocol free ccna.