User Manual Redundancy Configuration Industrial ETHERNET (Gigabit) Switch RS20/RS30/RS40, MS20/MS30, OCTOPUS Redundancy L2E Technical Support Release 4.1 03/08 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.
Content Content About this Manual Introduction Comparison of the redundancy procedures HIPER-Ring Configuring HIPER-Ring Version 1 Configuring HIPER-Ring Version 2 (MRP Draft) Redundant coupling The variants of redundant coupling Configuring the redundant coupling 3.2.1 STAND-BY switch 3.2.2 One-Switch coupling 3.2.3 Two-Switch coupling 3.2.4 Two-Switch coupling with control line Rapid Spanning Tree The Spanning Tree Protocol...
Page 4
Content The Rapid Spanning Tree Protocol 4.6.1 Port roles 4.6.2 Port states 4.6.3 Spanning Tree Priority Vector 4.6.4 Fast reconfiguration 4.6.5 Configuring the Rapid Spanning Tree Reader´s comments Index Further support Redundancy L2E Release 4.1 03/08...
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.
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 Redundancy L2E Release 4.1 03/08...
(see Reference Manual - Web-based Interface). Command Line Interface (supplied with the Switch) for setting elementary functions (see reference manual – Command Line Interface). HiVision Network Management for convenient cross-agent configuration (see manual – HiVision Hirschmann Network Management). Redundancy L2E Release 4.1 03/08...
Introduction 1.1 Comparison of the redundancy procedures 1.1 Comparison of the redundancy procedures RSTP HIPER-Ring HIPER-Ring Redundant Link aggrega- Version 1, 2 Version 3 coupling tion Switching time < 30 s, < 0.5 s < 10 ms typically 0.15 s - typically <...
(see fig. Within a HIPER-Ring Version 1, any combination of RS1, RS2-../.., RS2-16M, RS2-4R, RS20, RS30, RS40, MICE, PowerMICE, MS 20, MS 30, RSR20, RSR30, MACH 1000, MACH 3000 and MACH 4000 is possible. Within a HIPER-Ring Version 2 (MRP Draft), any combination of devices that support this function is possible.
Page 12
HIPER-Ring Line Redundancy Manager On Redundant Ring Main line Redundant line Figure 1: Line and redundant ring Redundancy L2E Release 4.1 03/08...
HIPER-Ring 2.1 Configuring HIPER-Ring Version 1 2.1 Configuring HIPER-Ring Version 1 Set up the network to meet your requirements. Note: Before you connect the redundant line, you must complete the configuration of HIPER-Ring Version 1. You thus avoid loops during the configuration phase. Note: Configure each HIPER-Ring device.
Page 14
HIPER-Ring 2.1 Configuring HIPER-Ring Version 1 Note: When using 100 Mbit/s with twisted pair cables, avoid the combi- nation of autonegotiation “off” and cable crossing “automatic”. Use crossover cables with 100 Mbit/s. Display in “Operation” field: Active: this port is switched on and has a link. Inactive: this port is switched off or has no link.
Page 15
HIPER-Ring 2.1 Configuring HIPER-Ring Version 1 Note: If you used the DIP switch to activate the function of HIPER-Ring Version 1, RSTP is automatically switched off. Now you connect the line to the ring. To do this, you connect the two devices to the ends of the line using their ring ports.
Page 16
HIPER-Ring 2.1 Configuring HIPER-Ring Version 1 Note: When you switch from a normal port to a ring port with the DIP switch, the device makes the required settings for the ring ports in the configuration table. The port which has been switched from a ring port to a normal port keeps the ring port settings.
HIPER-Ring 2.2 Configuring HIPER-Ring Version 2 (MRP 2.2 Configuring HIPER-Ring Version 2 (MRP Draft) Set up the network to meet your requirements. Note: Before you connect the redundant line, you must complete the configuration of HIPER-Ring Version 2. You thus avoid loops during the configuration phase. Note: Configure each HIPER-Ring device.
Page 18
“Configuration Redundancy Manager” frame. All Hirschmann devices that support the HIPER-Ring Version 2 (MRP Draft) also support the advanced mode. Note: Deactivate the Spanning Tree protocol for the ports connected to the redundant ring, because the Spanning Tree and the Ring Redundancy work with different reaction times.
Page 19
HIPER-Ring 2.2 Configuring HIPER-Ring Version 2 (MRP If VLANs are configured, then in the “VLAN” frame you select - VLAN ID 0, if the MRP-Ring configuration is not to be assigned to a VLAN. Note the VLAN configuration of the ring ports. Then select for the ring ports - VLAN ID 1 and - VLAN membership U in the static VLAN table...
Page 20
HIPER-Ring 2.2 Configuring HIPER-Ring Version 2 (MRP Figure 5: Configuring the Redundancy Manager, selecting operation, select- ing ring recovery and entering VLAN ID. Display: Information. Redundancy L2E Release 4.1 03/08...
The control intelligence built into the Switch enables the redundant coupling of HIPER-Rings and network segments. Two rings/network segments are connected using two separate paths with one of the following Switches: RS2-16M, RS20, RS30, RS40, MICE (from rel. 3.0) or PowerMICE, MS 20, MS 30,...
Page 23
Redundant coupling 3.1 The variants of redundant coupling One-Switch coupling Two-Switch coupling Two-Switch coupling with control line The two Switches are The two Switches are The two Switches are in impractical topologi- in practical topological in practical topological cal positions. positions.
STAND-BY switch RS2-../.. DIP switch RS2-16M DIP switch RS20/RS30/RS40 Can be switched between DIP switch and software switch MICE/PowerMICE Can be switched between DIP switch and software switch MS 20/MS 30 Can be switched between DIP switch and software switch...
Page 25
Redundant coupling 3.2 Configuring the redundant coupling Switch with Choice of main coupling or redundant coupling DIP switch “STAND-BY” on DIP switch DIP switch/software switch According to the option selected option - “Stand-by” on the DIP switch or in the - Redundancy:Ring/Network Coupling dialog, by selecting in “Select configuration”.
Page 26
Redundant coupling 3.2 Configuring the redundant coupling Note: Depending on the STAND-BY DIP switch position, the dialog dis- plays 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.
Redundant coupling 3.2 Configuring the redundant coupling 3.2.2 One-Switch coupling Backbone Redundancy Manager On Main line Redundant line Partner coupling port Coupling port STAND-BY Ring Redundancy Manager On Figure 7: Example of one-Switch coupling The coupling between two networks is effected by the main line (thick blue line), which is connected to the partner coupling port.
Page 28
Adjustable for all ports (default setting: port 2) RS20 Adjustable for all ports (default setting: port 1.3) RS30 Adjustable for all ports (default setting: port 1.3) RS40 Adjustable for all ports (default setting: port 1.3) MICE Adjustable for all ports (default setting: port 1.3) PowerMICE Adjustable for all ports (default setting: port 1.3)
Page 29
Adjustable for all ports (default setting: port 1) RS20 Adjustable for all ports (default setting: port 1.4) RS30 Adjustable for all ports (default setting: port 1.4) RS40 Adjustable for all ports (default setting: port 1.4) MICE Adjustable for all ports (default setting: port 1.4) PowerMICE Adjustable for all ports (default setting: port 1.4)
Page 30
Redundant coupling 3.2 Configuring the redundant coupling Figure 9: 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 31
Redundant coupling 3.2 Configuring the redundant coupling Figure 10: 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 redundant line are simultaneously active if the connection line between the Switches in the connected network fails (see fig.
Page 32
Redundant coupling 3.2 Configuring the redundant coupling The coupling mode indicates the type of the connected network. In the “Coupling Mode” frame, select (see fig. 12) – “Ring Coupling” or – “Network Coupling” Figure 12: Selecting the coupling mode Select “Ring coupling” if you are connecting a HIPER-Ring. Select “Network Coupling”...
Redundant coupling 3.2 Configuring the redundant coupling 3.2.3 Two-Switch coupling Redundancy Manager On Backbone Main line Redundant line Redundancy Manager On STAND-BY STAND-BY Ring Figure 13: Example of two-Switch coupling The coupling between two networks is effected by the main line (thick blue line).
Page 34
Adjustable for all ports (default setting: port 1) RS20 Adjustable for all ports (default setting: port 1.4) RS30 Adjustable for all ports (default setting: port 1.4) RS40 Adjustable for all ports (default setting: port 1.4) MICE Adjustable for all ports (default setting: port 1.4) PowerMICE Adjustable for all ports (default setting: port 1.4)
Page 35
Redundant coupling 3.2 Configuring the redundant coupling Note: Configure the coupling port and the HIPER-Ring ports on different ports. Activate the function in the “Operation” frame (see fig. 15). You now connect the redundant line. The displays in the “Select port” frame mean (see fig.
Page 36
Redundant coupling 3.2 Configuring the redundant coupling 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 – Manual configuration: 100 Mbit/s FDX for glass fiber connections Note: If VLANS are configured, note the VLAN configuration of the coupling and partner coupling ports.
Page 37
Redundant coupling 3.2 Configuring the redundant coupling Note: Configure the coupling port and the HIPER-Ring ports on different ports. Activate the function in the “Operation” frame (see fig. 15). The displays in the “Select port” frame mean (see fig. 15): –...
Page 38
Redundant coupling 3.2 Configuring the redundant coupling Figure 17: 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 redundant line are simultaneously active if the connection line between the Switches in the connected network fails (see fig.
Page 39
Redundant coupling 3.2 Configuring the redundant coupling The coupling mode indicates the type of the connected network. In the “Coupling Mode” frame, select (see fig. 19) – “Ring Coupling” or – “Network Coupling” Figure 19: Selecting the coupling mode Select “Ring coupling” if you are connecting a HIPER-Ring. Select “Network Coupling”...
Redundant coupling 3.2 Configuring the redundant coupling 3.2.4 Two-Switch coupling with control line Redundancy Manager On Backbone Main line Redundant line Redundancy Manager On STAND-BY STAND-BY Ring Figure 20: Example of Two-Switch coupling with control line The coupling between two networks is effected by the main line (thick blue line).
Page 41
Redundant coupling 3.2 Configuring the redundant coupling Connect the two partners via their ring ports. Select the Redundancy:Ring/Network Coupling dialog. Select two-Switch main coupling with control line (see fig. 21). Control port Partner coupling Coupling port port STAND-BY Figure 21: Two-Switch coupling with control line The following settings apply to the Switch displayed in blue in the selected graphic.
Page 42
(default setting: port 1.3) RS30 Adjustable for all ports Adjustable for all ports (default setting: port 1.4) (default setting: port 1.3) RS40 Adjustable for all ports Adjustable for all ports (default setting: port 1.4) (default setting: port 1.3) MICE Adjustable for all ports Adjustable for all ports (default setting: port 1.4)
Page 43
Redundant coupling 3.2 Configuring the redundant coupling The displays in the “Information” frame mean (see fig. 22): – “Redundancy guaranteed”: One of the lines affected can fail, as a redundant line will then take over the function of the failed line. –...
Page 44
Redundant coupling 3.2 Configuring the redundant 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 45
Redundant coupling 3.2 Configuring the redundant coupling The displays in the “Select port” frame mean (see fig. 22): – “Port mode”: The port is either active or in stand-by mode. – “Port state”: The port is either connected or not connected. –...
Page 46
Redundant coupling 3.2 Configuring the redundant coupling Figure 24: 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 redundant line are simultaneously active if the connection line between the Switches in the connected network fails (see fig.
Page 47
Redundant coupling 3.2 Configuring the redundant coupling The coupling mode indicates the type of the connected network. In the “Coupling Mode” frame, select (see fig. 26) – “Ring Coupling” or – “Network Coupling” Figure 26: Selecting the coupling mode Select “Ring coupling” if you are connecting a HIPER-Ring. Select “Network Coupling”...
Rapid Spanning Tree 4 Rapid Spanning Tree Note: The Spanning Tree protocol and the Rapid Spanning Tree protocol are protocols for MAC bridges. They are described in the standards IEEE 802.1D-2004 and IEEE 802.1w. For this reason, the following description of these protocols usually employs the term bridge instead of switch.
Rapid 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 descrip- tions of the STP also apply to the RSTP. 4.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.
Rapid Spanning Tree 4.1 The Spanning Tree Protocol 4.1.2 Bridge parameters Each bridge is uniquely described using parameters: Bridge Identifier Root Path Costs for the bridge ports Port Identifier 4.1.3 Bridge Identifier The Bridge Identifier consists of 8 bytes. The two highest-value bytes are the priority number.
Rapid Spanning Tree 4.1 The Spanning Tree Protocol 4.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 11). It assigns the higher path costs to paths with lower transmission speeds.
Rapid Spanning Tree 4.2 Rules for creating the tree structure 4.2 Rules for creating the tree structure 4.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 55
Rapid Spanning Tree 4.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. 29). This decides which port is selected.
Rapid Spanning Tree 4.3 Example of specifying the root paths 4.3 Example of specifying the root paths The network plan (see fig. 31) can be used to create the flow diagram (see fig. 30) for defining the root path. The Administrator defined a different priority in the bridge identifier for each bridge.
Page 57
Rapid Spanning Tree 4.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...
Rapid Spanning Tree 4.4 Example of manipulating the root paths 4.4 Example of manipulating the root paths The network plan (see fig. 32) can be used to create the flow diagram (see fig. 30) for defining the root path. The Administrator –...
Page 59
Rapid Spanning Tree 4.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...
Rapid Spanning Tree 4.5 Example of manipulating the tree structure 4.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 56 „Example of specifying the root paths“) is unfavorable.
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol 4.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 62
Rapid Spanning Tree 4.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.
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol 4.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)
Rapid Spanning Tree 4.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.
Rapid Spanning Tree 4.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 66
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol Figure 35: 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 67
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol Figure 36: Assigning a priority. Display: Root Information As required, you change the default priority value of 32768 in other Switches in the network in the same way to the value you want (multiple of 4096).
Page 68
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol Figure 37: Display: Priority, MAC Address, Topology Changes and Time since last change 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.
Page 69
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol Figure 38: Assigning Hello Time, Forward Delay und Max. Age The times entered in the dialog are in units of 1 s. Example: Max Age = 20 corresponds to 20 seconds. Redundancy L2E Release 4.1 03/08...
Page 70
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol Variable Meaning Possible values State on deliv- Priority Priority and MAC address together 0 < n*4 096 < 61 440 32 768 make up the bridge identifier. Hello Time The Switch periodically sends config- 1 - 10 uration messages (Hello packets, Configuration Bridge Protocol Data...
Page 71
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol Variable Meaning Possible values State on deliv- STP status on Switch RSTP on/off at this port. Switch STP off when connecting a terminal device in order to avoid unnecessary waiting times. See also „Fast reconfiguration“.
Page 72
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol Variable Meaning Possible values State on deliv- Designated Display of the costs of the path from Costs Costs this port to the root Switch. (see table Designated Port Display of the port identifier of the Port identifier port that creates the connection to (hexadecimal) and...
Reader´s comments A Reader´s 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 sug- gestions help us to further improve the quality of our documentation.
Page 74
Zip code / City: Date / Signature: Dear User, Please fill out and return this page by fax to the number +49 (0)7127/14-1798 or by mail to Hirschmann Automation and Control GmbH Department AMM Stuttgarter Str. 45-51 72654 NeckartenzlingenGermany Germany Redundancy L2E...
Index B Index Alternate port Rapid Spanning Tree Redundancy Redundancy functions Backup port Redundancy guaranteed 15, 19 Bridge Identifier Redundant Redundant coupling Ring Configuration failure 15, 19 Ring ports 13, 17 Ring structure Root port Designated bridge RST BPDU 61, 63 Designated port RSTP Disabled port...
Further support C Further support Technical questions and training courses In the event of technical queries, please talk to the Hirschmann contract partner responsible for looking after your account or directly to the Hirschmann office. You can find the addresses of our contract partners on the Internet: www.hirschmann-ac.com.
Need help?
Do you have a question about the RS40 and is the answer not in the manual?
Questions and answers