Spanning Tree Protocol

Similar documents
Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops

AT-S60 Version Management Software for the AT-8400 Series Switch. Software Release Notes

Abstract. MEP; Reviewed: GAK 10/17/2005. Solution & Interoperability Test Lab Application Notes 2005 Avaya Inc. All Rights Reserved.

Objectives. Explain the Role of Redundancy in a Converged Switched Network. Explain the Role of Redundancy in a Converged Switched Network

How To Switch In Sonicos Enhanced (Sonicwall) On A 2400Mmi 2400Mm2 (Solarwall Nametra) (Soulwall 2400Mm1) (Network) (

Switching in an Enterprise Network

HARTING Ha-VIS Management Software

ALL8894WMP. User s Manual. 8-Port 10/100/1000Mbps with 4-port PoE. Web Management Switch

June Bridge & Switch. Pietro Nicoletti Piero[at]studioreti.it. Bridge-Switch-Engl - 1 P. Nicoletti: see note pag. 2

Chapter 3. Enterprise Campus Network Design

The ABCs of Spanning Tree Protocol

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

Port Trunking. Contents

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

16-PORT POWER OVER ETHERNET WEB SMART SWITCH

Port Trunking. Contents

Virtual LANs. or Raj Jain

Ethernet (LAN switching)

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

AlliedWare Plus OS How To Configure interoperation between PVST+ and RSTP or MSTP

High Availability Failover Optimization Tuning HA Timers PAN-OS 6.0.0

Gigabit Ethernet Web Smart 8-Port Switch 2 Combo SFP Open Slot

Juniper / Cisco Interoperability Tests. August 2014

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Fundamentals of Switching

ENTERASYS WEBVIEW WEB-BASED MANAGEMENT FOR THE VH-2402S/VH-2402S2 WEB MANAGEMENT GUIDE

Juniper Networks EX Series/ Cisco Catalyst Interoperability Test Results. May 1, 2009

WSG24POE Switch. User Manual

Command Line Interface

48 GE PoE-Plus + 2 GE SFP L2 Managed Switch, 375W

Virtual PortChannel Quick Configuration Guide

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

- Hubs vs. Switches vs. Routers -

AT-S41 Version Management Software for the AT-8326 and AT-8350 Series Fast Ethernet Switches. Software Release Notes

User Manual 24 Port PoE 10/100/1000M with 4 Combo Gigabit SFP Open Slot Web Smart Switch

TRILL for Service Provider Data Center and IXP. Francois Tallet, Cisco Systems

RESILIENT NETWORK DESIGN

How To. Configure Multiple Spanning Tree Protocol (MSTP) Introduction. Overview of MSTP. Extension of RSTP

TP-LINK. JetStream 28-Port Gigabit Stackable L3 Managed Switch. Overview. Datasheet T3700G-28TQ.

POE WEB-MANAGED GIGABIT ETHERNET SWITCH USER MANUAL. with 2 SFP Ports MODELS & INT / UM

TP-LINK. 48-Port Gigabit Smart Switch with 4 SFP Slots. Overview. Datasheet T1600G-52TS (TL-SG2452)

THE SOFTWARE DESCRIBED IN THIS DOCUMENT IS FURNISHED UNDER A LICENSE AGREEMENT AND MAY BE USED ONLY IN ACCORDANCE WITH THE TERMS OF THAT LICENSE.

Level 2 Routing: LAN Bridges and Switches

APPLICATION NOTE 210 PROVIDER BACKBONE BRIDGE WITH TRAFFIC ENGINEERING: A CARRIER ETHERNET TECHNOLOGY OVERVIEW

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

Layer 3 Network + Dedicated Internet Connectivity

CCNP SWITCH: Implementing High Availability and Redundancy in a Campus Network

Overview of Routing between Virtual LANs

hp ProLiant network adapter teaming

How To Configure Voice Vlan On An Ip Phone

How To Monitor A Network With A Network Probe

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

AT-S45 Version Management Software for the AT-9410GB Gigabit Ethernet Switches. Software Release Notes

Bridgewalling - Using Netfilter in Bridge Mode

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Howstuffworks "How LAN Switches Work" Click here to go back to the normal view!

What is VLAN Routing?

TP-LINK L2 Managed Switch

20 GE PoE-Plus + 4 GE PoE-Plus Combo SFP + 2 GE SFP L2 Managed Switch, 370W

CORPORATE NETWORKING

Candidates should attempt FOUR questions. All questions carry 25 marks.

8-Port Gigabit managed POE Switch. User s Manual. Version: 2.3

TP-LINK. 24-Port 10/100Mbps + 4-Port Gigabit L2 Managed Switch. Overview. Datasheet TL-SL5428E.

Course Contents CCNP (CISco certified network professional)

TP-LINK. 24-Port 10/100Mbps + 4-Port Gigabit L2 Managed Switch. Overview. Datasheet TL-SL

Ethernet Switching. GE Fanuc Embedded Systems

16 GE with 2 Shared SFP-Web-Smart-Switch

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

estpassport Bessere Qualität, bessere Dienstleistungen!

24 Port Gigabit Ethernet Web Smart Switch. Users Manual

Interconnecting Cisco Networking Devices Part 2

GVRP Overview. Overview

TRILL for Data Center Networks

VLAN 802.1Q. 1. VLAN Overview. 1. VLAN Overview. 2. VLAN Trunk. 3. Why use VLANs? 4. LAN to LAN communication. 5. Management port

TP-LINK. Gigabit L2 Managed Switch. Overview. Datasheet TL-SG3216 / TL-SG

TRILL Large Layer 2 Network Solution

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

- Spanning Tree Protocol -

IP SAN BEST PRACTICES

TP-LINK. 24-Port Gigabit Smart PoE Switch with 4 Combo SFP Slots. Overview. Datasheet TL-SG2424P.

20. Switched Local Area Networks

Resiliency in Ethernet Based Transport Networks

: Interconnecting Cisco Networking Devices Part 2 v1.1

network infrastructure: getting started with VoIP

- EtherChannel - Port Aggregation

Fast Fault Recovery in Switched Networks for Carrying IP Telephony Traffic

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

EVOLVING ENTERPRISE NETWORKS WITH SPB-M APPLICATION NOTE

Configuration VLANs, Spanning Tree, and Link Aggregation Avaya Ethernet Routing Switch 5000 Series

Ethernet Storage Best Practices

CISCO STUDY GUIDE. Building Cisco Multilayer Switched Networks (BCMSN) Edition 2

VLANs. Application Note

RGPS-7084GP-P. Industrial 12-port rack-mount managed Gigabit PoE Ethernet switch with 8x10/100/1000Base-T(X) P.S.E. ports and 4x1000Base-X, SFP socket

SonicOS Enhanced Release Notes

Chapter 2 Lab 2-2, Configuring EtherChannel Instructor Version

CHAPTER 6 DESIGNING A NETWORK TOPOLOGY

LAN Switching and VLANs

Business Solutions. User Manual. EGS5212FP EGS7228P EGS7228FP EGS7252FP version 1.0. Layer 2 Managed PoE+ Switch

B&B ELECTRONICS WHITE PAPER. Managed Ethernet Switches - Key Features for a Powerful Industrial Network

Transcription:

Spanning Tree Protocol And Other Advanced Ethernet Topics 2E1623 Data Links and Local Area Networks

Learning Bridges Loop Problem From B. A. Forouzan: Data Communications and Networking, 3rd ed, McGraw-Hill 2

Spanning Tree Basic Idea Discover a subset of the topology that is loop-free (a tree) Just enough connectivity so that: there is a path between every pair of segments where physically possible o the tree is spanning Disable (block) all other ports 3

Spanning Tree Starting Point Each bridge has a unique ID Each port has a unique ID within the bridge A cost can be calculated for each path between two bridges From B. A. Forouzan: Data Communications and Networking, 3rd ed, McGraw-Hill 4

Spanning Tree Process 1. The node with the smallest ID is selected the root bridge 2. On each bridge, select a root port Port with the least cost path to the root bridge 3. On each LAN segment, select a designated bridge Bridge with least cost path to root bridge o If two bridges have same cost, select the bridge with smallest ID Mark the corresponding port as the designated port 4. Forward frames only on marked ports Designated ports and root ports Block on the others 5

Before Spanning Tree From B. A. Forouzan: Data Communications and Networking, 3rd ed, McGraw-Hill 6

Applying Spanning Tree From B. A. Forouzan: Data Communications and Networking, 3rd ed, McGraw-Hill 7

Forwarding Ports and Blocking Ports Blocked Note that STP is not a routing protocol In the sense that it does not optimize routing Traffic concentration towards the root 8

9

Spanning Tree Protocol Protocol to calculate a spanning tree Convergence All bridges should reach a unified view of the spanning tree Special frames sent between neighbour switches Bridge Protocol Data Units, BPDUs Not forwarded! 10

Bridge Protocol Data Unit (BPDU) 2 1 1 1 8 4 8 2 2 2 2 2 Proto ID Ver BPDU Type Flags Root ID Root Path Cost Bridge ID Port ID Msg Age Max Age Hello Time Forward Delay 2 6 2 6 Priority MAC Address Priority MAC Address Sent as an 802.1 frame Destination MAC address 01-80-C2-00-00-00 (multicast) BPDU Type 0 Sent periodically (Hello Time) by root bridges Triggers sending of BPDUs in designated bridges 11

Initial State I am root <Root ID, Root Path Cost, Bridge ID> A <A,0,A> <B,0,B> <C,0,C> <A,0,A> I am root I am root <C,0,C> B <B,0,B> C 12

Root Bridge Recognized I am root <Root ID, Root Path Cost, Bridge ID> A <A,0,A> <A,0,A> <A,1,C> B <A,1,B> C I am designated I am designated 13

Designated Bridge Recognized I am root <Root ID, Root Path Cost, Bridge ID> A <A,0,A> <A,0,A> B <A,1,B> C I am designated 14

Ports Disabled I am root <Root ID, Root Path Cost, Bridge ID> A <A,0,A> <A,0,A> B <A,1,B> C I am designated 15

Topology Changes and Learning Table Entries in learning table expires Normally after 5 minutes Incorrect forwarding o Black hole Solution: Faster expiration time when network configuration has changed Topology Change Notification PDU 16

Topology Change Notification 2 1 1 1 8 4 8 2 2 2 2 2 Proto ID Ver BPDU Type Flags Root ID Root Path Cost Bridge ID Port ID Msg age Max Age Hello Time Forward Delay T C T C N Topology change at a bridge Port failure No periodic configuration BPDUs Bridge sends spontaneous BPDU Topology Change Notification BPDU BPDU type 0x80 Port status change 17

Topology Change TCN BPDU: Configuration BPDU: <Flags> <Root ID, Root Path Cost, Bridge ID, Flags, Forward Delay> I am root A <A,0,A,TC, D> <TCA> <TC> <A,0,A,TC, D> Forwarding Delay shorter than normal B C 18

Spanning Tree Protocol Timing 2 1 1 1 8 4 8 2 2 2 2 2 Proto ID Ver BPDU Type Flags Root ID Root Path Cost Bridge ID Port ID Msg age Max Age Hello Time Forward Delay Protocol is timer driven Too short timers can give loops and instabilities Too long timers can give long convergence times Until network reaches a stable spanning tree configuration 19

Designated Bridge Recognized I am root <Root ID, Root Path Cost, Bridge ID> A <A,0,A> <A,0,A> I am designated B <A,1,B> C 20

Ports Disabled I am root A I am designated B C 21

Port States Listening BPDU processing, no learning, no forwarding Forward Delay timeout Blocked by algorithm Max Age timeout Learning BPDU processing, learning, no forwarding Blocked by algorithm Blocking No BPDU processing, no learning, no forwarding Forward Delay timeout Blocked by algorithm Forwarding BPDU processing, learning, forwarding 22

Rapid Spanning Tree Protocol Ordinary STP takes 30 50 seconds to converge, with default settings Rapid Spanning Tree Protocol (RSTP) IEEE 802.1w Full-duplex mode o No shared links 23

RSTP vs STP RSTP has two more port designations Alternate Port backup for Root Port Backup port backup for Designated Port on the segment In RSTP, all bridges send BPDUs automatically While in STP, the root triggers BPDUs In RSTP, bridges act to bring the network to convergence While in STP, bridges passively wait for time-outs before changing port states 24

Virtual Local Area Networks

Virtual LANs (VLAN) Need a way to divide the LAN into different parts Without physical reconfiguration Moving stations without reconfigurations Create virtual workgroups Keep broadcasts isolated Keep different protocols from each other 26

VLAN Divides LAN Into Logical Groups From B. A. Forouzan: Data Communications and Networking, 3rd ed, McGraw-Hill 27

VLAN Grouping How is VLAN membership determined? Port number o Ports 1, 2, 7: VLAN 1 o Ports 3, 4, 5, 6: VLAN 2 MAC address Frame tagging VLAN trunking Many VLANs over the same link 28

Frame Tagging 6 bytes 6 bytes 2 bytes 2 bytes 46-1500 bytes 4 bytes Destination address Source address Tag Header Length/ Type DATA CRC TPID (81-00) User Priority CFI VLAN Identifier 16 bits 3 bits 1 bit 12 bits Tag header added to Ethernet header IEEE 802.1Q 12-bit VLAN ID allows for 4096 VLANs 29

Spanning Trees and VLANs Per VLAN Spanning Tree One spanning tree per VLAN Many spanning tree instances to maintain Different roots in different STs o load sharing Common Spanning Tree One spanning tree for all VLANs Simple, but all traffic goes the same way 30

Multiple Spanning Tree Multiple Spanning Tree Protocol (MSTP) Network organized in regions Regions have their own Multiple Spanning Tree Instances (spanning-tree topologies) VLANs are associated to MSTIs One common spanning tree (CST) for the entire network MSTP based on RSTP (Rapid STP) 31

VLAN Signalling GVRP 32

Autonegotiation

Ethernet Autonegotiation Incompatible rx/tx modes Full/half duplex 10/100/1000 Mb/s Autonegotiation to allow two devices to agree on speed and duplex mode Based on 10BASE-T heartbeat Normal Link Pulse Sent every 16 ms on idle link 34

Link Code Word 100BASE-T Fast Link Pulse 16-bit code word, with a Technology ability field (8 bits) 100BASE-T full duplex 100BASE-T4 100BASE-T 10BASE-T full duplex Misconfiguration problems Connectivity loss or performance degradation 35

Ethernet PAUSE Frames 6 bytes 6 bytes 2 bytes 2 bytes 2 bytes 42 bytes 4 bytes Control Destination Source Type operation Duration Reserved CRC address address (88-08) (00) Flow control Full duplex mode only Negotiated through auto-negotiation MAC Control Frame Destination address 01:80:C2:00:00:01 (pre-defined multicast address) or address of remote bridge Duration is time in units of 512-bit times 36

Quality of Service and Multicast

Quality of Service Switching 6 bytes 6 bytes 2 bytes 2 bytes 46-1500 bytes 4 bytes Destination address Source address Tag Header Length/ Type DATA CRC TPID (81-00) User Priority CFI VLAN Identifier 16 bits 3 bits 1 bit 12 bits Class of Service User Priority field in IEEE 802.1Q header 0 7, with 7 as highest priority value 38

DiffServ Packet Marking and Aggregation Each packet is marked with a DSCP (Differentiated Services Code Point) directly in the 8-bit IP ToS header field 6 bits used 64 possible code points (in practice much less is used) Code points are unique within a domain but may change at domain borders An ingress node aggregates packets into behavior aggregates, each marked by a unique code point (DSCP) DSCP 8-bit ToS Field IP header IP payload From QoS, RSVP and MPLS Lecture 39

Quality of Service Switching QoS processing depends on QoS configuration of port IP DSCP o Ignored, or set to predefined value 802.1Q CoS o Ignored, set to predefined value, or computed from DSCP 40

Multicast Multicast traffic is, by default, flooded Increases traffic load Switches implement IGMP Snooping Internet Group Management Protocol o o o Like ICMP Monitor Membership Reports and Leave Reports Only forward multicast frames to ports where there are receivers MAC multicast group address is calculated from IP multicast address o o 25 static bits (01:00:5e:0) plus last 23 bits from IP address Hashing multiple IP addresses map to the same MAC address 41

Summary Spanning Tree Protocol Port disabling Bridge PDUs Rapid Spanning Tree Protocol (RSTP) VLANs IEEE 802.1Q Autonegotiation Half/full duplex Speed Flow control Quality of Service Multicast Multiple Spanning Tree Protocol (MSTP) 42

Reading Instructions Behrouz A. Forouzan, Data Communications and Networking, third edition 14 Local Area Networks: Ethernet o o o 14.1 Traditional Ethernet 14.2 Fast Ethernet 14.3 Gigabit Ethernet 16 Connecting LANs, Backbone Networks, and Virtual LANs o o 16.1 Connecting Devices 16.3 Virtual LANs Backes, F., "Transparent bridges for interconnection of IEEE 802 LANs," IEEE Network, Vol. 2, No. 1. 1988 43