Implementing Spanning Tree Protocol

Size: px
Start display at page:

Download "Implementing Spanning Tree Protocol"

Transcription

1 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. BCMSN v Redundant Topology Broadcast Storms Server/host X Router Y Server/host X Router Y Segment 1 Segment 1 Broadcast Switch A Switch B Segment 2 Redundant topology eliminates single points of failure Redundant topology causes broadcast storms, multiple frame copies, and MAC address table instability problems Host X sends a Broadcast Segment 2, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-3, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-4

2 Broadcast Storms Broadcast Storms Server/host X Router Y Server/host X Router Y Segment 1 Segment 1 Broadcast Switch A Switch B Switch A Broadcast Switch B Segment 2 Segment 2 Host X sends a Broadcast Switches continue to propagate broadcast traffic over and over, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-5, Cisco Systems, Inc. All rights reserved. BCMSN v Multiple Frame Copies Multiple Frame Copies Server/host X Unicast Router Y Segment 1 Server/host X Unicast Unicast Router Y Segment 1 Unicast Switch A Switch B Switch A Switch B Segment 2 Host X sends an unicast frame to router Y Router Y MAC address has not been learned by either switch yet, Cisco Systems, Inc. All rights reserved. BCMSN v Segment 2 Host X sends an unicast frame to Router Y Router Y MAC Address has not been learned by either Switch yet Router Y will receive two copies of the same frame, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-8

3 MAC Database Instability MAC Database Instability Server/host X Router Y Server/host X Router Y Unicast Segment 1 Unicast Unicast Segment 1 Unicast Port Port Port Port Switch A Switch B Switch A Switch B Port 1 Port 1 Port 1 Port 1 Segment 2 Segment 2 Host X sends an unicast frame to Router Y Router Y MAC Address has not been learned by either Switch yet Switch A and B learn Host X MAC address on port Host X sends an unicast frame to Router Y Router Y MAC Address has not been learned by either Switch yet Switch A and B learn Host X MAC address on port Frame to Router Y is flooded Switch A and B incorrectly learn Host X MAC address on port 1, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-9, Cisco Systems, Inc. All rights reserved. BCMSN v Preventing Bridging Loops Spanning Tree Algorithm (STA) Part of 82.1d standard Simple principle: Build a loop-free tree from some identified point known as the root. Redundant paths allowed, but only one active path. Developed by Radia Perlman Bridging loops can be prevented by disabling the redundant path., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

4 The Spanning Tree Algorhyme by Radia Perlman Bridge Protocol Data Unit I think that I shall never see A graph more lovely than a tree. First, the root must be selected. By ID, it is elected. A tree whose crucial property Is loop-free connectivity. A tree that must be sure to span. So packets can reach every LAN. Least cost paths from root are traced. In the tree, these paths are placed. A mesh is made by folks like me, Then bridges find a spanning tree. s provide for the exchange of information between switches., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Selection The STP Reference point One root per VLAN Maintains topology Propagates timers, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

5 Extended System ID in Bridge ID Field Bridge ID (BID) Bridge ID Without the Extended System ID Bridge ID with the Extended System ID Each switch has a unique BID. Original 82.1D standard, the BID = Priority Field +MAC address of the switch. All VLANs were represented by a CST one spanning tree for all vlans (later). PVST requires that a separate instance of spanning tree run for each VLAN BID field is required to carry VLAN ID (VID). Extended system ID to carry a VID., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v D 16-bit Bridge Priority Field Using the Extended System ID What is the Priority of Access1? Only four high-order bits of the 16-bit Bridge Priority field carry actual priority. Therefore, priority can be incremented only in steps of 496, onto which will be added the VLAN number. Example: For VLAN 11: If the priority is left at default, the 16-bit Priority field will hold = bits 12 bits Priority VLAN Number Priority Values (Hex) Priority Values (Dec) (default) F , Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-2

6 Spanning Tree Protocol Selection Spanning-Tree Operation One root bridge per network One root port per nonroot bridge One designated port per segment Nondesignated ports are blocked Which switch has the lowest bridge ID?, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Four-Step Spanning-Tree Decision Process Spanning Tree Port States Spanning tree transitions each port through several different states. Lowest root BID Lowest path cost to root bridge Lowest sender BID Lowest port ID, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-, Cisco Systems, Inc. All rights reserved. BCMSN v

7 STP Timers STP Timers Hello Time IEEE specifies default of 2 seconds. The interval between Configuration s. The Hello Time value configured at the root bridge determines the Hello Time for all nonroot switches. Locally configured Hello Time is used for the TCN., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v STP Timers STP Timers Forward Delay Timer The default value of the forward delay (15 seconds) Originally derived assuming a maximum network size of seven bridge hops A maximum of three lost s, and a hello-time interval of 2 seconds. See LAN Switching, by Clark, or other resources for this calculation Forward delay is used to determine the length of: Listening state Learning state Max Age Timer Max Age is the time that a bridge stores a before discarding it. Each port saves a copy of the best it has received. If the device sending this best fails, it may take 2 seconds before a switch transitions the connected port to Listening., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

8 STP Timers Local Switch Root Port Election Modifying Timers Do not change the default timer values without careful consideration. Cisco recommends to modify the STP timers only on the root bridge The s pass these values from the root bridge to all other bridges in the network. It can take 3-5 seconds for a switch to adjust to a change in topology. Switch(config)# spanning-tree vlan vlan-id [forward-time seconds hello-time hello-time max-age seconds priority priority protocol protocol {root {primary secondary} [diameter net-diameter [hello-time hellotime]]}], Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Spanning-Tree Path Cost Spanning Tree Protocol Root Port Selection Fast Ethernet Ethernet SW X is the root bridge SW Y needs to elect a root port Which port is the root port on SW Y? FastEthernet total cost = + Ethernet total cost = + 1, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

9 Spanning Tree Protocol Designated Port Selection STP Selection Example DP Fast Ethernet DP Ethernet Switch X is the root bridge. All ports on the root bridge are designated ports. Do all segments have a designated port? Which bridge will be the root bridge?, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v STP Root Port Selection Example STP Designated Port Selection Example Which ports will be root ports? Which port becomes the designated port on segment 3?, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

10 Example: Layer 2 Topology Negotiation FYI: key concepts key concepts: Bridges save a copy of only the best seen on every port. When making this evaluation, it considers all of the s received on the port, as well as the that would be sent on that port. As every arrives, it is checked against this five-step sequence to see if it is more attractive (lower in value) than the existing saved for that port. Only the lowest value is saved. Bridges send configuration s until a more attractive is received. Okay, lets see how this is used..., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Elect one Lowest BID wins! Who wins? Case Study, Cisco Systems, Inc. All rights reserved. 2-39, Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-4

11 What is the BID of this switch? Who is the Root? What is the BID of this switch? Who is the Root? Use this command to view the information on the other four switch., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v What is the BID of this switch? Who is the Root? What is the BID of this switch? Who is the Root?, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

12 What is the BID of this switch? Who is the Root? Elect one Lowest BID wins! My BID is C945.A573 Who wins? My BID is ED.9315 My BID is B.585 My BID is E461.46EC My BID is E.7EBB I win!, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Elect one Lowest BID wins! s Its all done with s! 82.3 Header Destination: 1:8:C2::: Mcast 82.1d Bridge group Source: :D:C:F5:18:D1 LLC Length: Logical Link Control (LLC) Header Dest. SAP: x Bridge Spanning Tree Source SAP: x Bridge Spanning Tree Command: x3 Unnumbered Information Bridge Spanning Tree Protocol Identifier: Protocol Version ID: Message Type: Configuration Message Flags: % Root Priority/ID: x8/ :D:C:F5:18:C Cost Of Path To Root: x () Bridge Priority/ID: x8/ :D:C:F5:18:C Port Priority/ID: x8/ x1d Message Age: /256 seconds (exactly seconds) Maximum Age: 512/256 seconds (exactly 2 seconds) Hello Time: 512/256 seconds (exactly 2 seconds) Forward Delay: 384/256 seconds (exactly 15 seconds), Cisco Systems, Inc. All rights reserved. BCMSN v s sent/relayed every two seconds., Cisco Systems, Inc. All rights reserved. BCMSN v

13 Selection Criteria Elect one Lowest BID wins! My BID is C945.A573 I m the root! My BID is ED.9315 I m the root! Who wins? My BID is B.585 I m the root! My BID is E461.46EC I m the root! My BID is E.7EBB I m the root! I win! At the beginning, all bridges assume and declare themselves as the Root Bridge, by placing its own BID in the Root BID field of the., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Once all of the switches see that Access2 has the lowest BID, they are all in agreement that Access2 is the. Elect Root Ports STP Convergence Step 1 Elect one Step 2 Elect Root Ports Step 3 Elect Designated Ports I will select one Root Port that is closest, best path to the root bridge. Root Bridge, Cisco Systems, Inc. All rights reserved. BCMSN v Now that the Root War has been won, switches move on to selecting Root Ports. A bridge s Root Port is the port closest to the. Bridges use the cost to determine closeness. Every non- will select one Root Port! Specifically, bridges track the Root Path Cost, the cumulative cost of all links to the., Cisco Systems, Inc. All rights reserved. BCMSN v

14 Determining (Electing) the Root Port, Access2 sends out s, containing a Root Path Cost of. Access1, Distribution1, and Distribution2 receives these s and adds the Path Cost of the FastEthernet interface to the Root Path Cost contained in the. Access1, Distribution1, and Distribution2 add Root Path Cost PLUS its Path (port) cost of =. This value is used internally and used in s to other switches. Path Cost Cost=+= Cost=+= Root Bridge Cost=+= Cost=, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Difference b/t Path Cost and Root Path Cost Path Cost: The value assigned to each port. Added to s received on that port to calculate Root Path Cost. Root Path Cost Cumulative cost to the. This is the value transmitted in the. Calculated by adding the receiving port s Path Cost to the valued contained in the. What are the Path Costs for Access2? Path Cost Access2# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 1.964E.7EBB This bridge is the root Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Cost=+= Cost=+= Bridge ID Priority (priority sys-id-ext 1) Address 1.964E.7EBB Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 2 Cost=+= Cost= Interface Role Sts Cost Prio.Nbr Type Fa/1 Desg FWD P2p Fa/3 Desg FWD P2p Fa/5 Desg FWD P2p, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

15 What are the Path Costs for Distribution1? What are the Path Costs for Access1? Distribution1# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 1.964E.7EBB Cost Port 3(FastEthernet/3) Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address 5.5ED.9315 Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 2 Interface Role Sts Cost Prio.Nbr Type Gi/1 Desg FWD P2p Gi/2 Altn BLK P2p Fa/3 Root FWD P2p Fa/5 Desg FWD P2p, Cisco Systems, Inc. All rights reserved. BCMSN v What are the Path Costs for Distribution2? Distribution2# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 1.964E.7EBB Cost Port 3(FastEthernet/3) Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address 6.47B.585 Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 2 Interface Role Sts Cost Prio.Nbr Type Fa/3 Root FWD P2p Fa/5 Altn BLK P2p Gi/1 Altn BLK P2p Gi/2 Desg FWD P2p Access1# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 1.964E.7EBB Cost Port 5(FastEthernet/5) Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address 3.E461.46EC Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 2 Interface Role Sts Cost Prio.Nbr Type Fa/5 Root FWD P2p Gi1/1 Desg FWD P2p Gi1/2 Desg FWD P2p, Cisco Systems, Inc. All rights reserved. BCMSN v show spanning-tree detail Use this command to view the Path Cost of an interface. Distribution1# show spanning-tree detail VLAN1 is executing the ieee compatible Spanning Tree Protocol Bridge Identifier has priority of 32768, sysid 1, 5.5ED.9315 Configured hello time 2, max age 2, forward delay 15 Current root has priority Root port is 3 (FastEthernet/3), cost of root path is Topology change flag not set, detected flag not set Number of topology changes last change occurred :: ago from FastEthernet/1 Times: hold 1, topology change 35, notification 2 hello 2, max age 2, forward delay 15 Timers: hello, topology change, notification, aging 3, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-6

16 show spanning-tree detail Use this command to view the Path Cost of an interface. show spanning-tree detail Use this command to view the Path Cost of an interface. Access1# show spanning-tree detail VLAN1 is executing the ieee compatible Spanning Tree Protocol Bridge Identifier has priority of 32768, sysid 1, 3.E461.46EC Configured hello time 2, max age 2, forward delay 15 Current root has priority Root port is 5 (FastEthernet/5), cost of root path is Topology change flag not set, detected flag not set Number of topology changes last change occurred :: ago from FastEthernet/1 Times: hold 1, topology change 35, notification 2 hello 2, max age 2, forward delay 15 Timers: hello, topology change, notification, aging 3 Distribution2# show spanning-tree detail VLAN1 is executing the ieee compatible Spanning Tree Protocol Bridge Identifier has priority of 32768, sysid 1, 6.47B.585 Configured hello time 2, max age 2, forward delay 15 Current root has priority Root port is 3 (FastEthernet/3), cost of root path is Topology change flag not set, detected flag not set Number of topology changes last change occurred :: ago from FastEthernet/1 Times: hold 1, topology change 35, notification 2 hello 2, max age 2, forward delay 15 Timers: hello, topology change, notification, aging 3, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v show spanning-tree detail Use this command to view the Path Cost of an interface. Switches now send s with their Root Path Cost out other interfaces. Access 1 uses this value of internally and sends s with a Root Path Cost of out all other ports. (For simplicity we will not include to root.) Switches receive and add their path cost. Note: STP costs are incremented as s are received on a port, not as they are sent out a port. Access2# show spanning-tree detail VLAN1 is executing the ieee compatible Spanning Tree Protocol Bridge Identifier has priority of 32768, sysid 1, 1.964E.7EBB Configured hello time 2, max age 2, forward delay 15 Current root has priority Topology change flag not set, detected flag not set Number of topology changes last change occurred :: ago from FastEthernet/1 Times: hold 1, topology change 35, notification 2 hello 2, max age 2, forward delay 15 Timers: hello, topology change, notification, aging 3 No Root port This switch is the! Cost=4+= Cost= Cost= Cost=4+=, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

17 Distribution 1 and Distribution 2 receive the s from Access 1, and adds the Path Cost of 4 to those interfaces, giving a Root Path Cost of. However, both of these switches already have an internal Root Path Cost of that was received on another interface. (Fa/3 for each with a Root Path Cost of.) Distribution 1 and Distribution 2 use the better of when sending out their s to other switches. Distribution 1 now sends s with its Root Path Cost out other interfaces. Again, STP costs are incremented as s are received on a port, not as they are sent out a port. Cost=4+= Cost=4+= Cost=4+= Cost= Cost=+=38 Cost= Cost= Cost=4+=, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Final Results Ports show Received Root Path Cost + Path Cost = Root Path Cost of Interface, after the best is received on that port from the neighboring switch. This is the cost of reaching the from this interface towards the neighboring switch. Now let s see how this is used! show spanning-tree Which port is the Root Port? +4= +4=27 +4= +4=27 Core# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 1.964E.7EBB Cost 4 Port 25(GigabitEthernet/1) Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec +4= +=38 +=38 +4= Bridge ID Priority (priority sys-id-ext 1) Address 1.C945.A573 Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 2 +4= +4= Interface Role Sts Cost Prio.Nbr Type Gi/1 Root FWD P2p Gi/2 Altn BLK P2p, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

18 show spanning-tree detail Path Cost Which port is the Root Port? Core# show spanning-tree detail VLAN1 is executing the ieee compatible Spanning Tree Protocol Bridge Identifier has priority of 32768, sysid 1, 1.C945.A573 Configured hello time 2, max age 2, forward delay 15 Current root has priority Root port is 25 (GigabitEthernet/1), cost of root path is 4 Topology change flag not set, detected flag not set Number of topology changes last change occurred :: ago from FastEthernet/1 Times: hold 1, topology change 35, notification 2 hello 2, max age 2, forward delay 15 Timers: hello, topology change, notification, aging 3, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Elect Root Ports: This is from the switch s perspective. Switch, What is my cost to the? Later we will look at Designated Ports, which is from the Segment s perspective. Distribution 1 thought process If I go through Core it costs 27. If I go through D2 it costs 38. If I go through A1 it costs. If I go through A2 it costs. This is the best path to the Root!, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

19 Elect Root Ports Every non-root bridge must select one Root Port. A bridge s Root Port is the port closest to the. Bridges use the Root Path Cost to determine closeness.?? Elect Root Ports Core switch has two equal Root Path Costs to the. In this case we need to look at the fivestep decision process.?? Five-Step decision Sequence Step 1 - Lowest BID Step 2 - Lowest Path Cost to Step 3 - Lowest Sender BID Step 4 - Lowest Port Priority Step 5 - Lowest Port ID , Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Elect Root Ports Distribution 1 switch has a lower Sender BID than Distribution 2. Core chooses the Root Port of G /1. My BID is ED.9315 Lower BID 27 38?? Five-Step decision Sequence Step 1 - Lowest BID Step 2 - Lowest Path Cost to Step 3 - Lowest Sender BID Step 4 - Lowest Port Priority Step 5 - Lowest Port ID, Cisco Systems, Inc. All rights reserved. BCMSN v My BID is B.585 Elect Designated Ports STP Convergence Step 1 Elect one Step 2 Elect Root Ports Step 3 Elect Designated Ports The loop prevention part of STP becomes evident during this step, electing designated ports. A Designated Port functions as the single bridge port that both sends and receives traffic to and from that segment and the. Each segment in a bridged network has one Designated Port, chosen based on cumulative Root Path Cost to the. The switch containing the Designated Port is referred to as the Designated Bridge for that segment. To locate Designated Ports, lets take a look at each segment. Segment s perspective: From a device on this segment, Which switch should I go through to reach the? Root Path Cost, the cumulative cost of all links to the. Obviously, the segment has not ability to make this decision, so the perspective and the decision is that of the switches on that segment., Cisco Systems, Inc. All rights reserved. BCMSN v

20 A Designated Port is elected for every segment. The Designated Port is the only port that sends and receives traffic to/from that segment to the, the best port towards the root bridge. Note: The Root Path Cost shows the Sent Root Path Cost. This is the advertised cost in the, by this switch out that interface, i.e. this is the cost of reaching the through me! A Designated Port is elected for every segment. Segment s perspective: From a device on this segment, Which switch should I go through to reach the? I ll decide using the advertised Root Path Cost from each switch!????????, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Segment s perspective: Access 2 has a Root Path Cost = (after all it is the ) and Access 1 has a Root Path Cost =. Because Access 2 has the lower Root Path Cost it becomes the Designated Port for that segment. Segment s perspective: The same occurs between Access 2 and Distribution,1 and Access 2 and Distribution 2 switches. Because Access 2 has the lower Root Path Cost it becomes the Designated Port for those segments. My designated What is port my best will be via Access path to 2 the (Fa/5). Root It s the best Bridge, path, lowest via Root Path, to Access the Root 1 or Bridge. via Access 2???? DP DP DP DP, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-8

21 Segment s perspective: Segment between Distribution 1 and Access 1 has two equal Root Path Costs of. Using the Lowest Sender ID (first two steps are equal), Access 1 becomes the best path and the Designated Port. Five-Step decision Sequence Step 1 - Lowest BID Step 2 - Lowest Path Cost to Step 3 - Lowest Sender BID Step 4 - Lowest Port Priority Step 5 - Lowest Port ID Access 1 has Lower Sender BID ED.9315? DP E461.46EC Lower BID What is my best path to the Root Bridge, via Distribution 1 or via Access 1? They are the same! Who has the lowest BID? DP DP DP, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v ED B.585 Lower BID DP? DP DP DP, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

22 , Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

23 Port Cost/Port ID Five-Step decision Sequence Step 1 - Lowest BID Step 2 - Lowest Path Cost to Step 3 - Lowest Sender BID Step 4 - Lowest Port Priority Step 5 - Lowest Port ID /2 /1 Assume path cost and port priorities are default (32). Port ID used in this case. Port /1 would forward because it s the lowest. If the path cost and bridge IDs are equal (as in the case of parallel links), the switch goes to the port priority as a tiebreaker. Lowest port priority wins (all ports set to 32). You can set the priority from 63. If all ports have the same priority, the port with the lowest port number forwards frames., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Port Cost/Port ID Distribution1# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 9.7cb.e7c Cost Port 3 (FastEthernet/3) Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address b.fd13.98 Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 3 Interface Port ID Designated Port ID Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr Fa/ BLK b.befa.eec Fa/ BLK b.befa.eec Fa/ FWD cb.e7c Fa/ BLK cb.e7c Fa/ FWD b.fd Gi/ FWD b.fd , Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

24 PVST+ (More later) Distribution1 is the Root for VLAN1 and 1 Per VLAN Spanning Tree Plus (PVST+) maintains a separate spanning-tree instance for each VLAN. PVST Only over ISL PVST+ Includes ISL and 82.1Q Provides for load balancing on a per- VLAN basis. Switches maintain one instance of spanning tree for each VLAN allowed on the trunks. Non-Cisco 82.1Q switches maintain only one instance of spanning tree for all VLANs allowed on the trunks. Root VLANs 1,1 Distribution1(config)# spanning-tree vlan 1, 1 root primary Distribution2(config)# spanning-tree vlan 2 root primary, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Distribution2 is the Root for VLAN 2 Load Balancing with 2 Root Switches Notice that more links are being used! Root VLAN 2 Root VLANs 1,1 Root VLAN 2, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

25 STP Convergence: Summary STP Convergence: Summary Recall that switches go through three steps for their initial convergence: STP Convergence Step 1 Elect one Step 2 Elect Root Ports Step 3 Elect Designated Ports Also, all STP decisions are based on a the following predetermined sequence: Five-Step decision Sequence Step 1 - Lowest BID Step 2 - Lowest Path Cost to Step 3 - Lowest Sender BID Step 4 Lowest Port Priority Step 5 - Lowest Port ID Example: A network that contains 15 switches and 146 segments (every switchport is a unique segment) would result in: 1 14 Root Ports 146 Designated Ports, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Configuring the Configuring the Switch(config)#spanning-tree vlan 1 root primary This command forces this switch to be the root. Switch(config)#spanning-tree vlan 1 root secondary This command configures this switch to be the secondary root. Or Switch(config)#spanning-tree vlan 1 priority priority This command statically configures the priority (in increments of 496). Switch(config)# spanning-tree vlan 1 priority priority This command statically configures the priority (in multiples of 496). Valid values are from to 61,44. Default is Lowest values becomes., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v2. 2-1

26 Configuring the Configuring the Switch(config)# spanning-tree vlan 1 root primary This command forces this switch to be the root. The spanning-tree root primary command alters this switch's bridge priority to 24,576. If the current root has bridge priority which is more than 24,576, then the current is changed to 4,96 less than of the current root bridge. Switch(config)# spanning-tree vlan 1 root secondary This command configures this switch to be the secondary root in case the root bridge fails. The spanning-tree root secondary command alters this switch's bridge priority to 28,672. If the root switch should fail, this switch becomes the next root switch., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Change the root bridge Change the root bridge Core(config)# spanning-tree vlan 1-3 root primary Distribution1(config)# spanning-tree vlan 1-3 root secondary Notice the change. Befor e After Current Root Bridge Modify the topology so that the Core switch is the root bridge and Distribution1 is the secondary root bridge for VLAN 1., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

27 Verify changes Core# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 1.C945.A573 This bridge is the root Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address 1.C945.A573 Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 2 Interface Role Sts Cost Prio.Nbr Type Gi/1 Desg FWD P2p Gi/2 Desg FWD P2p Verify changes Distribution2# show spanning-tree VLAN1 Spanning tree enabled protocol ieee Root ID Priority Address 1.C945.A573 Cost 4 Port 26(GigabitEthernet/2) Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Bridge ID Priority (priority sys-id-ext 1) Address 6.47B.585 Hello Time 2 sec Max Age 2 sec Forward Delay 15 sec Aging Time 2 Interface Role Sts Cost Prio.Nbr Type Fa/3 Desg FWD P2p Fa/5 Altn BLK P2p Gi/1 Desg FWD P2p Gi/2 Root FWD P2p, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Topology Change Notification s TCNs: Direct Topology Change Direct Topology Changes Is a change that can be detected on a switch interface. Insignificant Topology Changes A users PC causes the link to go up or down (normal booting or shutdown process)., Cisco Systems, Inc. All rights reserved. BCMSN v When a bridge needs to signal a topology change, it starts to send TCNs on its root port. Switch A detects link down. Removes best from Root Port (this port is the best path to the ) Can t send TCN out root port to Root bridge. Without Uplinkfast (coming) Switch A not aware of another path to root. Switch C is aware of down link and sends TCN message out to. sends Configuration with TCN bit set to let switches know of configuration change. All switches: Shorten MAC address tables aging time to Forward Delay (15 seconds). This flushes idle entries. Switch A waits to hear from. Receives Config on previously blocked port, new best, this becomes new. This new will go through listening, learning and forwarding states. TCN does not start a STP recalculation. Idle MAC entries are flushed Config, Cisco Systems, Inc. All rights reserved. BCMSN v B C X Root TCN A D NDP (Blocking) New (Blocking, Listening, Learning, Forwarding) E

28 TCNs Direct Topology Change: Is a change that can be detected on a switch interface. Can can take about 3 seconds on the affected switch (two times forward delay). All switches flush idle entries in MAC table. Solutions: Uplinkfast Insignificant Topology Change: A users PC causes the link to go up or down (normal booting or shutdown process). No significant impact but given enough hosts switches could be in a constant state of flushing MAC address tables. Causes unknown unicast floods. Solution PortFast Idle MAC entries are flushed Idle MAC entries are flushed B Idle MAC entries are flushed Idle MAC entries are flushed Config C TCN A Root Idle MAC entries are flushed D E Idle MAC entries are flushed TCN s Understanding Spanning-Tree Protocol Topology Changes Remember that a TCN does not start a STP recalculation. This fear comes from the fact that TCNs are often associated with unstable STP environments; TCNs are a consequence of this, not a cause. The TCN only has an impact on the aging time; it will not change the topology nor create a loop., Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Example Example, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v

29 Exercise Exercise, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved. BCMSN v Exercise Implementing Spanning Tree Protocol The End, Cisco Systems, Inc. All rights reserved. BCMSN v , Cisco Systems, Inc. All rights reserved

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

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

STP (Spanning Tree Protocol) - Step by Step Configuration Tutorial STP (Spanning Tree Protocol) - Step by Step Configuration Tutorial Introduction: Spanning Tree Protocol (STP) is a Layer 2 protocol that runs on switches. It was first introduced as CST (Common Spanning

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 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

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 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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. 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

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

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

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

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

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

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

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

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch 3.1.5 & 3.2 Xiaowei Yang xwy@cs.duke.edu Review Past lectures Single link networks Point-to-point,

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

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

Objectives. 1. Introduction:

Objectives. 1. Introduction: University of Jordan Faculty of Engineering & Technology Computer Engineering Department Advance Networks Laboratory 0907529 Exp.5 Spanning-Tree Protocol (STP) Objectives 1. Explain the role of redundancy

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

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

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

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

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

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

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

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

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

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 Issues Related to Inter VLAN Bridging

Understanding Issues Related to Inter VLAN Bridging Understanding Issues Related to Inter VLAN Bridging Document ID: 11072 Contents Introduction Prerequisites Requirements Components Used Conventions Spanning Tree Topology Concerns Recommended Use of Hierarchical

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

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

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

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features

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

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

CCNA Cisco Certified Network Associate CCNA (v3.0)

CCNA Cisco Certified Network Associate CCNA (v3.0) 200-125 - CCNA Cisco Certified Network Associate CCNA (v3.0) 1.What is one benefit of PVST+? A. PVST+ supports Layer 3 load balancing without loops. B. PVST+ reduces the CPU cycles for all the switches

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

Implement Spanning Tree Protocols PART-II. LAN Switching and Wireless Chapter 5 Modified by Tony Chen 07/01/2009

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

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

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

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

CCNP Bootcamp. Introduction

CCNP Bootcamp. Introduction 0101010101010101101010101010101011010101010101010110101010101010101010101010101011010101010101010 010101010101010110101010101010101010101010101011010101010101010110101010101010101101010101010101 1010101010101011010101010101010110101010101010101101010101010101010101010101010110101010101010101

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

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 Principles Broadcast

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

RealCiscoLAB.com. Multiple Spanning Tree. Topology. Objective. Background. CCNPv6 SWITCH. Observe the behavior of multiple spanning tree (MST).

RealCiscoLAB.com. Multiple Spanning Tree. Topology. Objective. Background. CCNPv6 SWITCH. Observe the behavior of multiple spanning tree (MST). RealCiscoLAB.com CCNPv6 SWITCH Multiple Spanning Tree Topology Objective Background Observe the behavior of multiple spanning tree (MST). Four switches have just been installed. The distribution layer

More information

isco Understanding Spanning Tree Protocol Topology Chan

isco Understanding Spanning Tree Protocol Topology Chan isco Understanding Spanning Tree Protocol Topology Chan Table of Contents Understanding Spanning Tree Protocol Topology Changes...1 Interactive: This document offers customized analysis of your Cisco device...1

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

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

CIS 83 Lab Assignment

CIS 83 Lab Assignment CIS 83 Lab Assignment Open the Packet Tracer Scenario STP Configuration Lab-1.pkt. Before proceeding, save as STP Configuration Lab-1-working.pkt. To demonstrate completion of the lab you will be asked

More information

Advanced Computer Networks

Advanced Computer Networks Advanced Computer Networks Interconnection Layer 2: bridges and VLANs Prof. Andrzej uda duda@imag.fr http://duda.imag.fr 1 Contents Transparent bridges Spanning Tree Protocol (STP) Rapid Spanning Tree

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

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

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

Catalyst Switch Operations. 2000, Cisco Systems, Inc. 6-1

Catalyst Switch Operations. 2000, Cisco Systems, Inc. 6-1 Catalyst Switch Operations 2000, Cisco Systems, Inc. 6-1 Objectives Upon completion of this chapter, you will be able to perform the following tasks: Describe Layer 2 switching (bridging) operations Describe

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

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

CCIE Foundation. WorkBooks.com. Narbik Kocharians CCIE #12410 R&S, Security, SP. 3550/3560 Switching. Answers

CCIE Foundation.   WorkBooks.com. Narbik Kocharians CCIE #12410 R&S, Security, SP. 3550/3560 Switching. Answers CCIE Foundation The GAP from CCNP to CCIE WWW.Net WorkBooks.com Narbik Kocharians CCIE #12410 R&S, Security, SP 3550/3560 Switching Answers CCIE Foundation by Narbik Kocharians Switching Lab Page 1 of

More information

Chapter 2: Layer 2 Technologies

Chapter 2: Layer 2 Technologies Chapter 2: Layer 2 Technologies Troubleshooting Switch Administration Troubleshooting the switch can be tricky because there may or may not be an involvement of switch in network performance degradation.

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

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

Layer 2 Engineering Spanning Tree

Layer 2 Engineering Spanning Tree Layer 2 Engineering Spanning Tree Campus Network Design & Operations Workshop These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/)

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

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

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

CIS 83 Midterm Spring 2004 Answer Sheet Name Score Grade Question Answer Question Answer

CIS 83 Midterm Spring 2004 Answer Sheet Name Score Grade Question Answer Question Answer CIS 83 Midterm Spring 2004 Answer Sheet Name: Score: Grade: Question Answer Question Answer 1 A B C D E F 51 A B C D E F 2 A B C D E F 52 A B C D E F 3 A B C D E F 53 A B C D E F 4 A B C D E F 54 A B C

More information

Configuring VLANs. Understanding VLANs CHAPTER

Configuring VLANs. Understanding VLANs CHAPTER CHAPTER 11 This chapter describes how to configure normal-range VLANs (VLAN IDs 1 to 1005) and extended-range VLANs (VLAN IDs 1006 to 4094) on the Cisco ME 3400 Ethernet Access switch. It includes information

More information

Troubleshooting Transparent Bridging Environments

Troubleshooting Transparent Bridging Environments CHAPTER Troubleshooting Transparent Bridging Environments Transparent bridges were first developed at Digital Equipment Corporation (Digital) in the early 1980s and are now very popular in Ethernet/IEEE

More information

CSCI Computer Networks

CSCI Computer Networks CSCI-1680 - Computer Networks Link Layer III: LAN & Switching Chen Avin Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti, Peterson & Davie, Rodrigo Fonseca Today: Link Layer (cont.)

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

CS Networks and Distributed Systems. Lecture 5: Bridging. Revised 1/14/13

CS Networks and Distributed Systems. Lecture 5: Bridging. Revised 1/14/13 CS 3700 Networks and Distributed Systems Lecture 5: Bridging Revised 1/14/13 Just Above the Data Link Layer 2 Application Presentation Session Transport Network Data Link Physical Bridging! How do we connect

More information

itexamdump 최고이자최신인 IT 인증시험덤프 일년무료업데이트서비스제공

itexamdump 최고이자최신인 IT 인증시험덤프   일년무료업데이트서비스제공 itexamdump 최고이자최신인 IT 인증시험덤프 http://www.itexamdump.com 일년무료업데이트서비스제공 Exam : 642-813 Title : Implementing Cisco IP Switched Networks Vendor : Cisco Version : DEMO Get Latest & Valid 642-813 Exam's Question

More information

Chapter 4 Lab 4-2 Multiple Spanning Tree INSTRUCTOR VERSION

Chapter 4 Lab 4-2 Multiple Spanning Tree INSTRUCTOR VERSION CCNPv7.1 SWITCH Chapter 4 Lab 4-2 Multiple Spanning Tree INSTRUCTOR VERSION Topology Objectives Implement Multiple Spanning Tree Leverage VTP version 3 with MST Background Cisco s Per VLAN Spanning Tree

More information

Configuring VLANs. Understanding VLANs CHAPTER

Configuring VLANs. Understanding VLANs CHAPTER 7 CHAPTER This chapter describes how to configure normal-range VLANs (VLAN IDs 1 to 1005) and extended-range VLANs (VLAN IDs 1006 to 4094) on the Cisco MWR 2941 router. It includes information about VLAN

More information

Improving network convergence with Multiple Spanning Tree Protocol

Improving network convergence with Multiple Spanning Tree Protocol CEAI, Vol.15, No.1 pp. 79-87, 2013 Printed in Romania Improving network convergence with Multiple Spanning Tree Protocol Roxana Stănică SC Civitas Systems S.R.L., Craiova, Romania (e-mail: roxana_batm@yahoo.com)

More information

Why Packet Switching on LAN? Packet Switching on L2 (LAN Level) Bridge / Router. Agenda

Why Packet Switching on LAN? Packet Switching on L2 (LAN Level) Bridge / Router. Agenda Why Packet Switching on LN? Packet Switching on L2 (LN Level) Transparent Bridging (TB), Spanning Tree Protocol (STP), Rapid STP, L2 Bridging versus L3 Routing LN was primarily designed for shared media

More information

Configuring Port-Based Traffic Control

Configuring Port-Based Traffic Control CHAPTER 22 This chapter describes how to configure the port-based traffic control features on the Cisco ME 3400 Ethernet Access switch. For complete syntax and usage information for the commands used in

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

CCNA Routing & Switching Lab Workbook - Full-Scale Lab 1

CCNA Routing & Switching Lab Workbook - Full-Scale Lab 1 CCNA Routing & Switching Lab Workbook - Full-Scale Lab 1 Task 1.1 Tasks You must load the initial configuration files for the section, FS Lab-1 Initial, which can be found in CCNA Routing & Switching Topology

More information