Hirschmann RS20 Programming Manual

Hirschmann RS20 Programming Manual

Industrial ethernet (gigabit) switch
Hide thumbs Also See for RS20:

Advertisement

User Manual

Redundancy Configuration
Industrial ETHERNET (Gigabit) Switch
RS20/RS30/RS40, MS20/MS30, OCTOPUS, Power MICE,
RSR20/RSR30, MACH 100, MACH 1000, MACH 4000
Redundanz L2P
Technische Unterstützung
Release 5.0 04/09
HAC-Support@hirschmann.de

Advertisement

Table of Contents
loading

Summary of Contents for Hirschmann RS20

  • Page 1: User Manual

    User Manual Redundancy Configuration Industrial ETHERNET (Gigabit) Switch RS20/RS30/RS40, MS20/MS30, OCTOPUS, Power MICE, RSR20/RSR30, MACH 100, MACH 1000, MACH 4000 Redundanz L2P Technische Unterstützung Release 5.0 04/09 HAC-Support@hirschmann.de...
  • Page 2 This publication has been created by Hirschmann Automation and Control GmbH according to the best of our knowledge. Hirschmann reserves the right to change the con- tents of this manual without prior notice. Hirschmann can give no guarantee in respect of the correctness or accuracy of the details in this publication.
  • Page 3: Table Of Contents

    Content Content Content About this Manual Introduction Overview of Redundancy Procedure Link Aggregation Example of link aggregation 2.1.1 Creating and configuring the link aggregation HIPER-Ring and link aggregation Ring Redundancy Example of HIPER-Ring 3.1.1 Setting up and configuring the HIPER-Ring Example of MRP-Ring Example of Fast HIPER-Ring Sub-Ring (RSR20, RSR30, MACH1000)
  • Page 4 Content Rapid Spanning Tree The Spanning Tree Protocol 6.1.1 The tasks of the STP 6.1.2 Bridge parameters 6.1.3 Bridge Identifier 6.1.4 Root Path Costs 6.1.5 Port Identifier Rules for creating the tree structure 6.2.1 Bridge information 6.2.2 Setting up the tree structure Example of specifying the root paths Example of manipulating the root paths Example of manipulating the tree structure...
  • Page 5: About This Manual

    About this Manual About this Manual The “Redundancy Configuration” user manual contains all the information you need to select a suitable redundancy procedure and configure it. The “Basic Configuration” user manual contains all 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 A random computer Configuration Computer Server PLC - Programmable logic controller I/O - Robot Redundanz L2P Release 5.0 04/09...
  • Page 8 Redundanz L2P Release 5.0 04/09...
  • Page 9: Introduction

    Introduction 1 Introduction The device contains a range of redundancy functions: Link Aggregation HIPER-Ring MRP-Ring Fast HIPER-Ring (RSR20, RSR30 and MACH 1000) Sub-Ring (RSR20, RSR30 and MACH 1000) Ring/Network Coupling Rapid Spanning Tree Algorithm (RSTP) Redundanz L2P Release 5.0 04/09...
  • Page 10: Overview Of Redundancy Procedure

    Table 1: Comparison of the redundancy procedures Note: Informations concerning the switching time you can find on the Hirschmann internet site (www.hirschmann-ac.com) at the end of the product site. Redundanz L2P Release 5.0 04/09...
  • Page 11: Link Aggregation

    Link Aggregation 2 Link Aggregation There is link aggregation when there are at least two parallel redundant con- nection lines (known as a trunk) between two devices, and these lines are combined into one logical connection. You can use link aggregation to com- bine up to 8 (optimally up to 4) connection lines between devices into a trunk.
  • Page 12: Example Of Link Aggregation

    Link Aggregation 2.1 Example of link aggregation 2.1 Example of link aggregation In a network consisting of seven devices in a line topology, there are two segments with a particularly large amount of data traffic. You therefore decide to set up link aggregations in these segments. As well as dividing the load between a number of lines, you also get increased redundancy reliability in these segments through the redundant lines.
  • Page 13: Creating And Configuring The Link Aggregation

    Link Aggregation 2.1 Example of link aggregation 2.1.1 Creating and configuring the link aggregation Note: A link aggregation always has exactly two devices. You configure the link aggregation on each of the two devices involved. Dur- ing the configuration phase, you connect a maximum of one connection line between the devices.
  • Page 14 Link Aggregation 2.1 Example of link aggregation Proceed as follows to configure a link aggregation from 3 twisted pair lines on device 3: Select the Redundancy:Link Aggregation (see fig. 3) dialog. Figure 3: Creating the link aggregation Select Allow static link aggregation if the partner device does not support the Link Aggregation Control Protocol (LACP) (e.g.
  • Page 15 Link Aggregation 2.1 Example of link aggregation In the “STP Mode” column, you select on if the link aggregation connection is connected to a Spanning Tree, off if no Spanning Tree is active, or if the link aggregation is a segment of a HIPER-Ring.
  • Page 16 Link Aggregation 2.1 Example of link aggregation Figure 5: Assigning ports to link aggregation Switch to the Privileged EXEC mode. enable Switch to the Configuration mode. configure Create a new link aggregation with the name link-aggregation LATP LATP. New link aggregation created. Slot/port is 8.1. Configuration for port 1.1 Interface 1/1 Assign port 1.1 to link aggregation 8.1.
  • Page 17 Link Aggregation 2.1 Example of link aggregation Now you configure the partner device (device 2) in the same way. After the configuration, you connect the other connection line(s) between the devices. Note: Exclude the combination of a link aggregation with the following redundancy procedures: Network/Ring coupling MRP-Ring...
  • Page 18: Hiper-Ring And Link Aggregation

    Link Aggregation 2.2 HIPER-Ring and link aggregation 2.2 HIPER-Ring and link aggregation For Power MICE and MACH 4000: To increase the security on particularly critical connections, you can combine the HIPER-Ring (see on page 21 „Ring Redundancy“) and link aggregation redundancy functions.
  • Page 19 Link Aggregation 2.2 HIPER-Ring and link aggregation Note: If you want to use a link aggregation in a HIPER-Ring, you first configure the link aggregation, then the HIPER-Ring. In the HIPER-Ring dialog, you enter the index of the desired link aggregation as the value for the module and the port.
  • Page 20 Link Aggregation 2.2 HIPER-Ring and link aggregation Redundanz L2P Release 5.0 04/09...
  • Page 21: Ring Redundancy

    Ring Redundancy 3 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 22 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 – Power MICE – MACH 100 –...
  • Page 23 Ring Redundancy Note: The following usage of the term “ring manager” instead of “redundancy manager” makes the function easier to understand. Redundanz L2P Release 5.0 04/09...
  • Page 24: Example Of Hiper-Ring

    Note: As an alternative to using software to configure the HIPER-Ring, with the RS20/30/40, MS20/30 and PowerMICE Switches, you can also use a DIP switch to enter a number of settings. You can also use a DIP switch to enter a setting for whether the configuration via DIP switch or the configuration via software has priority.
  • Page 25 Ring Redundancy 3.1 Example of 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 26: Setting Up And Configuring The Hiper-Ring

    Ring Redundancy 3.1 Example of HIPER-Ring 3.1.1 Setting up and configuring the HIPER-Ring Set up the network to meet your requirements. 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 27 Ring Redundancy 3.1 Example of HIPER-Ring Figure 10: Ring Redundancy dialog (RSR20, RSR30, MACH 1000) Activate the ring manager for this device. Do not activate the ring manager for any other device in the HIPER-Ring. In the “Ring Recovery” frame, select the value “Standard” (default). Note: Settings in the “Ring Recovery”...
  • Page 28 Ring Redundancy 3.1 Example of 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 de- fine 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 29 Ring Redundancy 3.1 Example of HIPER-Ring The displays in the “Redundancy Manger Status” frame mean: – “Active (redundant line)”: The ring is open, which means that a data line or a network component within the ring is down. – “Inactive”: The ring is closed, which means that the data lines and network components are working.
  • Page 30: Example Of Mrp-Ring

    Ring Redundancy 3.2 Example of MRP-Ring 3.2 Example of MRP-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 ring redundancy. In contrast to the previous example, devices from different manufacturers are being used which do not all support the HIPER-Ring protocol.
  • Page 31 Ring Redundancy 3.2 Example of MRP-Ring Note: Configure all the devices of the MRP-Ring individually. Before you connect the redundant line, you must complete the configuration of all the de- vices of the MRP-Ring. You thus avoid loops during the configuration phase. Set up the network to meet your requirements.
  • Page 32 Ring Redundancy 3.2 Example of MRP-Ring Figure 12: Ring Redundancy dialog (RSR20, RSR30, MACH 1000) In the “Ring Recovery” frame, select 200ms. Note: If selecting 200ms for the ring recovery does not provide the ring stability necessary to meet the requirements of your network, you select 500ms.
  • Page 33 Ring Redundancy 3.2 Example of MRP-Ring If VLANs are configured, you make the following selections in the “VLAN” frame: - VLAN ID 0, if the MRP-Ring configuration is not to be assigned to a VLAN, as in this example. Note the VLAN configuration of the ring ports. Select VLAN ID 1 and VLAN membership Untagged in the static VLAN table for the ring ports.
  • Page 34 Ring Redundancy 3.2 Example of MRP-Ring MRP domain created: Domain ID: 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255 (Default MRP domain) Define port 1 in module 1 as ring port 1 (primary). mrp current-domain port primary 1/1 Primary Port set to 1/1 Define port 2 in module 1 as ring port 2 (second- mrp current-domain ary).
  • Page 35: Example Of Fast Hiper-Ring

    Ring Redundancy 3.3 Example of Fast HIPER-Ring 3.3 Example of Fast HIPER-Ring This example can be set up with models RSR20, RSR30 and MACH 1000. 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 ring redundancy.
  • Page 36 Ring Redundancy 3.3 Example of Fast HIPER-Ring Note: Configure all the devices of the Fast HIPER-Ring individually. Before you connect the redundant line, you must complete the configuration of all the devices of the Fast HIPER-Ring. You thus avoid loops during the configuration phase.
  • Page 37 Ring Redundancy 3.3 Example of Fast HIPER-Ring Figure 14: Ring Redundancy dialog (RSR20, RSR30, MACH 1000) Activate the ring manager for this device. Do not activate the ring manager for any other device in the Fast HIPER-Ring. Activate the function in the “Operation” frame. Leave the VLAN ID as 0 in the VLAN field.
  • Page 38 Ring Redundancy 3.3 Example of Fast HIPER-Ring The “VLAN” frame enables you to assign the Fast HIPER-Ring to a VLAN: If VLANs are configured, you make the following selections in the “VLAN” frame: - VLAN ID 0, if the Fast HIPER-Ring configuration is not to be as- signed to a VLAN (as in this example).
  • Page 39 Ring Redundancy 3.3 Example of Fast HIPER-Ring Define this device as the ring manager. fast-hiper-ring current-id mode ring-manager Mode of Switch set to Ring Manager Define the number of devices in the Fast HIPER- fast-hiper-ring current-id Ring as 3. nodes 3 Number of nodes set to 3 Activate the Fast HIPER-Ring.
  • Page 40 Ring Redundancy 3.3 Example of Fast HIPER-Ring Redundanz L2P Release 5.0 04/09...
  • Page 41: Sub-Ring (Rsr20, Rsr30, Mach1000)

    Sub-Ring (RSR20, RSR30, MACH1000) 4 Sub-Ring (RSR20, RSR30, MACH1000) The Sub-Ring concept enables you to easily couple new network segments to suitable devices in existing redundancy rings (basis ring). The devices of the basis ring to which the new Sub-Ring is being coupled are known as Sub- Ring Managers (SRM).
  • Page 42 Sub-Ring (RSR20, RSR30, MACH1000) Setting up Sub-Rings has the following advantages: Through the coupling process, you include the new network segment in the redundancy concept. You can easily integrate new company areas into existing networks. You easily map the organizational structure of a company in the network topology.
  • Page 43 Sub-Ring (RSR20, RSR30, MACH1000) SRM 1 SRM 2 SRM 3 Figure 17: Special case: a Sub-Ring Manager is managing 2 Sub-Rings (2 instances). Depending on the device type, you can configure additional instances. SRM 1 Figure 18: Special case: a Sub-Ring Manager is managing the start and the end of a Sub-Rings at different ports (Single Sub-Ring Manger).
  • Page 44 Sub-Ring (RSR20, RSR30, MACH1000) Note: Sub-Rings use MRP. You can couple Sub-Rings to existing basis rings with the HIPER-Ring protocol, the Fast HIPER-Ring protocol and MRP. When you couple a Sub-Ring to a basis ring under MRP, you configure both rings in different VLANs.
  • Page 45: Example Configuration

    Sub-Ring (RSR20, RSR30, MACH1000) 4.1 Example configuration 4.1 Example configuration The following section shows in detail the configuration of a simple Sub-Ring example. 4.1.1 Example description You want to couple a new network segment with 3 devices to an existing redundant ring with the HIPER-Ring protocol.
  • Page 46 Sub-Ring (RSR20, RSR30, MACH1000) 4.1 Example configuration SRM 1 SRM 2 Figure 19: Example of a Sub-Ring structure 1 Blue ring = basis ring 2 Orange 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 47 – Do not configure link aggregation. – Switch RSTP off for the MRP-Ring ports used in the Sub-Ring. – Assign the same MRP domain ID to all devices. If only Hirschmann Automation and Control GmbH devices are being used, the default value for the MRP domain ID can be used.
  • Page 48: Sub-Ring Configuration

    Sub-Ring (RSR20, RSR30, MACH1000) 4.1 Example configuration 4.1.2 Sub-Ring configuration Note: Avoid loops during the configuration phase. Configure all the devices of the Sub-Ring individually. Before you connect the redundant line (close the Sub-Ring), you must complete the configuration of all the devices of the Sub- Ring.
  • Page 49 Sub-Ring (RSR20, RSR30, MACH1000) 4.1 Example configuration Select the Sub-Ring Manager mode (SRM mode). You thus specify which connection between the basis ring and the Sub-Ring becomes the redundant line. The options for the connection are: Both Sub-Ring Managers have the same setting (default manag er): - the device with the higher MAC address manages the redundant line.
  • Page 50 Sub-Ring (RSR20, RSR30, MACH1000) 4.1 Example configuration Figure 21: 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. Otherwise, the assignment is performed automatically via the higher MAC address (see above) Switch the two Sub-Ring Managers on under “Operation on/off”...
  • Page 51 Sub-Ring (RSR20, RSR30, MACH1000) 4.1 Example configuration 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 de- show sub-ring...
  • Page 52 Sub-Ring (RSR20, RSR30, MACH1000) 4.1 Example configuration Redundanz L2P Release 5.0 04/09...
  • Page 53: Ring/Network Coupling

    This device allows the redundant coupling of redundant rings and network segments. Two rings/network segments are connected via two separate paths. The ring/network coupling supports the following devices: RS2-./. RS2-16M RS20, RS30, RS40 OCTOPUS MICE (from rel. 3.0) Power MICE MS20, MS30 RSR20, RSR30...
  • Page 54: Variants Of The Ring/Network Coupling

    Ring/Network coupling 5.1 Variants of the ring/network coupling 5.1 Variants of the ring/network coupling The redundant coupling is effected by the one-Switch coupling of two ports of one device in the first ring/network to one port each of two devices in a second ring/network segment (see fig.
  • Page 55 Ring/Network coupling 5.1 Variants of the ring/network coupling One-Switch coupling Two-Switch coupling Two-Switch coupling with control line Application The two devices are in The two devices are in The two devices are in impractical topological practical topological practical topological positions. positions.
  • Page 56: Preparing A Ring/Network Coupling

    STAND-BY switch type RS2-./. DIP switch RS2-16M DIP switch RS20/RS30/RS40 Can be switched between DIP switch and software switch MICE/Power MICE Can be switched between DIP switch and software switch MS20/MS30 Can be switched between DIP switch and software switch...
  • Page 57 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Device with Choice of main coupling or redundant coupling DIP switch On “STAND-BY” DIP switch DIP switch/software switch According to the option selected option - on “STAND-BY” DIP switch or in the - Redundancy:Ring/Network Coupling dialog, by making se- lection in “Select configuration”.
  • Page 58 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Depending on the STAND-BY DIP switch position, the dialog displays those configurations that are not possible in gray. If you want to select one of these grayed-out configurations, you put the STAND-BY DIP switch on the Switch into the other position.
  • Page 59: One-Switch Coupling

    Ring/Network coupling 5.2 Preparing a Ring/Network coupling 5.2.2 One-Switch coupling STAND-BY Figure 23: Example of one-Switch coupling 1: Backbone 2: Ring 3: Partner coupling port 4: Coupling port 5: Main Line 6: Redundant Line Redundanz L2P Release 5.0 04/09...
  • Page 60 Ring/Network coupling 5.2 Preparing a Ring/Network coupling The coupling between two networks is effected by the main line (thick blue line), which is connected to the partner coupling port. If the main line fails, the redundant line (thick blue dotted line), which is connected to the coupling port, takes over coupling the two networks.
  • Page 61 RS2-./. Not possible Not possible RS2-16M All ports (default setting: port 2) All ports (default setting: port 1) RS20, RS30, All ports (default setting: port 1.3) All ports (default setting: port 1.4) RS40 OCTOPUS All ports (default setting: port 1.3) All ports (default setting: port 1.4)
  • Page 62 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Figure 25: Selecting the port and enabling/disabling operation Note: The following settings are required for the coupling ports (you select the Basic Settings:Port Configuration dialog): – Port: on – Automatic configuration (autonegotiation): on for twisted-pair connections –...
  • Page 63 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Figure 26: Selecting the redundancy mode With the “Redundant Ring/Network Coupling” setting, either the main line or the redundant line is active. Both lines are never active simulta- neously. With the “Extended Redundancy” setting, the main line and the redun- dant line are simultaneously active if the connection line between the devices in the connected network fails (see fig.
  • Page 64 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Figure 28: Selecting the coupling mode Select “Ring coupling” if you are connecting a redundancy ring. Select “Network Coupling” if you are connecting a line structure. Delete coupling configuration The “Delete coupling configuration” button in the dialog allows you to reset all the coupling settings of the device to the state on delivery.
  • Page 65: Two-Switch Coupling

    Ring/Network coupling 5.2 Preparing a Ring/Network coupling 5.2.3 Two-Switch coupling STAND-BY STAND-BY Figure 29: Example of two-Switch coupling 1: Backbone 2: Ring 3: Main line 4: Redundant line Redundanz L2P Release 5.0 04/09...
  • Page 66 Ring/Network coupling 5.2 Preparing a Ring/Network coupling The coupling between two networks is effected by the main line (thick blue line). If the main line fails, the redundant line (thick blue dotted line) takes over coupling the two networks. The coupling is effected by two Switches. The switches send their control packages via the Ethernet.
  • Page 67 Coupling port RS2-./. Not possible RS2-16M Adjustable for all ports (default setting: port 1) RS20, RS30, RS40 Adjustable for all ports (default setting: port 1.4) OCTOPUS Adjustable for all ports (default setting: port 1.4) MICE Adjustable for all ports (default setting: port 1.4) Power MICE Adjustable for all ports (default setting: port 1.4)
  • Page 68 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Figure 31: Selecting the port and enabling/disabling operation To avoid continuous loops, the Switch sets the port state of the coupling port to “off” if you: – switch off operation or – change the configuration while the connections are in operation at these ports.
  • Page 69 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Select two-Switch redundant coupling (see fig. 33). STAND-BY Figure 32: Two-Switch coupling 1: Coupling port 2: Partner coupling port The following settings apply to the Switch displayed in blue in the selected graphic. Select the coupling port (see fig.
  • Page 70 Ring/Network coupling 5.2 Preparing a Ring/Network coupling To avoid continuous loops, the Switch sets the port state of the coupling port to “off” if you: – switch off operation or – change the configuration while the connections are in operation at these ports. Note: The following settings are required for the coupling ports (you select the Basic Settings:Port Configuration dialog): –...
  • Page 71 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Figure 33: Selecting the redundancy mode With the “Redundant Ring/Network Coupling” setting, either the main line or the redundant line is active. Both lines are never active simulta- neously. With the “Extended Redundancy” setting, the main line and the redun- dant line are simultaneously active if the connection line between the devices in the connected network fails (see fig.
  • Page 72 Ring/Network coupling 5.2 Preparing a Ring/Network coupling The coupling mode indicates the type of the connected network. In the “Coupling Mode” frame, select (see fig. 35) – “Ring Coupling” or – “Network Coupling” Figure 35: Selecting the coupling mode Select “Ring coupling” if you are connecting a redundancy ring. Select “Network Coupling”...
  • Page 73: Two-Switch Coupling With Control Line

    Ring/Network coupling 5.2 Preparing a Ring/Network coupling 5.2.4 Two-Switch coupling with control line STAND-BY STAND-BY Figure 36: Example of Two-Switch coupling with control line 1: Backbone 2: Ring 3: Main line 4: Redundant line 5: Control line Redundanz L2P Release 5.0 04/09...
  • Page 74 Ring/Network coupling 5.2 Preparing a Ring/Network coupling The coupling between two networks is effected by the main line (thick blue line). If the main line fails, the redundant line (thick blue dotted line) takes over coupling the two networks. The coupling is effected by two Switches. The Switches send their control packets via a control line.
  • Page 75 RS2-../.. ) RS2-16M Adjustable for all ports Adjustable for all ports (default setting: port 1) (default setting: port 2) RS20, RS30, Adjustable for all ports Adjustable for all ports RS40 (default setting: port 1.4) (default setting: port 1.3) OCTOPUS...
  • Page 76 Ring/Network coupling 5.2 Preparing a Ring/Network coupling The displays in the “Information” frame mean (see fig. 38): – “Redundancy existing”: One of the lines affected can fail, as a redundant line will then take over the function of the failed line. –...
  • Page 77 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Note: If VLANS are configured, note the VLAN configuration of the coupling and partner coupling ports. In the Network/Ring Coupling configuration, select for the coupling and partner coupling ports – VLAN ID 1 and “Ingress Filtering” disabled in the port table and –...
  • Page 78 Ring/Network coupling 5.2 Preparing a Ring/Network coupling The displays in the “Select port” frame mean (see fig. 38): – “Port mode”: The port is either active or in stand-by mode. – “Port state”: The port is either connected or not connected. –...
  • Page 79 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Figure 40: Selecting the redundancy mode With the “Redundant Ring/Network Coupling” setting, either the main line or the redundant line is active. Both lines are never active simulta- neously. With the “Extended Redundancy” setting, the main line and the redun- dant line are simultaneously active if the connection line between the devices in the connected network fails (see fig.
  • Page 80 Ring/Network coupling 5.2 Preparing a Ring/Network coupling Figure 42: Selecting the coupling mode Select “Ring coupling” if you are connecting a redundancy ring. Select “Network Coupling” if you are connecting a line structure. Delete coupling configuration The “Delete coupling configuration” button in the dialog allows you to reset all the coupling settings of the device to the state on delivery.
  • Page 81: Rapid Spanning Tree

    Rapid Spanning Tree 6 Rapid Spanning Tree Note: The Spanning Tree and Rapid Spanning Tree protocols based on IEEE 802.1D-2004 and IEEE 802.1w respectively are protocols for MAC bridges. For this reason, the following description of these protocols usually employs the term bridge instead of switch. Local networks are getting bigger and bigger.
  • Page 82 Rapid Spanning Tree When network segments are connected to a MRP ring and you enable MRP compatibility, a peculiarity results. If the root bridge is located inside the MRP ring, the devices inside the MRP ring are combined into one virtual device for the purpose of calculating the branch length.
  • Page 83: The Spanning Tree Protocol

    Rapid Spanning Tree 6.1 The Spanning Tree Protocol 6.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. 6.1.1 The tasks of the STP The Spanning Tree Algorithm reduces network topologies that are set up using bridges, and that have ring structures with redundant connections, to a tree structure.
  • Page 84: Bridge Parameters

    Rapid Spanning Tree 6.1 The Spanning Tree Protocol 6.1.2 Bridge parameters Each bridge is uniquely described using parameters: Bridge Identifier Root Path Costs for the bridge ports Port Identifier 6.1.3 Bridge Identifier The Bridge Identifier consists of 8 bytes. The two highest-value bytes are the priority.
  • Page 85: Root Path Costs

    Rapid Spanning Tree 6.1 The Spanning Tree Protocol 6.1.4 Root Path Costs Every path that connects two bridges is assigned costs for the transmission (path costs). The Switch specifies this value based on the transmission speed (see table 12). It assigns the higher path costs to paths with lower transmission speeds.
  • Page 86: Port Identifier

    Rapid Spanning Tree 6.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...
  • Page 87 Rapid Spanning Tree 6.1 The Spanning Tree Protocol Priority Port number Figure 45: Port Identifier Redundanz L2P Release 5.0 04/09...
  • Page 88: Rules For Creating The Tree Structure

    Rapid Spanning Tree 6.2 Rules for creating the tree structure 6.2 Rules for creating the tree structure 6.2.1 Bridge information To calculate the tree structure, the bridges require 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 89 Rapid Spanning Tree 6.2 Rules for creating the tree structure If two paths with the same root path costs lead out from a bridge, the port identifier is used as the last criterion (see fig. 45). This decides which port is selected.
  • Page 90: Example Of Specifying The Root Paths

    Rapid Spanning Tree 6.3 Example of specifying the root paths 6.3 Example of specifying the root paths The network plan (see fig. 47) can be used to create the flow diagram (see fig. 46) for defining the root path. The Administrator defined a different priority in the bridge identifier for each bridge.
  • Page 91 Rapid Spanning Tree 6.3 Example of specifying the root paths 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 92: Example Of Manipulating The Root Paths

    Rapid Spanning Tree 6.4 Example of manipulating the root paths 6.4 Example of manipulating the root paths The network plan (see fig. 47) can be used to create the flow diagram (see fig. 46) for defining the root path. The Administrator –...
  • Page 93 Rapid Spanning Tree 6.4 Example of manipulating the root paths 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 94: Example Of Manipulating The Tree Structure

    Rapid Spanning Tree 6.5 Example of manipulating the tree structure 6.5 Example of manipulating the tree structure The Management Administrator soon discovers that this configuration with bridge 1 as the root bridge (see on page 90 „Example of specifying the root paths“) is unfavorable.
  • Page 95: The Rapid Spanning Tree Protocol

    Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol 6.6 The Rapid Spanning Tree Protocol The RSTP takes over the calculation of the tree structure by the STP un- changed. RSTP merely changes parameters, and adds new parameters and mechanism that speed up the reconfiguration in the case of a failure. The ports play a significant role in this context.
  • Page 96 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Alternate port This is a blocked port that takes over the task of the bridge port if the connection to the root bridge fails. The alternate port guarantees the connection of the bridge to the root bridge. Backup port This is a blocked port that serves as a backup in case the connection to the designated port of this network segment (without RSTP bridge) fails.
  • Page 97: Port States

    Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol 6.6.2 Port states Depending on the tree structure and the state of the selected connection paths, the RSTP assigns the ports their states. STP port state Administrative RSTP Active topology bridge port operational Port state (port role)
  • Page 98: Fast Reconfiguration

    Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Bridge identifier of the root bridges Root path costs for the sending bridges Bridge identifier for the sending bridges Port identifiers of the ports through which the message was sent Port identifiers of the ports through which the message was received Based on this information, the bridges participating in RSTP are able to calculate port roles themselves and define the port states of their own ports.
  • Page 99: Configuring The Rapid Spanning Tree

    Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Note: The price to be paid for this fast reconfiguration is the risk that data packets may be duplicated or mixed up during the reconfiguration phase. If this is unacceptable for your application, switch to the slower Spanning Tree Protocol or select one of the other, faster redundancy procedures described in this manual.
  • Page 100 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Figure 51: Operation on/off You now connect the redundant lines. Define the desired Switch as the root Switch by assigning it the lowest priority in the bridge information among all the Switches in the network, in the “Protocol Configuration/Information”...
  • Page 101 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol If required, change the values for “Hello Time”, “Forward Delay” and “Max. Age” in the root Switch. The root Switch then transfers this data to the other Switches. The dialog displays the data received from the root Switch in the left column.
  • Page 102 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Parameter Meaning Value range 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 The left column shows the value cur- 1 - 2 rently being used by the root bridge.
  • Page 103 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Diameter = 7 Age = 5 Age = 4 = Root Figure 53: 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 104 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Figure 54: Configuring the RSTP port Note: Deactivate the Spanning Tree Protocol for the ports connected to a redundant ring, because the Spanning Tree and the Ring Redundancy work with different reaction times. Redundanz L2P Release 5.0 04/09...
  • Page 105 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Parameter Meaning Value range Default setting STP State En- Here you can turn RSTP on or off able for this port. If you turn RSTP off for this port while RSTP is globally en- abled for the device, the device will discard RSTP frames received on this port.
  • Page 106 Rapid Spanning Tree 6.6 The Rapid Spanning Tree Protocol Parameter Meaning Value range Default setting Oper Point- If this port has a full-duplex link to true, false auto ToPoint another RSTP device, the value for (is calculated): Oper PointToPoint will become FDX = true „true“, else it will become „false“...
  • Page 107: Combination Of Rstp And Mrp

    Rapid Spanning Tree 6.7 Combination of RSTP and MRP 6.7 Combination of 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 108: Application Example For The Combination Of Rstp And Mrp

    Rapid Spanning Tree 6.7 Combination of RSTP and MRP To combine RSTP with MRP, you perform the following steps in sequence: Configure MRP on all devices in the MRP-Ring. Activate RSTP at the RSTP ports and also at the MRP-Ring ports. Configure the RSTP root bridge and the RSTP backup root bridge in the MRP-Ring: –...
  • Page 109 Rapid Spanning Tree 6.7 Combination of RSTP and MRP Prerequisities for further configuration: You have configured the MRP settings for the devices in accordance with the above table. Figure 56: Application example for the combination of RSTP and MRP 1: MRP-Ring 2: RSTP-Ring 3: Redundant RSTP connection RM: Ring Manager...
  • Page 110 Rapid Spanning Tree 6.7 Combination of RSTP and MRP Activate RSTP at the ports here using S1 as an example. Switch to the Privileged EXEC mode. enable Switch to the Configuration mode. configure Switch to the Interface Configuration mode of interface 1/1 interface 1/1.
  • Page 111: A Readers' Comments

    Readers’ comments 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 112 Zip code / City: E-mail: Date / Signature: Dear User, Please fill out and return this page as a fax to the number +49 (0)7127/14-1600 or Hirschmann Automation and Control GmbH Department AED Stuttgarter Str. 45-51 72654 Neckartenzlingen Redundanz L2P Release 5.0 04/09...
  • Page 113: B Index

    Index B Index Advanced Mode Port state PROFINET Alternate port Rapid Spanning Tree 9, 81 Backup port Redundancy Bridge Identifier Redundancy existing 29, 32, 37 Redundancy functions Redundancy Manager Configuration error 29, 32, 37 Redundant Configuring the HIPER-Ring 25, 36 Redundant coupling Ring Ring Manager...
  • Page 114 Index Redundanz L2P Release 5.0 04/09...
  • Page 115: C Further Support

    Further support C Further support Technical questions and training courses In the event of technical queries, please contact your local Hirschmann distributor or Hirschmann office. You can find the addresses of our distributors on the Internet: www.hirschmann-ac.com. Our support line is also at your disposal: Tel.

Table of Contents