Modeling and Simulating STP vs RSTP on Ring and Mesh Network Topologies

Similar documents
ENSC 835: COMMUNICATION NETWORKS MODELING AND SIMULATING SPANNING TREE PROTOCOL VS RAPID SPANNING TREE PROTOCOL ON VARIOUS NETWORK TOPOLOGIES

Implement Spanning Tree Protocols. LAN Switching and Wireless Chapter 5

Evaluation and Comparison of STP and RSTP on Cisco switches via OPNET

Spanning-Tree Protocol

Connexium Managed Switches - Redundancy Capabilities

Chapter 16: Switched Ethernet in Automation. Wenbo Qiao

Improving network convergence with Multiple Spanning Tree Protocol

Spanning Tree Protocol(STP)

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

Transparent Bridging and VLAN

Benchmarking and Compliance Methodology for White Rabbit Switches

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

Copyright 2014 CertificationKits LLC. All Rights Reserved. 2

Packet Switching on L2 (LAN Level)

Configuring STP and RSTP

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

Configuring STP. Understanding Spanning-Tree Features CHAPTER

Alternative Multiple Spanning Tree Protocol (AMSTP) for Optical Ethernet Backbones

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

DD2490 p Layer 2 networking. Olof Hagsand KTH CSC

Chapter 4 Configuring Switching

ก ก Information Technology II

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

Implementation of a Multi-Channel Multi-Interface Ad-Hoc Wireless Network

Packet Switching on L2 (LAN Level)

Top-Down Network Design

Communication Redundancy User s Manual

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

Enhanced Forwarding Strategy in Metro Ethernet Networks

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

ECE 333: Introduction to Communication Networks Fall 2001

Chapter 5. Spanning Tree Protocol (STP) Part II

Cisco CCNA (ICND1, ICND2) Bootcamp

Discussion on IGMP Snooping and Its Sequence in Industrial Applicaiton

CCNA Routing and Switching Study Guide Chapters 1 & 15: Enhanced Switching

HSRP (Hot Stand by Routing Protocol) Reliability Issues Over the Internet Service Provider s Network

Question No: 1 On the MSTP network as shown in the figure, what is the role of the switch in MSTI 1 according to the configuration?

New Forwarding Strategy for Metro Ethernet Networks Based on Hierarchical Addressing

Data Communications. Connecting Devices

Configuring Rapid PVST+ Using NX-OS

ICND2. Rapid Spanning-Tree Protocol. These exercises utilize build on the previous ones used in the last class sessions.

Implementation of the meshed tree algorithm on a switched network

Configuring Spanning Tree Protocol

Rapid spanning tree protocol

Understanding Issues Related to Inter VLAN Bridging

Configuring Rapid PVST+

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

CS3600 SYSTEMS AND NETWORKS

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

Configuring Rapid PVST+

Figure 7-1 Unicast Static FDB window

TestOut Routing and Switching Pro - English 6.0.x COURSE OUTLINE. Modified

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

802.1AS Fast Master Clock Selection

Manual:Interface/Bridge - MikroTik Wiki

The Spanning Tree Protocol

MSTP Configuration. Page 1 of 24

Understanding Rapid Spanning Tree Protocol (802.1w)

CCNA. Murlisona App. Hiralal Lane, Ravivar Karanja, Near Pethe High-School, ,

Table of Contents 1 MSTP Configuration 1-1

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

Configuring MSTP CHAPTER

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

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

SPANNING TREE PROTOCOL GUIDE FOR ARAKNIS NETWORKS EQUIPMENT

CS4700/CS5700 Fundamentals of Computer Networks

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

CompSci 356: Computer Network Architectures. Lecture 7: Switching technologies Chapter 3.1. Xiaowei Yang

Introduction to OSPF

RSTP Configuration. Page 1 of 26

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

cs/ee 143 Communication Networks

CSE 461: Bridging LANs. Last Topic

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

Understanding and Configuring STP

Building Cisco Multilayer Switched Networks (BCMSN)

MSTP Configuration. Configuration

The fundamentals of Ethernet!

Configuring STP Extensions

Configuring RRPP. Overview. Basic RRPP concepts. RRPP domain

Configuring Spanning Tree

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

Configuring Transparent Bridging

Configuring Spanning Tree Protocol

Spanning Tree Protocol

ENSC- 894 Communication Network FINAL PROJECT PRESENTATIONS Spring 2015

5 Days Course on LAN Switching & Wireless and Accessing the WAN (CCNA 3 & 4)

Managing Network Spanning Trees

2D1490 p Bridging, spanning tree and related issues. Olof Hagsand KTHNOC/NADA

Objectives. 1. Introduction:

802.1w Rapid Spanning Tree Protocol (RSTP) 802.1d Spanning Tree Protocol (STP)

Internetworking Part 1

4 Spanning Tree Protokoll 802.1D-2004

Exam Questions

Load Balanced Spanning Tree in Metro Ethernet Networks

HUAWEI AR Series SEP Technical White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 1.0. Date

Cisco Certified Network Associate ( )

Local Restoration in Metro Ethernet Networks for Multiple Link Failures

Communication Networks ( ) / Spring 2011 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

DD2490 p Bridging, spanning tree and related issues. Olof Hagsand KTH/CSC

Transcription:

Modeling and Simulating STP vs RSTP on Ring and Mesh Network Topologies ENSC 835: Communication Networks Spring 2011 Final Project Presentation www.sfu.ca/~mmkhan Group 6: Simran Sarai (sks17@sfu.ca, 301058482) Mohammad Manjur Rashed Khan (mmkhan@sfu.ca, 301136637)

Roadmap Introduction Motivation and Objective Overview of related work Formation of Spanning Tree Bridge Protocol Data Unit Simulation and Results in OPNET14.0 Summary and Conclusions Organization and Timelines Future Work References 2

Introduction Spanning Tree Protocol (STP) is a Data Link Layer protocol STP is standardized as IEEE 802.1D Rapid Spanning Tree Protocol (RSTP) is the refinement of STP RSTP is standardized as IEEE 802.1W Both, STP and RSTP, ensure a loop-free topology for a bridged Ethernet Local Area Network Application Presentation Session Transport Network Data Link Physical OSI Model 3

Motivation and Objective When two endpoints have more than one Layer-2 path, a switching loop is formed Switching loop creates broadcast radiation, i.e. repeatedly rebroadcasting the broadcasted messages Objectives: create a switching-loop free network using spanning tree protocols analyze STP vs RSTP performance with a failure and recovery of network link compare tree convergence behaviors by increasing the links and nodes in the network. Workstation Switch Switch Workstation 4

Overview of related work Raniwala and T. Chiueh, Architecture and Algorithms for an IEEE 802.11-Based Multi-Channel Wireless Mesh Network, Proc. of IEEE Infocom 2005, vol. 3, 13-17, pp. 2223-2234, March 2005 used traffic load to dynamically assign STP forwarding path H. S. Chiu, B. Wu, K. L. Yeung, and K.-S. Lui, Widest Spanning Tree for Multi-Channel Multi-Interface Wireless Mesh Networks, Proc. Of IEEE WCNC, pp. 2194-2199, April 2008 solved wide STP problem using mathematical formulation K. Lui, W.C. Lee and K. Nahrstedt, STAR: A transparent spanning tree bridge protocol with alternate routing, ACM SIGCOMM Computer Communications,Review 32, July 2002 presented shortest forwarding path to improve QoS 5

Formation of Spanning Tree Five bridges B1, B2, B3, B4 and B5 Four LANs LAN1, LAN2, LAN3 and LAN4 LANs connected to each other through Bridges 6

Formation of Spanning Tree Five bridges B1, B2, B3, B4 and B5 Four LANs LAN1, LAN2, LAN3 and LAN4 LANs connected to each other through Bridges Loops are created due to physical connections 7

Formation of Spanning Tree Root Bridge The bridge with the smallest ID is the root bridge 8

Formation of Spanning Tree Root Bridge On each LAN, the bridge with the least cost path to the root bridge is the designated bridge Designated Bridges 9

Formation of Spanning Tree Root Bridge On each bridge, the port with the least cost path to the root bridge is the root port Root Port Designated Port 10

Formation of Spanning Tree Root Bridge Root Port Designated Port Blocked link 11

Formation of Spanning Tree Root Bridge 12

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 BPDU is a 802.1 data frame used to communicate between bridges Contains timing parameters, MAC Address and priority of the root bridge and designated bridge Timing Parameter Hello Time MaximumAge Description How often bridge broadcastsbpdu frame to the network Time before the received BPDU expires in the bridge Forwarding Delay Time the bridge takes to converge from blocking state to forwarding state Simulatio n Value 2 seconds 20 seconds 15 seconds 13

Simulation OPNET14.0 Ring Topology with 5 bridges Server connected to Bridge 3 Workstation connected to Bridge 5 Bridge 3-4 link virtually blocked by STP formation Spanning Tree Blocked Link 14

STP vs RSTP in Ring Topology STP formation delay ~ 30s RSTP formation delay ~ 6s BPDU traffic in RSTP > STP Results in quick formation of spanning tree in RSTP 15

Failure/Recovery Analysis in STP At 2 minutes, link between Bridge 4 and Bridge 5 fails Blocked link between Bridge 3 and Bridge 4 reactivates At 3 minutes, link between Bridge 4 and Bridge 5 recovers Link between Bridge 3 and Bridge 4 gets blocked Link fails at 2 min. Link recovers at 3 min. 16

Failure/Recovery Analysis in STP Without failure/recovery Bridge4<->Bridge5 has continuous throughput Bridge3<->Bridge4 has zero throughput With failure/recovery Bridge4<->Bridge5 fails from 2 minutes up to 3 minutes Bridge3<->Bridge4 activates after 2 minutes + STP formation time 17

Failure/Recovery Analysis in RSTP Bridge4<->Bridge5 fails from 2 minutes up to 3 minutes Bridge3<->Bridge4 activates after 2 minutes + RSTP formation time BPDU Traffic increases at 2 minutes and 3 minutes 18

Simulation OPNET14.0 Mesh Topology with 5 bridges Server connected to Bridge 3 Workstation connected to Bridge 5 Bridge3<->Bridge4, Bridge1<->Bridge3 and Bridge5<->Bridge6 blocked by STP formation Spanning Tree Blocked Link 19

Simulation OPNET14.0 Mesh Topology with 8 bridges Bridge3<->Bridge4, Bridge4<->Bridge9, Bridge9<->Bridge6 and Bridge9<->Bridge8 blocked by STP formation Spanning Tree Blocked Link 20

STP vs RSTP with 8 bridges in Mesh STP takes 41 seconds to reform a tree RSTP takes 10 seconds to reform a tree 21

Conclusion STP and RSTP create virtual network and prevents switching loop Ring Topology STP takes ~30s to form a spanning tree RSTP takes ~6s to form a spanning tree Mesh Topology Increasing links did not change the spanning tree formation time Increasing nodes increased STP formation time by 11s and RSTP formation time by 4s RSTP uses more BPDU traffic than STP 22

Organization and Timelines Task Completed by Completion Time Understand Spanning Tree protocols Familiarize with OPNET14.0 Simran and Manjur Simran and Manjur 4 weeks 12 weeks Create Ring Model Simran and Manjur 4 weeks Create Mesh Model with 5 bridges Create Mesh Model with 8 bridges Simran and Manjur Simran and Manjur 1 week 1 week Analyze results Simran and Manjur 2 weeks 23

Future Work Determine the maximum number of nodes supported by a tree to ensure the BPDU travels to all the nodes before its maximum age expires Reduce Spanning tree re-formation time by storing pre-calculated spanning trees with every possible link failure 24

References J. Farkas and Z. Arato, Performance Analysis of Shortest Path Bridging Control Protocols, Global Telecommunications Conference, Budapest, Hungary, pp.1-6, Nov./Dec. 2009. A. Azcorra and G. Ibanez, Application of Rapid Spanning Tree Protocol for Automatic Hierarchical Address Assignment to Bridges, Telecommunications Network Strategy and Planning Symposium, Madrid, Spain, pp. 435-440, June 2004. S. Angelescu, Chapter -4: Spanning Tree Protocol, CCNA Certification All-In-One for Dummies, 5th Edition, pp. 385-408. J. T. Yu, Applying IEEE 802.1w (RSTP) to Improve Service Availability, IEEE International Conference on Dependable Systems and Networks, pp. B10-B11, June 2003. J. T. Yu, Performance Evaluation on Linux Bridge, Telecommunications System Management Conference, Louisville, Kentucky, April 2004. 25

Questions 26