STP (Spanning Tree Protocol) - Step by Step Configuration Tutorial

Size: px
Start display at page:

Download "STP (Spanning Tree Protocol) - Step by Step Configuration Tutorial"

Transcription

1 STP (Spanning Tree Protocol) - Step by Step Configuration Tutorial

2 Introduction: Spanning Tree Protocol (STP) is a Layer 2 protocol that runs on switches. It was first introduced as CST (Common Spanning Protocol) then IEEE introduced its advanced version as STP with specification IEEE 802.1D. The main purpose of STP is to ensure that switches do not create loops when they have redundant paths in a network. Concepts: STP runs by default on switches that are 802.1D-compliant. STP implement on switches in order to prevent loops in the network. We use redundant links as backups in the case of a failover in a network. A failure of your primary links activates the backup links so that users can continue to use the network, but without STP on the switches, such a failure can result in a loop. Diagram: In this topology, a redundant link is in between Switch 1 and Switch 2. However, this setup can create the possibility of a loop. For example, when a broadcast or multicast packet travels from PC-1 to PC-2 it can simply continue to circulate between both switches. 1

3 2 But, when STP runs on both switches, the network logically looks like this: Image not found or type unknown Description of Technology: In order to provide this path redundancy, as well as to avoid loops, STP forces redundant data paths into a standby (blocked) state and leaves other paths in a forwarding state. If a link in the forwarding state becomes unavailable, STP reconfigures the network and reroutes data paths through the activation of the appropriate standby path. In STP first all the switches in the network elect a root bridge that becomes the centre point in the network. All other decisions in the network, such as which port to block and which port to put in forwarding mode are made by this root bridge. i. Root Bridge: All the switches exchange their information for use in the root bridge selection. Bridge protocol data units (BPDUs) carry this information. Each switch compares these parameters in the BPDU that the switch sends to a

4 neighbour with the parameters in the BPDU that the switch receives from the neighbour. How is Root Bridge elected? Root Bridge is elected on the basis of Bridge ID Bridge ID It is made up of two parts: Priority (2 bytes) - by default MAC Address (6 bytes) Lower is preferred. In the root bridge selection process, less is better. If Switch A advertises a bridge ID that is a lower number than the bridge ID that Switch B advertises, then the information from Switch A is better. Switch B stops the advertisement of its bridge ID and accepts the bridge ID of Switch A. Note: Nowadays we find priority in switches is It is a combination of bridge priority and VLAN id. Like for VLAN 1, the priority will be 32769= (for VLAN id 1). ii. Non-Root Bridge: It is not a root bridge and a non-root bridge finds one best path to reach root bridge and this port is known as Root-Port and block all its alternative paths towards root bridge. Every non-root bridge has only one root port. iii. Root-port: Root Port is that port which is always available on non-root switches. There are few criteria to elect root port. 1. Path Cost: STP calculates the path cost based on the media speed (bandwidth) of the links between switches. Spanning tree selects the root port based on the path cost. The port with the lowest path cost to the root bridge becomes the root port. The root port is always in the forwarding state. STP path cost (by IEEE): Ethernet- 100 Fast Ethernet Gigabit Ethernet Gigabit Ethernet Port Priority: It determines the best path when multiple links are used between two switches. The path cost of a link is determined by the bandwidth of a link, and when multiple links of the same bandwidth are connected then this port priority is the deciding factor used by every bridge to find the most efficient path to the root bridge. Port Priority 128 (by default) 3. Port Number: Every switch port has its own unique port number. When the path cost and port priority are same on both the switches then this port number will be the tie breaker. The port having lower number will be preferred. We always check the port number on root bridge and that link on a non-root bridge which is directly connected to the lower port number of root bridge will be our root port. iv. Designated Ports: Designated ports are those ports from where Root Bridge forward BPDU s. Only designated ports have the capability to send BPDU messages to each switch in its segment. Every 2 seconds root bridge sends BPDU s to its neighbour. Every link segment has a designated port. v. BPDU(Bridge Protocol Data Unit): BPDUs are frames that contain information about the Spanning tree protocol (STP). BPDUsare exchanged across the switches within a LAN that uses a spanning tree protocol topology. BPDU

5 packets contain information of route bridge id, route ports, priorities and costs and ensure that the data ends up where it was intended to go. vi. Blocked port: Blocked ports are those ports which always present on the non-root bridge. Any active port that is not a root port or a designated port is a blocked port. A blocked port won t forward frames in order to prevent loops. A blocked port will always listen to BPDU frames from neighbor switches, but it will drop any other frames received and will never transmit a frame. Step-by-Step Instructions: Step-1: In above scenario, Switch 1 is the best choice for the root switch of the network because Switch 1 has the lower bridge-id. switch1#sh spanning-tree VLAN 1 VLAN0001 Spanning tree enabled protocol IEEE Root ID Priority Address E14.939D This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address E14.939D Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Desg FWD P2p Fa0/2 Desg FWD P2p Fa0/3 Desg FWD P2p Step-2: Here, on switch 2 when we give command show spanning-tree VLAN 1, then: switch2#sh spanning-tree VLAN 1 VLAN0001 Spanning tree enabled protocol IEEE Root ID Priority Address E14.939D

6 Cost 19 Port 2(FastEthernet0/2) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address 00D A9 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Root FWD P2p Fa0/2 Altn BLK P2p Fa0/3 Desg FWD P2p Here on switch2, we can easily see that switch1 is the root bridge because it has lower priority and all the ports of switch1 are designated ports while in the case of switch2 port no 1 and port no 2 which are directly connected to switch 1 has one in a forwarding state while another one in the blocking state. Step-3: If we want to change priority of switch-2, we can by giving this command: switch2(config)#spanning-tree VLAN 1 priority 4096 With the help of this command, we can decrease the priority of sw-2 and make it our root bridge. switch2#sh spanning-tree VLAN 1 VLAN0001 Spanning tree enabled protocol IEEE Root ID Priority 4097 Address 00D A9 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 4097 (priority 4096 sys-id-ext 1) Address 00D A9 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20 Interface Role Sts Cost Prio.Nbr Type

7 Fa0/1 Desg FWD P2p Fa0/2 Desg LSN P2p Fa0/3 Desg FWD P2p Step-4: If you want to change your blocked port into root port, you can change it. How? 1. First go to your root bridge. 2. Then decrease the port priority of that designated port which is directly connected to the blocked port. Like in this scenario: switch2(config)#interface fastethernet 0/2 switch2(config-if)#spanning-tree VLAN 1 port-priority Then go to your non-root bridge and give command: show spanning-tree VLAN 1 switch1#sh spanning-tree VLAN 1 Interface Role Sts Cost Prio.Nbr Type Fa0/1 Altn BLK P2p Fa0/2 Root FWD P2p Fa0/3 Desg FWD P2p Spanning-tree Port States: The ports on a switch which running IEEE 802.1d STP can change from one state to another through five different states: Disabled: In this state, the port is in administratively disabled state and it will not participate in frame forwarding or STP. In the disabled state, the port is virtually non-operational. Blocking: A blocked port won t forward frames in order to prevent loops. A blocked port will always listen to BPDU frames from neighbour switches, but it will drop any other frames received and will never transmit a frame. The purpose of the blocking state is to prevent the use of looped paths. Listening: In this state, ports will listen to BPDUs and will send BPDUs but will not learn MAC address. A port in listening state prepares itself to forward data frames without populating the MAC address table. It will take 15 seconds from listening to learning state. Learning: In learning state, ports listens to BPDUs and learns MAC address. A port in learning state populates the MAC address table but still doesn t forward data frames. From learning to forwarding mode, it will take 15 seconds by default Forwarding: This port sends and receives all data. If the port is a designated or root port at the end of the learning state, it will enter into the forwarding state. What are Portfast, Uplinkfast and Backbone fast? Portfast: Portfast enables access ports on a switch to enter directly into spanning tree forwarding state, bypassing the

8 listening and learning states. If we enable PortFast on a port that is connected to another Layer 2 device, such as the switch, there will be chances of network loops. If we have end-devices like server or desktops connected to a switch that are totally sure will not create a switching loop if STP is disabled, we can use PortFast on these ports. With this tool, the port won t spend a time to come up into blocking to forwarding state while STP is converging. Uplinkfast: When we have multiple links connected between different switches then only one of which is forwarding at any given time. UplinkFast provides fast convergence after spanning tree topology change. The uplink group provides an alternate path in case current forwarding link fails. The uplink group is a set of ports consists of the root port (which is forwarding) and a set of blocked ports. Example: In this topology, Switch A is the root switch and it is directly connected to Switch B with link L1 and Switch C is directly connected with link L2. The port on Switch C is connected to Switch B with link L3 and it is in blocking state. Topology- Uplink-1 corrected Image not found or type unknown

9 Topology-: uplink-2 If Switch C detects a direct link failure on the currently active link L2 then the port which was in blocking state earlier will first go to listening, learning state and then forwarding state corrected2 Image not found or type unknown Topology-:uplink-3 But if we enable UplinkFast, the blocked port on Switch C, enters into forwarding state immediately, without transitioning the port through the listening and learning states. corrected3

10 Backbonefast: The BackboneFast decreases the convergence time of the Spanning Tree Protocol (STP) when an Indirect link (failure of a link to which the switch is not directly connected) failure, anywhere in the Spanning Tree Protocol (STP) Topology. corrected4 Image not found or type unknown In this topology, the link between switch-2 and switch-1 (root-bridge) has failed and the link between sw-2 and sw-1 is not a direct link for Switch-3. When the switch-2 detects the link failure it will invalidate the best BPDU s stored for its port connecting to sw1(root bridge).after invalidation of BPDU s from switch-1, Switch-2 will think itself as the root bridge of the STP because now it does not have the information of sw-1 since no other ports are receiving BPDU s from root bridge. Now sw-2 will start sending inferior BPDU s to sw-3. Inferior BPDU-: A BPDU is considered inferior if the information of root- bridge contained in it is worst when compared to

11 the information which is coming from original root bridge. Switches can identify inferior BPDUs from higher Bridge ID included in the inferior BPDU. A Switch with higher Bridge ID cannot become the Root Bridge. Now, the BPDU s sent from switch-2 is inferior for switch-3, because it is still receiving better BPDU s from the current rootbridge (switch-1). When sw-3 start receiving inferior BPDU s at its interface from Sw-2, switch-3 would ignore the inferior information until the BPDU s stored with the blocked port expires max age timer (20 seconds). When the max-age timer expires, and the Switch-3 is still receiving inferior BPDUs from sw2, sw3 will start responding to the inferior BPDUs. The port in sw3, which received the inferior BPDUs from sw2, will move to Listening State, and sw3 will start passing sw1 (Root Bridge) BPDUs to sw2(since the BPDUs from sw1 are superior compared to the BPDUs from SW2). Now, sw2 will start getting the original BPDUs from the Root Switch (Root Bridge) and move its port through Listening State and Learning State and finally Forwarding State. Both sw3 and sw2 will move their ports into forwarding states and re-establishing the lost connectivity. Therefore, the time required to re-establish an indirect link failure is (max age timer + listening +learning) which is too high for current network applications. If Backbone Fast is enabled in the network, Spanning Tree Protocol (STP) behaves as below: When sw-3 receives an inferior BPDU from sw-2, it will send a Root Link Query (RLQ) PDU on all non-designated ports (except the port where it received the inferior BPDU) to hear that the Root Switch (Root Bridge) is available or not. The port on which sw-3 received the inferior BPDU from sw-2 is also excluded because that path is already failed. When a Root Link Query (RLQ) response is received on a port and if the answer is negative then the port lost its connection to the root and you can age out its BPDU. If all other non-designated ports received a negative answer, then Switch-3 has lost connection to Root Switch (Root Bridge) and can start the Spanning Tree Protocol (STP)calculation from beginning. But, if sw3 receives any positive response, it will assume the current Root Switch (Root Bridge) is still reachable. In our case, sw3 will receive a positive response from sw-1(root-bridge) then it will start relaying sw-1 (Root Bridge), BPDUs to sw-2. Backbone Fast is pro-active (by using Root Link Query (RLQ) and when Backbone fast is implemented, it can minimize the max age timer interval. By enabling Backbone fast, the max age timer can be skipped and the delay is minimized from 50 seconds to 30 seconds.

12

Implementing Spanning Tree Protocol

Implementing Spanning Tree Protocol Transparent Bridging Implementing Spanning Tree Protocol A switch has the same characteristics as a transparent bridge., Cisco Systems, Inc. All rights reserved. 2-1, Cisco Systems, Inc. All rights reserved.

More information

Configuring Optional STP Features

Configuring Optional STP Features CHAPTER 29 This chapter describes how to configure optional STP features. For complete syntax and usage information for the commands used in this chapter, see the Cisco IOS Master List, at this URL: http://www.cisco.com/en/us/docs/ios/mcl/allreleasemcl/all_book.html

More information

Spanning Tree Protocol(STP)

Spanning Tree Protocol(STP) Introduction Spanning Tree Protocol (STP) is a Layer 2 protocol that runs on bridges and switches. The specification for STP is IEEE 802.1D. The main purpose of STP is to ensure that you do not create

More information

Configuring STP and RSTP

Configuring STP and RSTP 7 CHAPTER Configuring STP and RSTP This chapter describes the IEEE 802.1D Spanning Tree Protocol (STP) and the ML-Series implementation of the IEEE 802.1W Rapid Spanning Tree Protocol (RSTP). It also explains

More information

Spanning Tree Protocol

Spanning Tree Protocol For conceptual information about, see the Using the with the EtherSwitch Network Module section of the EtherSwitch Network feature module. Finding Feature Information, page 1 Information About, page 1

More information

Configuring Optional STP Features

Configuring Optional STP Features CHAPTER 16 This chapter describes how to configure optional STP features. Note For complete syntax and usage information for the commands used in this chapter, refer to the Catalyst 6500 Series Switch

More information

Chapter 3 Lab 3-1, Spanning Tree Protocol (STP) Default Behavior

Chapter 3 Lab 3-1, Spanning Tree Protocol (STP) Default Behavior Chapter 3 Lab 3-1, Spanning Tree Protocol (STP) Default Behavior Topology Objective Background Observe the default behavior of STP. Four switches have just been installed. The distribution layer switches

More information

STP Optional Characteristic Configuration

STP Optional Characteristic Configuration Table of Contents Table of Contents Chapter 1 Configuring STP Optional Characteristic... 1 1.1 STP Optional Characteristic Introduction... 1 1.1.1 Port Fast... 1 1.1.2 BPDU Guard... 2 1.1.3 BPDU Filter...

More information

Configuring Optional Spanning-Tree Features

Configuring Optional Spanning-Tree Features CHAPTER 20 This chapter describes how to configure optional spanning-tree features on the Catalyst 3750-E or 3560-E switch. You can configure all of these features when your switch is running the per-vlan

More information

Configuring Rapid PVST+

Configuring Rapid PVST+ This chapter contains the following sections: Information About Rapid PVST+, page 1, page 16 Verifying the Rapid PVST+ Configuration, page 24 Information About Rapid PVST+ The Rapid PVST+ protocol is the

More information

Copyright 2014 CertificationKits LLC. All Rights Reserved. 2

Copyright 2014 CertificationKits LLC. All Rights Reserved. 2 Copyright 2014 CertificationKits LLC. All Rights Reserved. 2 Spanning Tree Protocol is a bridge protocol that enables a learning bridge to dynamically work around loops in a network topology by creating

More information

Understanding and Configuring STP

Understanding and Configuring STP CHAPTER 14 This chapter describes how to configure the Spanning Tree Protocol (STP) on a Catalyst 4500 series switch. It also provides guidelines, procedures, and configuration examples. This chapter includes

More information

Configuring STP and Prestandard IEEE 802.1s MST

Configuring STP and Prestandard IEEE 802.1s MST 20 CHAPTER This chapter describes how to configure the Spanning Tree Protocol (STP) and prestandard IEEE 802.1s Multiple Spanning Tree (MST) protocol on Catalyst 6500 series switches. Note The IEEE 802.1s

More information

Nexus 7000 Peer Switch Configuration (Hybrid Setup)

Nexus 7000 Peer Switch Configuration (Hybrid Setup) Nexus 7000 Peer Switch Configuration (Hybrid Setup) Document ID: 116140 Contributed by Andy Gossett and Rajesh Gatti, Cisco TAC Engineers. Aug 09, 2013 Contents Introduction Prerequisites Requirements

More information

RealCiscoLAB.com. Observe what happens when the default spanning tree behavior is modified.

RealCiscoLAB.com. Observe what happens when the default spanning tree behavior is modified. RealCiscoLAB.com CCNPv6 SWITCH Modifying Default Spanning Tree Behavior Topology Objective Background Observe what happens when the default spanning tree behavior is modified. Four switches have just been

More information

Configuring Spanning Tree Protocol

Configuring Spanning Tree Protocol Finding Feature Information, page 1 Restrictions for STP, page 1 Information About Spanning Tree Protocol, page 2 How to Configure Spanning-Tree Features, page 14 Monitoring Spanning-Tree Status, page

More information

Configuring STP. Understanding Spanning-Tree Features CHAPTER

Configuring STP. Understanding Spanning-Tree Features CHAPTER CHAPTER 11 This chapter describes how to configure the Spanning Tree Protocol (STP) on your switch. For information about the Rapid Spanning Tree Protocol (RSTP) and the Multiple Spanning Tree Protocol

More information

RealCiscoLAB.com. Securing Spanning Tree Protocol. Topology. Objectives. Background. CCNPv6 SWITCH

RealCiscoLAB.com. Securing Spanning Tree Protocol. Topology. Objectives. Background. CCNPv6 SWITCH RealCiscoLAB.com CCNPv6 SWITCH Securing Spanning Tree Protocol Topology Objectives Background Secure the Layer 2 spanning-tree topology with BPDU guard. Protect the primary and secondary root bridge with

More information

Configuring Rapid PVST+ Using NX-OS

Configuring Rapid PVST+ Using NX-OS Configuring Rapid PVST+ Using NX-OS This chapter describes how to configure the Rapid per VLAN Spanning Tree (Rapid PVST+) protocol on Cisco NX-OS devices. This chapter includes the following sections:

More information

Chapter 5: STP. * What is STP? How does STP work?

Chapter 5: STP. * What is STP? How does STP work? Chapter 5: STP * What is STP? How does STP work? * What would be the worst case scenario that could happen to a redundant path switched network with the STP is disabled? When multiple paths exist between

More information

Chapter 5. Spanning Tree Protocol (STP) Part I

Chapter 5. Spanning Tree Protocol (STP) Part I Chapter 5 Spanning Tree Protocol (STP) Part I CCNA3-1 Chapter 5-1 Note for Instructors These presentations are the result of a collaboration among the instructors at St. Clair College in Windsor, Ontario.

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!   We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 351-001 Title : CCIE Cisco Certified InterNetworking Expert Vendors : Cisco

More information

Buy full file at

Buy full file at 14 Chapter 2 LAN Redundancy Chapter 2 LAN Redundancy 2.0.1.2 Class Activity Stormy Traffic ( ) Objective Explain the purpose of the Spanning Tree Protocol (STP) in a switched LAN environment with redundant

More information

Understanding Rapid Spanning Tree Protocol (802.1w)

Understanding Rapid Spanning Tree Protocol (802.1w) Understanding Rapid Spanning Tree Protocol (802.1w) Contents Introduction Support of RSTP in Catalyst Switches New Port States and Port Roles Port States Port Roles New BPDU Format Full View of the Cisco

More information

Table of Contents. Cisco Understanding Rapid Spanning Tree Protocol (802.1w)

Table of Contents. Cisco Understanding Rapid Spanning Tree Protocol (802.1w) Table of Contents Understanding Rapid Spanning Tree Protocol (802.1w)...1 Introduction...1 Support of RSTP in Catalyst Switches...2 New Port States and Port Roles...2 Port States...2 Port Roles...3 New

More information

Lab 8-2 Securing Spanning Tree Protocol

Lab 8-2 Securing Spanning Tree Protocol Lab 8-2 Securing Spanning Tree Protocol Learning Objectives Secure the Layer 2 spanning tree topology with BPDU guard Protect the primary and secondary root bridge with root guard Protect switchports from

More information

Cisco Exam Interconnecting Cisco Networking Devices Part 2 Version: 10.0 [ Total Questions: 149 ]

Cisco Exam Interconnecting Cisco Networking Devices Part 2 Version: 10.0 [ Total Questions: 149 ] s@lm@n Cisco Exam 200-101 Interconnecting Cisco Networking Devices Part 2 Version: 10.0 [ Total Questions: 149 ] Topic break down Topic No. of Questions Topic 1: LAN Switching Technologies 18 Topic 2:

More information

The multiple spanning-tree (MST) implementation is based on the IEEE 802.1s standard.

The multiple spanning-tree (MST) implementation is based on the IEEE 802.1s standard. CHAPTER 18 This chapter describes how to configure the Cisco implementation of the IEEE 802.1s Multiple STP (MSTP) on the IE 3010 switch. Note The multiple spanning-tree (MST) implementation is based on

More information

Configuring Spanning Tree

Configuring Spanning Tree CHAPTER 8 Configuring Spanning Tree This chapter describes how to configure spanning tree on the Catalyst enterprise LAN switches. Note For information on configuring the PortFast, UplinkFast, and BackboneFast

More information

Spanning-Tree Protocol

Spanning-Tree Protocol Spanning-Tree Protocol Agenda» What Problem is Solved by STP?» Understanding STP Root Bridge Election» BPDU Details and Pathcost» Understanding STP Root and Designated Port Election» Understanding and

More information

Configuring Rapid PVST+

Configuring Rapid PVST+ This chapter describes how to configure the Rapid per VLAN Spanning Tree (Rapid PVST+) protocol on Cisco NX-OS devices using Cisco Data Center Manager (DCNM) for LAN. For more information about the Cisco

More information

PrepKing. PrepKing

PrepKing. PrepKing PrepKing Number: 350-001 Passing Score: 800 Time Limit: 180 min File Version: 9.3 http://www.gratisexam.com/ PrepKing 350-001 Sections 1. Section 1.00 - Implement Layer 2 2. Section 2.00 - Implement IPv4

More information

Configuring Spanning Tree Protocol

Configuring Spanning Tree Protocol Restrictions for STP Restrictions for STP, on page 1 Information About Spanning Tree Protocol, on page 1 How to Configure Spanning-Tree Features, on page 13 Monitoring Spanning-Tree Status, on page 25

More information

STP Optional Characteristic Configuration Commands

STP Optional Characteristic Configuration Commands STP Optional Characteristic Configuration Commands Table of Contents Table of Contents Chapter 1 STP Optional Characteristic Configuration Commands... 1 1.1 STP Optional Characteristic Configuration Commands...

More information

CS IT. Lecture (06) STP (I) Problem statement. By: Dr. Ahmed ElShafee

CS IT. Lecture (06) STP (I) Problem statement. By: Dr. Ahmed ElShafee Lecture (06) STP (I) By: Dr. Ahmed ElShafee CS IT Problem statement If your network consists of layer 2 switches that allow computers connect and exchange data, you will need to consider the design that

More information

Describing the STP. Enhancements to STP. Configuring PortFast. Describing PortFast. Configuring. Verifying

Describing the STP. Enhancements to STP. Configuring PortFast. Describing PortFast. Configuring. Verifying Enhancements to STP Describing the STP PortFast Per VLAN Spanning Tree+ (PVST+) Rapid Spanning Tree Protocol (RSTP) Multiple Spanning Tree Protocol (MSTP) MSTP is also known as Multi-Instance Spanning

More information

CCNA Semester 3 labs. Part 1 of 1 Labs for chapters 1 8

CCNA Semester 3 labs. Part 1 of 1 Labs for chapters 1 8 CCNA Semester 3 labs Part 1 of 1 Labs for chapters 1 8 2.1.2.12 Lab - Building a Switched Network with Redundant Links 2.3.2.3 Lab - Configuring Rapid PVST+, PortFast and BPDU Guard 2.4.3.4 Lab - Configuring

More information

Lab 3-2 Modifying Default Spanning Tree Behavior

Lab 3-2 Modifying Default Spanning Tree Behavior Lab 3-2 Modifying Default Spanning Tree Behavior Objective The purpose of this lab is to observe what happens when the default spanning tree behavior is modified. Scenario Four switches have just been

More information

Managing Network Spanning Trees

Managing Network Spanning Trees CHAPTER 8 This chapter describes, the IEEE 802.1d Spanning Tree Protocol (STP), and how to use and configure Cisco s proprietary spanning-tree protocols, Per VLAN Spanning Tree (PVST), Multiple Spanning

More information

Configuring Spanning Tree Protocol

Configuring Spanning Tree Protocol CHAPTER 7 This chapter descibes how to configure Spanning Tree Protocol (STP) on the Cisco wireless mobile interface card (WMIC). Note For complete syntax and usage information for the commands used in

More information

The Spanning Tree 802.1D (2004) RSTP MSTP

The Spanning Tree 802.1D (2004) RSTP MSTP The Spanning Tree 802.1D (2004) RSTP MSTP (C) Herbert Haas 2005/03/11 http://www.perihel.at 1 Problem Description We want redundant links in bridged networks But transparent bridging cannot deal with redundancy

More information

LAN Troubleshooting. Ethernet Troubleshooting

LAN Troubleshooting. Ethernet Troubleshooting CCIE Routing & Switching Advanced Troubleshooting Bootcamp LAN Troubleshooting http:// Ethernet Troubleshooting No Ethernet switching troubleshooting in Troubleshooting Section, but it can be included

More information

Describing the STP. 2003, Cisco Systems, Inc. All rights reserved. 2-1

Describing the STP. 2003, Cisco Systems, Inc. All rights reserved. 2-1 Describing the STP 2003, Cisco Systems, Inc. All rights reserved. 2-1 IEEE Documents IEEE 802.1D IEEE 802.1Q IEEE 802.1w IEEE 802.1s - Media Access Control (MAC) bridges - Virtual Bridged Local Area Networks

More information

Spanning-Tree Protocol

Spanning-Tree Protocol Spanning-Tree Protocol Malin Bornhager Halmstad University Session Number 2002, Svenska-CNAP Halmstad University 1 Objectives Redundancy in a converged network Spanning-Tree Protocol (STP) STP Operation

More information

CCNA 3 (v v6.0) Chapter 3 Exam Answers % Full

CCNA 3 (v v6.0) Chapter 3 Exam Answers % Full CCNA 3 (v5.0.3 + v6.0) Chapter 3 Exam Answers 2017 100% Full ccnav6.com /ccna-3-v5-0-3-v6-0-chapter-3-exam-answers-2017-100-full.html CCNA Exam Answers 2017 CCNA 3 (v5.0.3 + v6.0) Chapter 3 Exam Answers

More information

material. For more information on how to get additional questions, please see

material. For more information on how to get additional questions, please see Review Questions The following questions are designed to test your understanding of this chapter s material. For more information on how to get additional questions, please see www.lammle.com/ccn a. You

More information

Table of Contents. (Rapid) Spanning Tree Protocol. A simple bridge loop. An even worse bridge loop. Bridge loops Two bridges Three bridges (R)STP

Table of Contents. (Rapid) Spanning Tree Protocol. A simple bridge loop. An even worse bridge loop. Bridge loops Two bridges Three bridges (R)STP Table of Contents (Rapid) Spanning Tree Protocol (R)STP Karst Koymans Informatics Institute University of Amsterdam (version 34, 2014/02/17 14:41:48) Monday, February 17, 2014 Bridge loops Two bridges

More information

2.2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp ifindex clear. This command has no arguments or keywords.

2.2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp ifindex clear. This command has no arguments or keywords. Chapter 2 2.2 snmp ifindex clear snmp ifindex clear To clear any previously configured snmp ifindex commands that were entered for a specific interface, use the snmp ifindex clear command. snmp ifindex

More information

3. INTERCONNECTING NETWORKS WITH SWITCHES. THE SPANNING TREE PROTOCOL (STP)

3. INTERCONNECTING NETWORKS WITH SWITCHES. THE SPANNING TREE PROTOCOL (STP) 3. INTERCONNECTING NETWORKS WITH SWITCHES. THE SPANNING TREE PROTOCOL (STP) 3.1. STP Operation In an extended Ethernet network (a large network, including many switches) multipath propagation may exist

More information

Describing the STP. IEEE Documents. Download this file. Enhancements to STP. Download: PT-Topology-STP2.pkt STP

Describing the STP. IEEE Documents. Download this file. Enhancements to STP. Download: PT-Topology-STP2.pkt STP IEEE Documents IEEE 802.1D IEEE 802.1Q IEEE 802.1w IEEE 802.1s - Media Access Control (MAC) bridges - Virtual Bridged Local Area Networks - Rapid Reconfiguration (Supp. to 802.1D) - Multiple Spanning Tree

More information

Lecture (08) STP - CDP. Dr. Ahmed M. ElShafee CDP STP. tweak this simple design to make it more resilient by adding

Lecture (08) STP - CDP. Dr. Ahmed M. ElShafee CDP STP. tweak this simple design to make it more resilient by adding Lecture (08) STP - CDP STP CDP Dr. Ahmed M. ElShafee ١ ٢ Such design creates a single point of failure. We could easily tweak this simple design to make it more resilient by adding an extra path between

More information

Download: PT-Topology-STP2.pkt

Download: PT-Topology-STP2.pkt IEEE Documents Describing the STP IEEE 802.1D IEEE 802.1Q IEEE 802.1w IEEE 802.1s - Media Access Control (MAC) bridges - Virtual Bridged Local Area Networks - Rapid Reconfiguration (Supp. to 802.1D) -

More information

Lab Port Level Tuning to Control STP Behavior

Lab Port Level Tuning to Control STP Behavior Lab 3.10.7 Port Level Tuning to Control STP Behavior Objective The purpose of this lab is to use PortFast, UplinkFast, BPDU guard, root guard, and UDLD to control STP behavior on a port. Scenario Note:

More information

Document ID: Contents. Introduction. Prerequisites. Requirements. Components Used. Conventions. Background Information.

Document ID: Contents. Introduction. Prerequisites. Requirements. Components Used. Conventions. Background Information. Products & Services Spanning Tree from PVST+ to Rapid-PVST Migration Configuration Example Document ID: 72836 Contents Introduction Prerequisites Requirements Components Used Conventions Background Information

More information

Layer 2/3 Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)

Layer 2/3 Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches) Layer 2/3 Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches) First Published: June 27, 2014 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706

More information

Lab 5.5.2: Challenge Spanning Tree Protocol

Lab 5.5.2: Challenge Spanning Tree Protocol Topology Diagram Addressing Table Device (Hostname) Interface IP Address Subnet Mask Default Gateway S1 VLAN 99 172.17.99.11 255.255.255.0 N/A S2 VLAN 99 172.17.99.12 255.255.255.0 N/A S3 VLAN 99 172.17.99.13

More information

Authorized CCNP. Student. LabManual SWITCH.

Authorized CCNP. Student. LabManual SWITCH. Authorized CCNP SWITCH Student LabManual Web:www.networkershome.com Email:info@networkershome.com www.networkershome.com Authorized CCNPSWITCHWORKBOOK Module:01to20 CopyrightsNetworkersHome2007-2015 Website:htp:/www.networkershome.com;info@networkershome.com

More information

EIGRP Features and Operation

EIGRP Features and Operation EIGRP Features and Operation Enhanced IGRP (EIGRP) is a classless, enhanced distance-vector protocol. EIGRP is a Cisco proprietary protocol. EIGRP includes the subnet mask in its route updates. And as

More information

Table of Contents. (Rapid) Spanning Tree Protocol. An even worse bridge loop. A simple bridge loop. Bridge loops Two bridges Three bridges (R)STP

Table of Contents. (Rapid) Spanning Tree Protocol. An even worse bridge loop. A simple bridge loop. Bridge loops Two bridges Three bridges (R)STP Table of Contents (Rapid) Spanning Tree Protocol (R)STP Karst Koymans Informatics Institute University of Amsterdam (version 44, 2015/02/18 12:55:30) Thursday, February 19, 2015 Bridge loops Two bridges

More information

Packet Switching on L2 (LAN Level)

Packet Switching on L2 (LAN Level) Packet Switching on L2 (LAN Level) Transparent Bridging (TB), Spanning Tree Protocol (STP), Rapid STP, L2 Bridging versus L3 Routing Agenda Introduction Transparent Bridging Basics Spanning Tree Protocol

More information

Table of Contents. (Rapid) Spanning Tree Protocol. A simple bridge loop. An even worse bridge loop. Bridge loops Two bridges Three bridges (R)STP

Table of Contents. (Rapid) Spanning Tree Protocol. A simple bridge loop. An even worse bridge loop. Bridge loops Two bridges Three bridges (R)STP Table of Contents (Rapid) Spanning Tree Protocol (R)STP Karst Koymans Informatics Institute University of Amsterdam (version 18.4, 2018/11/16 13:23:04) Friday, November 16, 2018 Bridge loops Two bridges

More information

Agenda. Spanning-Tree Protocol. Spanning Tree Protocol (STP) Introduction Details Convergence Some more details

Agenda. Spanning-Tree Protocol. Spanning Tree Protocol (STP) Introduction Details Convergence Some more details Agenda Spanning-Tree Protocol Spanning Tree Protocol (STP) Introduction Details Convergence Some more details Rapid Spanning Tree Protocol (RSTP) Cisco PVST, PVST+ Multiple Spanning Tree Protocol (MSTP)

More information

The following graphic shows a single switch VLAN configuration.

The following graphic shows a single switch VLAN configuration. 7.1. VLAN A Virtual LAN (VLAN) can be defined as: Broadcast domains defined by switch port rather than network address. A grouping of devices based on service need, protocol, or other criteria rather than

More information

Bridging Transmitting Non-IP Traffic or Merging Two Networks

Bridging Transmitting Non-IP Traffic or Merging Two Networks 10 Bridging Transmitting Non-IP Traffic or Merging Two Networks Contents Overview..................................................... 10-3 Transmitting Non-IP Traffic..................................

More information

Chapter 1 Introduction to Scaling Networks

Chapter 1 Introduction to Scaling Networks Chapter 1 Introduction to Scaling Networks 1.0.1.2 Class Activity Network by Design 1.0.1.2 Class Activity Network by Design 1 Objective Explain the need to design a hierarchical network that is scalable.

More information

Spanning-Tree Protocol

Spanning-Tree Protocol Spanning-Tree Protocol Spanning Tree Protocol (IEEE 802.1D 1998), Rapid STP (IEEE 802.1D 2004), Cisco PVST+, MSTP Page 07-1 Agenda Spanning Tree Protocol (STP) Introduction Details Convergence Some more

More information

CCNA Semester 3 labs. Labs for chapters 2 10

CCNA Semester 3 labs. Labs for chapters 2 10 CCNA Semester 3 labs Labs for chapters 2 10 2.1.4.5 Lab - Configure Extended VLANs, VTP, and DTP 2.2.2.5 Lab - Troubleshooting Inter-VLAN Routing 3.1.2.12 Lab - Building a Switched Network with Redundant

More information

Exam Questions

Exam Questions Exam Questions 200-105 ICND2 Interconnecting Cisco Networking Devices Part 2 (ICND2 v3.0) https://www.2passeasy.com/dumps/200-105/ 1.At which layer of the OSI model is RSTP used to prevent loops? A. physical

More information

Maintaining Specific VLAN Identification. Comparing ISL and 802.1Q. VLAN Trunking

Maintaining Specific VLAN Identification. Comparing ISL and 802.1Q. VLAN Trunking Maintaining Specific VLAN Identification Specifically developed for multi-vlan interswitch communications Places a unique identifier in each frame Functions at Layer 2 2003, Cisco Systems, Inc. All rights

More information

Index. Numerics. Index p priority (QoS) definition Q VLAN standard w as a region 5-54

Index. Numerics. Index p priority (QoS) definition Q VLAN standard w as a region 5-54 Index Numerics 802.1p priority (QoS) 802.1Q VLAN standard 5-7 802.1w as a region 5-54 A active path 5-5 address IP 7-8 advertisement 3-3 applicable products 1-ii ARP age setting 7-10 cache 7-4 cache table

More information

Spanning Tree Protocol, from a feature CCNA s Perspective.

Spanning Tree Protocol, from a feature CCNA s Perspective. Spanning Tree Protocol, from a feature CCNA s Perspective. written by Gerald C. Paciello Jan. 29, 2015 A little bit of history. Before we talk about Spanning Tree Protocol, let's organize the different

More information

CHAPTER 1 Introduction to Scaling Networks

CHAPTER 1 Introduction to Scaling Networks CHAPTER 1 Introduction to Scaling Networks As a business grows, so does its networking requirements. To keep pace with a business s expansion and new emerging technologies, a network must be designed to

More information

Question No : 1 Which three of these statements regarding 802.1Q trunking are correct? (Choose three.)

Question No : 1 Which three of these statements regarding 802.1Q trunking are correct? (Choose three.) Volume: 149 Questions Question No : 1 Which three of these statements regarding 802.1Q trunking are correct? (Choose three.) A. 802.1Q native VLAN frames are untagged by default. B. 802.1Q trunking ports

More information

LAB. Spanning Tree Protocol

LAB. Spanning Tree Protocol LAB Spanning Tree Protocol Scenario 1 Attention to the switch model 10.0.0.2/24 10.0.0.1/24 10.0.0.3/24 Scenario 1 Configuration 1. Define the scenario according to the figure. Be careful when selecting

More information

Campus Networking Workshop. Layer 2 engineering Spanning Tree and VLANs

Campus Networking Workshop. Layer 2 engineering Spanning Tree and VLANs Campus Networking Workshop Layer 2 engineering Spanning Tree and VLANs Switching Loop When there is more than one path between two switches What are the potential problems? Switching Loop If there is more

More information

Chapter 4 Configuring Switching

Chapter 4 Configuring Switching Chapter 4 Configuring Switching Using the Switching Tab The navigation tabs on the top of the home page include a Switching tab that lets you manage your GS108T Gigabit Smart Switch using features under

More information

Spanning Tree Configuration

Spanning Tree Configuration Using the Console Interface Spanning Tree Configuration The Spanning Tree Configuration Menu screen (Figure 3-29) allows you to view spanning tree parameters and configure individual switch ports to participate

More information

Chapter 5. Spanning Tree Protocol (STP) Part II

Chapter 5. Spanning Tree Protocol (STP) Part II Chapter 5 Spanning Tree Protocol (STP) Part II CCNA3-1 Chapter 5-2 Note for Instructors These presentations are the result of a collaboration among the instructors at St. Clair College in Windsor, Ontario.

More information

MSTP Configuration. Page 1 of 24

MSTP Configuration. Page 1 of 24 MSTP Configuration Page 1 of 24 Contents Chapter1 Configuring MSTP... 3 1.1 Brief Introduction to MSTP...3 1.2 BPDU...3 1.2.1 Basic Concepts in MSTP... 4 1.2.2 Roles of Ports... 6 1.3 Algorithm Implementation...9

More information

Cisco 4-Port and 8-Port Layer 2 Gigabit EtherSwitch Network Interface Module Configuration Guide for Cisco 4000 Series ISR

Cisco 4-Port and 8-Port Layer 2 Gigabit EtherSwitch Network Interface Module Configuration Guide for Cisco 4000 Series ISR Cisco 4-Port and 8-Port Layer 2 Gigabit EtherSwitch Network Interface Module Configuration Guide for Cisco 4000 Series First Published: 2015-04-06 Last Modified: 2017-12-21 Cisco 4-Port and 8-Port Layer

More information

RSTP Configuration. Page 1 of 26

RSTP Configuration. Page 1 of 26 RSTP Configuration Page 1 of 26 Content Chapter 1 STP Configuration... 1 1.1 STP Overview... 1 1.1.1 Function of STP...1 1.1.2 Protocol Packets of STP...1 1.1.3 Basic Concepts in STP... 1 1.1.4 Spanning-Tree

More information

RealCiscoLAB.com. Configuring EtherChannel. Topology. Objective. Background. Required Resources. CCNPv6 Switch. Configure EtherChannel.

RealCiscoLAB.com. Configuring EtherChannel. Topology. Objective. Background. Required Resources. CCNPv6 Switch. Configure EtherChannel. RealCiscoLAB.com CCNPv6 Switch Configuring EtherChannel Topology Objective Background Configure EtherChannel. Four switches have just been installed. The distribution layer switches are Catalyst 3560 switches,

More information

Lab Configuring and Testing the Rapid Spanning Tree Prototype

Lab Configuring and Testing the Rapid Spanning Tree Prototype Lab 7.3.3 Configuring and Testing the Rapid Spanning Tree Prototype Device Designation Device Name IP Address Subnet Mask Default Gateway Fa0/0.1 10.0.0.1 255.255.255.0 R1 BR4 Fa0/0.10 10.10.10.254 255.255.255.0

More information

Chapter 3 Lab 3-3, Per-VLAN Spanning Tree Behavior

Chapter 3 Lab 3-3, Per-VLAN Spanning Tree Behavior Chapter 3 Lab 3-3, Per-VLAN Spanning Tree Behavior Topology Objectives Background Observe the behavior of a separate spanning tree instance per VLAN. Change spanning tree mode to rapid spanning tree. Four

More information

Introduction to OSPF

Introduction to OSPF Campus Networking Introduction to OSPF Workshop Campus Layer-2 Networking Network Workshop Design These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license

More information

62HConfiguring port role restriction 131H37. 63HConfiguring TC-BPDU transmission restriction 132H38. 64HEnabling TC-BPDU guard 133H38

62HConfiguring port role restriction 131H37. 63HConfiguring TC-BPDU transmission restriction 132H38. 64HEnabling TC-BPDU guard 133H38 Contents Configuring spanning tree protocols 3 STP 3 STP protocol packets 3 Basic concepts in STP 4 Calculation process of the STP algorithm 5 RSTP 9 MSTP 10 MSTP features 10 MSTP basic concepts 10 How

More information

STP MiTM Attack and L2 Mitigation Techniques on the Cisco Catalyst 6500

STP MiTM Attack and L2 Mitigation Techniques on the Cisco Catalyst 6500 STP MiTM Attack and L2 Mitigation Techniques on the Cisco Catalyst 6500 Authors: Kevin Lauerman, CCSP, CISSP 80877 Jeff King, CCIE 11873, CCSP, CISSP 80875 Introduction The purpose of this paper is to

More information

The Spanning Tree Protocol

The Spanning Tree Protocol Università Ca Foscari di Venezia Dipartimento di Informatica Corso di Sistemi Distribuiti 2009 Presentation outline Introduction 1 Introduction Local internetworking Motivations 2 High level description

More information

Transparent Bridging and VLAN

Transparent Bridging and VLAN Transparent Bridging and VLAN Plug and Play Networking (C) Herbert Haas 2005/03/11 Algorhyme I think that I shall never see a graph more lovely than a tree a graph whose crucial property is loop-free connectivity.

More information

MSTP Configuration. Configuration

MSTP Configuration. Configuration MSTP Configuration Contents 1. Configuring MSTP...2 1.1 Brief Introduction to MSTP... 2 1.2 BPDU... 2 1.2.1 Basic Concepts in MSTP...2 1.2.2 Roles of Ports...4 1.3 Algorithm Implementation... 7 1.3.1 MSTP

More information

RealCiscoLAB.com. Observe the behavior of a separate spanning tree instance per VLAN. Change spanning tree mode to rapid spanning tree.

RealCiscoLAB.com. Observe the behavior of a separate spanning tree instance per VLAN. Change spanning tree mode to rapid spanning tree. RealCiscoLAB.com CCNPv6 SWITCH Per-VLAN Spanning Tree Behavior Topology Objectives Background Observe the behavior of a separate spanning tree instance per VLAN. Change spanning tree mode to rapid spanning

More information

Implement Spanning Tree Protocols-PART-I. LAN Switching and Wireless Chapter 5 Modified by Tony Chen 05/01/2008

Implement Spanning Tree Protocols-PART-I. LAN Switching and Wireless Chapter 5 Modified by Tony Chen 05/01/2008 Implement Spanning Tree Protocols-PART-I LAN Switching and Wireless Chapter 5 Modified by Tony Chen 05/01/2008 ITE I Chapter 6 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Notes: If you

More information

Device Interface IP Address Subnet Mask Default Gateway. Ports Assignment Network

Device Interface IP Address Subnet Mask Default Gateway. Ports Assignment Network Felix Rohrer Topology Diagram Addressing Table Device Interface IP Address Subnet Mask Default Gateway S1 VLAN 99 172.17.99.11 255.255.255.0 N/A S2 VLAN 99 172.17.99.12 255.255.255.0 N/A S3 VLAN 99 172.17.99.13

More information

Token Ring VLANs and Related Protocols

Token Ring VLANs and Related Protocols Token Ring VLANs and Related Protocols CHAPTER 4 Token Ring VLANs A VLAN is a logical group of LAN segments, independent of physical location, with a common set of requirements. For example, several end

More information

Implementing Multiple Spanning Tree Protocol

Implementing Multiple Spanning Tree Protocol Implementing Multiple Spanning Tree Protocol This module provides conceptual and configuration information for Multiple Spanning Tree Protocol on Cisco ASR 9000 Series Routers. Multiple Spanning Tree Protocol

More information

Configuring Flex Links

Configuring Flex Links CHAPTER 18 This chapter describes how to configure Flex Links in Cisco IOS Release 12.2SX. Note For complete syntax and usage information for the commands used in this chapter, see the Cisco IOS Master

More information

Implement Spanning Tree Protocols. LAN Switching and Wireless Chapter 5

Implement Spanning Tree Protocols. LAN Switching and Wireless Chapter 5 Implement Spanning Tree Protocols LAN Switching and Wireless Chapter 5 ITE I Chapter 6 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Objectives Explain the role of redundancy in a converged

More information

Configuring MST Using Cisco NX-OS

Configuring MST Using Cisco NX-OS This chapter describes how to configure Multiple Spanning Tree (MST) on Cisco NX-OS devices. This chapter includes the following sections: Finding Feature Information, page 1 Information About MST, page

More information

Configuring Resilient Ethernet Protocol

Configuring Resilient Ethernet Protocol CHAPTER 19 This chapter describes how to use Resilient Ethernet Protocol (REP) on the Catalyst 4500 series switch. REP is a Cisco proprietary protocol that provides an alternative to Spanning Tree Protocol

More information

Lab STP configuration on Catalyst 1900 Command Line Interface

Lab STP configuration on Catalyst 1900 Command Line Interface Lab STP configuration on Catalyst 1900 Command Line Interface Estimated Time: 30 mins Objectives: Background: To gain a better understanding of how STP works. To be able to configure and monitor STP on

More information