Hirschmann RS20 User Manual

Hirschmann RS20 User Manual

Industrial ethernet switch
Hide thumbs Also See for RS20:

Advertisement

User Manual

Redundancy Configuration
Industrial ETHERNET Switch
RS20, RSB20
Redundancy
Technical Support
Release 6.0 07/2010
HAC.Support@Belden.com

Advertisement

Table of Contents
loading

Summary of Contents for Hirschmann RS20

  • Page 1: User Manual

    User Manual Redundancy Configuration Industrial ETHERNET Switch RS20, RSB20 Redundancy Technical Support Release 6.0 07/2010 HAC.Support@Belden.com...
  • Page 2 In addition, we refer to the conditions of use specified in the license contract. You can get the latest version of this manual on the Internet at the Hirschmann product site (www.hirschmann-ac.de). Printed in Germany Hirschmann Automation and Control GmbH Stuttgarter Str.
  • Page 3: Table Of Contents

    Contents About this Manual Introduction Overview of Redundancy Topologies Overview of Redundancy Protocols Ring Redundancy Example of a HIPER-Ring 2.1.1 Setting up and configuring the HIPER-Ring Example of an MRP-Ring Multiple Rings Sub-Ring 3.1.1 Example configuration Spanning Tree The Spanning Tree Protocol 4.1.1 The tasks of the STP 4.1.2 Bridge parameters 4.1.3 Bridge Identifier...
  • Page 4 Contents 4.6.5 Configuring the Rapid Spanning Tree Combining RSTP and MRP 4.7.1 Application example for the combination of RSTP and Readers’ Comments Index Further Support Redundancy Release 6.0 07/2010...
  • Page 5: About This Manual

    About this Manual About this Manual The “Redundancy Configuration” user manual contains the information you need to select a suitable redundancy procedure and configure that procedure. The “Basic Configuration” user manual contains the information you need to start operating the device. It takes you step by step from the first startup operation through to the basic settings for operation in your environment.
  • Page 6: Key

    The designations used in this manual have the following meanings: List Work step Subheading Link Indicates a cross-reference with a stored link Note: A note emphasizes an important fact or draws your attention to a dependency. ASCII representation in user interface Courier Execution in the Web-based Interface user interface Execution in the Command Line Interface user interface...
  • Page 7 Bridge A random computer Configuration Computer Server PLC - Programmable logic controller I/O - Robot Redundancy L2B Release 6.0 07/2010...
  • Page 8 Redundancy Release 6.0 07/2010...
  • Page 9: Introduction

    Introduction 1 Introduction The device contains a range of redundancy functions: HIPER-Ring MRP-Ring Redundancy L2B Release 6.0 07/2010...
  • Page 10: Overview Of Redundancy Topologies

    Introduction 1.1 Overview of Redundancy Topolo- gies 1.1 Overview of Redundancy Topologies To introduce redundancy onto layer 2 of a network, first clarify which network topology you require. Depending on the network topology selected, you then choose from the redundancy protocols that can be used with this network topology.
  • Page 11: Overview Of Redundancy Protocols

    Introduction 1.2 Overview of Redundancy Protocols 1.2 Overview of Redundancy Protocols Redundancy Network topology Switch-over time procedure RSTP Random structure typically < 1 s (STP < 30 s), up to < 30 s - depends heavily on the number of devices Note: Up to 79 devices possible, depending on topology and configuration.
  • Page 12 Introduction 1.2 Overview of Redundancy Protocols Redundancy Release 6.0 07/2010...
  • Page 13: Ring Redundancy

    Ring Redundancy 1.2 Overview of Redundancy Protocols 2 Ring Redundancy The concept of ring redundancy allows the construction of high-availability, ring-shaped network structures. With the help of the RM (Ring Manager) function, the two ends of a backbone in a line structure can be closed to a redundant ring. The ring manager keeps the redundant line open as long as the line structure is intact.
  • Page 14 Devices with HIPER-Ring function capability: Within a HIPER-Ring, you can use any combination of the following devices: – RS1 – RS2-./. – RS2-16M – RS2-4R – RS20, RS30, RS40 – RSR20, RSR30 – OCTOPUS – MICE – MS20, MS30 – PowerMICE – MACH 100 –...
  • Page 15: Example Of A Hiper-Ring

    Ring Redundancy 2.1 Example of a HIPER-Ring 2.1 Example of a HIPER-Ring A network contains a backbone in a line structure with 3 devices. To increase the redundancy reliability of the backbone, you have decided to convert the line structure to a HIPER-Ring. You use ports 1.1 and 1.2 of the devices to connect the lines Figure 3: Example of HIPER-Ring RM = Ring Manager...
  • Page 16 Ring Redundancy 2.1 Example of a HIPER-Ring Note: Configure all the devices of the HIPER-Ring individually. Before you connect the redundant line, you must complete the configuration of all the devices of the HIPER-Ring. You thus avoid loops during the configuration phase.
  • Page 17: Setting Up And Configuring The Hiper-Ring

    Ring Redundancy 2.1 Example of a HIPER-Ring 2.1.1 Setting up and configuring the HIPER-Ring Set up the network to meet your demands. You configure all 6 ports so that the transmission speed and the duplex settings of the lines correspond to the following table: Bit rate 100 Mbit/s 1000 Mbit/s...
  • Page 18 Ring Redundancy 2.1 Example of a HIPER-Ring Display in “Operation” field: – active: This port is switched on and has a link. – inactive: This port is switched off or it has no link. Figure 4: Ring Redundancy dialog Activate the ring manager for this device. Do not activate the ring manager for any other device in the HIPER-Ring.
  • Page 19 Ring Redundancy 2.1 Example of a HIPER-Ring Switch to the Privileged EXEC mode. enable Switch to the Configuration mode. configure hiper-ring mode ring-manager Select the HIPER-Ring ring redundancy and define the device as ring manager. Switch's HIPER Ring mode set to ring-manager Define port 1 in module 1 as ring port 1.
  • Page 20 Ring Redundancy 2.1 Example of a HIPER-Ring The displays in the “Information” frame mean – “Redundancy existing”: One of the lines affected by the function may be interrupted, with the redundant line then taking over the function of the interrupted line. –...
  • Page 21: Example Of An Mrp-Ring

    Ring Redundancy 2.2 Example of an MRP-Ring 2.2 Example of an MRP-Ring A network contains a backbone in a line structure with 3 devices. To increase the availability of the backbone, you decide to convert the line structure to a redundant ring.
  • Page 22 Ring Redundancy 2.2 Example of an MRP-Ring Note: For devices with DIP switches, put all DIP switches to “On”. The effect of this is that you can use the software configuration to configure the redundancy function without any restrictions. You thus avoid the possibility of the software configuration being hindered by the DIP switches.
  • Page 23 Ring Redundancy 2.2 Example of an MRP-Ring Display in “Operation” field: forwarding: this port is switched on and has a link. blocked: this port is blocked and has a link disabled: this port is disabled not-connected: this port has no link Figure 6: Ring Redundancy dialog In the “Ring Recovery”...
  • Page 24 Ring Redundancy 2.2 Example of an MRP-Ring The displays in the “Information” frame mean – “Redundancy existing”: One of the lines affected by the function may be interrupted, with the redundant line then taking over the function of the interrupted line. –...
  • Page 25 Ring Redundancy 2.2 Example of an MRP-Ring Primary Port set to 1/1 Define port 2 in module 1 as ring port 2 mrp current-domain (secondary). port secondary 1/2 Secondary Port set to 1/2 Define this device as the ring manager. mrp current-domain mode manager Mode of Switch set to Manager...
  • Page 26 Ring Redundancy 2.2 Example of an MRP-Ring Redundancy Release 6.0 07/2010...
  • Page 27: Multiple Rings

    Multiple Rings 2.2 Example of an MRP-Ring 3 Multiple Rings The device allows you to set up multiple rings with different redundancy protocols: You have the option of nesting MRP-Rings. A coupled ring is known as a Sub-Ring (see on page 28 “Sub-Ring“).
  • Page 28: Sub-Ring

    Multiple Rings 3.1 Sub-Ring 3.1 Sub-Ring The Sub-Ring concept enables you to easily couple new network segments to suitable devices in existing redundancy rings (primary rings). The devices of the primary ring to which the new Sub-Ring is being coupled are referred to as Sub-Ring Managers (SRMs).
  • Page 29 Multiple Rings 3.1 Sub-Ring Jeder Sub-Ring kann aus bis zu 200 Teilnehmern bestehen, dabei zählen die beiden SRM und die zwischen den SRMs liegenden Switches im Hauptring nicht mit. Setting up Sub-Rings has the following advantages: Through the coupling process, you include the new network segment in the redundancy concept.
  • Page 30 Multiple Rings 3.1 Sub-Ring SRM 1 SRM 2 SRM 3 Figure 9: Special case: a Sub-Ring Manager manages 2 Sub-Rings (2 instances). Depending on the device type, you can configure additional instances. SRM 1 Figure 10: Special case: a Sub-Ring Manager manages both ends of a Sub-Ring at different ports (Single Sub-Ring Manger).
  • Page 31: Example Configuration

    Multiple Rings 3.1 Sub-Ring Note: Sub-Rings use MRP. You can couple Sub-Rings to existing primary rings with the HIPER-Ring protocol, the Fast HIPER-Ring protocol and MRP. If you couple a Sub-Ring to a primary ring under MRP, configure both rings in different VLANs.
  • Page 32 Multiple Rings 3.1 Sub-Ring SRM 1 SRM 2 Figure 11: Beispiel für Sub-Ring-Struktur 1 blauer Ring = Basis-Ring 2 orangefarbener Ring = Sub-Ring SRM = Sub-Ring-Manager RM = Ring-Manager Proceed as follows to configure a Sub-Ring: Configure the three devices of the new network segment as participants in an MRP-Ring.
  • Page 33 Multiple Rings 3.1 Sub-Ring – In the Ring Redundancy dialog, under MRP-Ring, configure for all devices the two ring ports used in the Sub-Ring. – Switch the Ring Manager function off for all devices. – Do not configure link aggregation. –...
  • Page 34 Multiple Rings 3.1 Sub-Ring Select the Redundancy:Sub-Ring dialog. Click the button "New“. Figure 12: Sub-Ring - New Entry dialog Enter the value “1” as the ring ID of this Sub-Ring. In the Module.Port field, enter the ID of the port (in the form X.X) that connects the device to the Sub-Ring (in the example, 1.9).
  • Page 35 Multiple Rings 3.1 Sub-Ring Select the Sub-Ring Manager mode (SRM mode). You thus specify which connection between the primary ring and the Sub-Ring becomes the redundant line. The options for the connection are: Both Sub-Ring Managers have the same setting (default manager): - the device with the higher MAC address manages the redundant line.
  • Page 36 Multiple Rings 3.1 Sub-Ring Click “Reload” to update the Sub-Ring overview and check all the entries. Figure 13: Completely configured Sub-Ring Manager Configure the 2nd Sub-Ring Manager in the same way. If you have explicitly assigned SRM 1 the SRM mode manager, you configure SRM 2 as redundant manager.
  • Page 37 Multiple Rings 3.1 Sub-Ring Switch to the Privileged EXEC mode. enable Switch to the Configuration mode. configure Switches on the Sub-Ring with the Sub-Ring ID 1. sub-ring 1 operation enable Operation set to Enabled Switch to the privileged EXEC mode. exit Displays the state for all Sub-Rings on this show sub-ring...
  • Page 38 Multiple Rings 3.1 Sub-Ring Redundancy Release 6.0 07/2010...
  • Page 39: Spanning Tree

    Spanning Tree 3.1 Sub-Ring 4 Spanning Tree Note: The Spanning Tree Protocol is a protocol for MAC bridges. For this reason, the following description employs the term bridge for Switch. Local networks are getting bigger and bigger. This applies to both the geographical expansion and the number of network participants.
  • Page 40 Spanning Tree 3.1 Sub-Ring Note: The RSTP standard dictates that all the devices within a network work with the (Rapid) Spanning Tree Algorithm. If STP and RSTP are used at the same time, the advantages of faster reconfiguration with RSTP are lost. A device that only supports RSTP works together with MSTP devices by not assigning an MST region to itself, but rather the CST (Common Spanning Tree).
  • Page 41: The Spanning Tree Protocol

    Spanning Tree 4.1 The Spanning Tree Protocol 4.1 The Spanning Tree Protocol Because RSTP is a further development of the STP, all the following descriptions of the STP also apply to the RSTP. 4.1.1 The tasks of the STP The Spanning Tree Algorithm reduces network topologies built with bridges and containing ring structures due to redundant links to a tree structure.
  • Page 42: Bridge Parameters

    Spanning Tree 4.1 The Spanning Tree Protocol 4.1.2 Bridge parameters Each bridge is uniquely described by the parameters: Bridge Identifier Root Path Cost for the bridge ports, Port Identifier 4.1.3 Bridge Identifier The Bridge Identifier consists of 8 bytes. The 2 highest-value bytes are the priority.
  • Page 43: Root Path Cost

    Spanning Tree 4.1 The Spanning Tree Protocol 4.1.4 Root Path Cost Each path that connects 2 bridges is assigned a cost for the transmission (path cost). The Switch determines this value based on the transmission speed (see table 6). It assigns a higher path cost to paths with lower transmission speeds.
  • Page 44 Spanning Tree 4.1 The Spanning Tree Protocol Data rate Recommended value Recommended range Possible range <=100 kBit/s 200,000,000 20,000,000-200,000,000 1-200,000,000 1 MBit/s 20,000,000 2,000,000-200,000,000 1-200,000,000 10 MBit/s 2,000,000 200,000-20,000,000 1-200,000,000 100 MBit/s 200,000 20,000-2,000,000 1-200,000,000 1 GBit/s 20,000 2,000-200,000 1-200,000,000 10 GBit/s 2,000 200-20,000...
  • Page 45: Port Identifier

    Spanning Tree 4.1 The Spanning Tree Protocol 4.1.5 Port Identifier The Port Identifier consists of 2 bytes. One part, the least-significant byte, contains the physical port number. This provides a unique identifier for each port of the bridge. The second part is the port priority, which can be set by the Administrator (default value: 128).
  • Page 46: Rules For Creating The Tree Structure

    Spanning Tree 4.2 Rules for Creating the Tree Struc- ture 4.2 Rules for Creating the Tree Structure 4.2.1 Bridge information To determine the tree structure, the bridges need more detailed information about the other bridges located in the network. To obtain this information, each bridge sends a BPDU (Bridge Protocol Data Unit) to the other bridges.
  • Page 47 Spanning Tree 4.2 Rules for Creating the Tree Struc- ture Of more than 1 path with the same root path costs originates from a bridge, the port identifier is used as the last criterion (see fig. 16). This decides which port is selected. Determine root path Equal Path with lowest...
  • Page 48: Example Of Root Path Determination

    Spanning Tree 4.3 Example of Root Path Determina- tion 4.3 Example of Root Path Determination The network plan (see fig. 18) can be used to create the flow diagram (see fig. 17) for defining the root path. The Administrator has defined a different priority for for each bridge’s bridge identifier.
  • Page 49 Spanning Tree 4.3 Example of Root Path Determina- tion P-BID = 16 384 Bridge 1 P-BID = 20 480 P-BID = 24 576 Bridge 2 Bridge 3 P-BID = 40 960 Bridge 7 P-BID = 28 672 P-BID = 32 768 Port 3 Bridge 4 Bridge 5...
  • Page 50: Example Of Root Path Manipulation

    Spanning Tree 4.4 Example of Root Path Manipulation 4.4 Example of Root Path Manipulation The network plan (see fig. 18) can be used to create the flow diagram (see fig. 17) for defining the root path. The Administrator – left the default value of 32,768 for each bridge except for bridge 1,–...
  • Page 51 Spanning Tree 4.4 Example of Root Path Manipulation P-BID = 16 384 Bridge 1 P-BID = 32 768 P-BID = 32 768 Bridge 2 Bridge 3 P-BID = 32 768 Bridge 7 P-BID = 32 768 P-BID = 32 768 Port 3 Bridge 4 Bridge 5...
  • Page 52: Example Of Tree Structure Manipulation

    Spanning Tree 4.5 Example of Tree Structure Mani- pulation 4.5 Example of Tree Structure Manipulation The Management Administrator soon discovers that this configuration with bridge 1 as the root bridge (see on page 10 „Example of Root Path Determination“) is unfavorable. On the paths from bridge 1 to bridge 2 and bridge 1 to bridge 3, the control packets which the root bridge sends to all other bridges are adding up.If the Management Administrator makes bridge 2 the root bridge, the burden of the control packets on the subnetworks is...
  • Page 53: The Rapid Spanning Tree Protocol

    Spanning Tree 4.6 The Rapid Spanning Tree Protocol 4.6 The Rapid Spanning Tree Protocol The RSTP uses the same algorithm for determining the tree structure as STP. RSTP merely changes parameters, and adds new parameters and mechanism that speed up the reconfiguration if a link or bridge becomes inoperable.
  • Page 54 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Edge port Every network segment with no additional RSTP bridges is connected with exactly one designated port. In this case, this designated port is also an edge port. The distinction of an edge port is the fact that it does not receive any RST BPDUs (Rapid Spanning Tree Bridge Protocol Data Units).
  • Page 55: Port States

    Spanning Tree 4.6 The Rapid Spanning Tree Protocol P-BID = 16 384 Bridge 1 P-BID = 20 480 P-BID = 24 576 Bridge 2 Bridge 3 P-BID = 40 960 Bridge 7 P-BID = 28 672 P-BID = 32 768 Priority of the bridge identifikation (BID) P-BID = BID without MAC Address...
  • Page 56: Spanning Tree Priority Vector

    Spanning Tree 4.6 The Rapid Spanning Tree Protocol STP port state Administrative RSTP Active topology bridge port operational Port state (port role) state DISABLED Disabled FALSE Discarding Excluded (disabled) DISABLED Enabled FALSE Discarding Excluded (disabled) BLOCKING Enabled TRUE Discarding Excluded (alternate, backup) LISTENING Enabled TRUE...
  • Page 57: Fast Reconfiguration

    Spanning Tree 4.6 The Rapid Spanning Tree Protocol Based on this information, the bridges participating in RSTP are able to determine port roles autonomously and define their local ports’ states. 4.6.4 Fast reconfiguration Why can RSTP react faster than STP to an interruption of the root path? Introduction of edge ports: During a reconfiguration, RSTP sets an edge port to the transmission mode after 3 seconds and then waits for the “Hello Time”...
  • Page 58: Configuring The Rapid Spanning Tree

    Spanning Tree 4.6 The Rapid Spanning Tree Protocol Note: The drawback for this fast reconfiguration is the possibility that data packets may be duplicated or their sequence be altered during the reconfiguration phase. If this is unacceptable for your application, use the slower Spanning Tree Protocol or select one of the other, faster redundancy procedures described in this manual.
  • Page 59 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Switch on RSTP on each device Figure 22: Operation on/off Redundancy L2B Release 6.0 07/2010...
  • Page 60 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Define the desired Switch as the root bridge by assigning it the lowest priority in the bridge information among all the bridges in the network, in the “Protocol Configuration/Information” frame. Note that only multiples of 4,096 can be entered for this value (see table In the “Root Information”...
  • Page 61 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Figure 23: Assigning Hello Time, Forward Delay and Max. Age The times entered in the RSTP dialog are in units of 1 s Example: a Hello Time of 2 corresponds to 2 seconds. Now connect the redundant lines.
  • Page 62 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Parameter Meaning Possible Values Default Setting Priority The priority and the MAC address go 0 < n*4,096 < 61,440 32,768 together to make up the bridge identification. Hello Time Sets the Hello Time. 1 - 2 The local Hello Time is the time in seconds between the sending of two...
  • Page 63 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Diameter = 7 Age = 5 Age = 4 = Root Figure 24: Definition of diameter and age The diameter is the number of connections between the two devices furthest away from the root bridge. The parameters –...
  • Page 64 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Figure 25: Configuring RSTP per port Note: Deactivate the Spanning Tree Protocol on the ports connected to a redundant ring, because Spanning Tree and Ring Redundancy work with different reaction times. Redundancy Release 6.0 07/2010...
  • Page 65 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Parameter Meaning Possible Values Default Setting STP active Here you can switch Spanning Tree On, Off on or off for this port. If Spanning Tree is activated globally and switched off at one port, this port does not send STP-BPDUs and drops any STP-BPDUs received.
  • Page 66 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Parameter Meaning Possible Values Default Setting Admin Edge Activate this setting when a terminal active (box inactive Port device is connected to the port. selected), Then the port immediately has the inactive (box forwarding status after a link is set empty) up, without first going through the...
  • Page 67 Spanning Tree 4.6 The Rapid Spanning Tree Protocol Parameter Meaning Possible Values Default Setting Actual point-to- The “Actual point-to-point” condition true, false point (read only) is true if this port has a full duplex is determined from connection to an STP device, duplex mode: otherwise it is false (e.g.
  • Page 68: Combining Rstp And Mrp

    Spanning Tree 4.7 Combining RSTP and MRP 4.7 Combining RSTP and MRP In the MRP compatibility mode, the device allows you to combine RSTP with MRP. With the combination of RSTP and MRP, the fast switching times of MRP are maintained.
  • Page 69 Spanning Tree 4.7 Combining RSTP and MRP Activate RSTP on the RSTP ports and on the MRP-Ring ports. Configure the RSTP root bridge and the RSTP backup root bridge in the MRP-Ring: – Set the priority. – If you exceed the RSTP diameter specified by the default value of Max Age = 20, modify “Max Age”...
  • Page 70: Application Example For The Combination Of Rstp And Mrp

    Spanning Tree 4.7 Combining RSTP and MRP 4.7.1 Application example for the combination of RSTP and MRP The figure (see fig. 27) shows an example for the combination of RSTP and MRP. Parameter MRP settings Ring redundancy: MRP version Ring port 1 Ring port 2 Port from MRP-Ring to the RSTP net Redundancy Manager mode...
  • Page 71 Spanning Tree 4.7 Combining RSTP and MRP Figure 27: Application example for the combination of RSTP and MRP 1: MRP-Ring, 2: RSTP-Ring, 3: Redundant RSTP connection RM: Ring Manager S2 is RSTP Root Bridge S1 is RSTP Backup Root Bridge Activate RSTP at the ports, using S1 as an example.
  • Page 72 Spanning Tree 4.7 Combining RSTP and MRP Configure the global settings, using S1 as an example: – the RSTP priority – global operation – the MRP compatibility mode Set the RSTP priority for the MST instance 0 to spanning-tree mst priority 0 the value 4,096.
  • Page 73: A Readers' Comments

    Readers’ Comments 4.7 Combining RSTP and MRP A Readers’ Comments What is your opinion of this manual? We are always striving to provide as comprehensive a description of our product as possible, as well as important information that will ensure trouble-free operation. Your comments and suggestions help us to further improve the quality of our documentation.
  • Page 74 Date / Signature: Dear User, Please fill out and return this page as a fax to the number +49 (0)7127/14-1600 or by mail to Hirschmann Automation and Control GmbH Department AED Stuttgarter Str. 45-51 72654 Neckartenzlingen Redundancy Release 6.0 07/2010...
  • Page 75: B Index

    Index 4.7 Combining RSTP and MRP B Index Root Bridge Advanced Mode Root Path Cost Root port 53, 53 Alternate port 54, 54 RST BPDU 54, 56 Backup port Sub-Ring configuration Bridge Identifier 42, 42 Symbol Configuration error 20, 24 Technical questions Configuring the HIPER-Ring Training courses...
  • Page 76 Index 4.7 Combining RSTP and MRP Redundancy Release 6.0 07/2010...
  • Page 77: C Further Support

    4.7 Combining RSTP and MRP C Further Support Technical Questions and competition scenario, the Training Courses Hirschmann Competence Center In the event of technical queries, is ahead of its competitors on please contact your local three counts with its complete...

This manual is also suitable for:

Rsb20Powermice seriesMach 1040 seriesMach 4000 series

Table of Contents