Hirschmann 943915301 User Manual Redundancy Configuration PDF
Hirschmann 943915301 User Manual Redundancy Configuration PDF
Redundancy Configuration
Industrial ETHERNET (Gigabit-)Switch
RS20/RS30/RS40, MS20/MS30, OCTOPUS, PowerMICE,
RSR20/RSR30, MACH 100, MACH 1000, MACH 4000
Manuals and software are protected by copyright. All rights reserved. The copying, reproduction,
translation, conversion into any electronic medium or machine scannable form is not permitted,
either in whole or in part. An exception is the preparation of a backup copy of the software for
your own use. For devices with embedded software, the end-user license agreement on the
enclosed CD/DVD applies.
The performance features described here are binding only if they have been expressly agreed
when the contract was made. This document was produced by Hirschmann Automation and
Control GmbH according to the best of the company's knowledge. Hirschmann reserves the right
to change the contents of this document without prior notice. Hirschmann can give no guarantee
in respect of the correctness or accuracy of the information in this document.
Hirschmann can accept no responsibility for damages, resulting from the use of the network
components or the associated operating software. 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.com).
Printed in Germany
Hirschmann Automation and Control GmbH
Stuttgarter Str. 45-51
72654 Neckartenzlingen
Germany
Tel.: +49 1805 141538
Contents
Key 7
1 Introduction 9
1.1 Overview of Redundancy Topologies 10
1.2 Overview of Redundancy Protocols 12
2 Link Aggregation 15
2.1 Example of link aggregation 16
2.1.1 Creating and configuring the link aggregation 17
2.2 HIPER-Ring and Link Aggregation 22
3 Ring Redundancy 25
3.1 Example of a HIPER-Ring 28
3.1.1 Setting up and configuring the HIPER-Ring 30
3.2 Example of a MRP-Ring 34
3.3 Example of a Fast HIPER-Ring 40
4 Multiple Rings 45
4.1 Sub-Ring 46
4.1.1 Sub-Ring description 46
4.1.2 Sub-Ring example 50
4.1.3 Sub-Ring example configuration 53
5 Ring/Network Coupling 59
5.1 Variants of the ring/network coupling 60
5.2 Preparing a Ring/Network Coupling 62
5.2.1 STAND-BY switch 62
5.2.2 One-Switch coupling 65
5.2.3 Two-Switch coupling 71
5.2.4 Two-Switch Coupling with Control Line 79
UM RedundConfig L2P
Release 8.0 05/2013 3
Contents
6 Spanning Tree 87
6.1 The Spanning Tree Protocol 89
6.1.1 The tasks of the STP 89
6.1.2 Bridge parameters 90
6.1.3 Bridge Identifier 90
6.1.4 Root Path Cost 91
6.1.5 Port Identifier 93
6.2 Rules for Creating the Tree Structure 94
6.2.1 Bridge information 94
6.2.2 Setting up the tree structure 94
6.3 Example of determining the root path 97
6.4 Example of manipulating the root path 99
6.5 Example of manipulating the tree structure 101
6.6 The Rapid Spanning Tree Protocol 102
6.6.1 Port roles 102
6.6.2 Port states 105
6.6.3 Spanning Tree Priority Vector 106
6.6.4 Fast reconfiguration 106
6.6.5 Configuring the Rapid Spanning Tree 107
6.7 Combining RSTP and MRP 116
6.7.1 Application example for the combination of RSTP and
MRP 118
B Index 123
UM RedundConfig L2P
4 Release 8.0 05/2013
About this Manual
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.
The “Industry Protocols” user manual describes how the device is connected
by means of a communication protocol commonly used in the industry, such
as EtherNet/IP and PROFINET IO.
UM RedundConfig L2P
Release 8.0 05/2013 5
About this Manual
UM RedundConfig L2P
6 Release 8.0 05/2013
Key
Key
List
Work step
Subheading
Link Cross-reference with link
Note: A note emphasizes an important fact or draws your attention to a dependency.
Courier ASCII representation in user interface
Execution in the Graphical User Interface
Execution in the Command Line Interface
Symbols used:
Router
Switch
UM RedundConfig L2P
Release 8.0 05/2013 7
Key
Bridge
Hub
A random computer
Configuration Computer
Server
PLC -
Programmable logic
controller
I/O -
Robot
UM RedundConfig L2P
8 Release 8.0 05/2013
Introduction
1 Introduction
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)
UM RedundConfig L2P
Release 8.0 05/2013 9
Introduction 1.1 Overview of Redundancy
Topologies
UM RedundConfig L2P
10 Release 8.0 05/2013
Introduction 1.1 Overview of Redundancy
Topologies
UM RedundConfig L2P
Release 8.0 05/2013 11
Introduction 1.2 Overview of
Redundancy Protocols
1.2 Overview of
Redundancy Protocols
UM RedundConfig L2P
12 Release 8.0 05/2013
Introduction 1.2 Overview of
Redundancy Protocols
Note: When you are using a redundancy function, you deactivate the flow
control on the participating device ports. If the flow control and the
redundancy function are active at the same time, there is a risk that the
redundancy function will not operate as intended.
UM RedundConfig L2P
Release 8.0 05/2013 13
Introduction 1.2 Overview of
Redundancy Protocols
UM RedundConfig L2P
14 Release 8.0 05/2013
Link Aggregation
2 Link Aggregation
UM RedundConfig L2P
Release 8.0 05/2013 15
Link Aggregation 2.1 Example of link aggregation
LATP
3 x TP FDX
300 Mbit/s
LAFO
2 x FO FDX
2 Gbit/s
10 km singlemode
NMS
UM RedundConfig L2P
16 Release 8.0 05/2013
Link Aggregation 2.1 Example of link aggregation
1 2 3
3 x TP FDX
300 Mbit/s
NMS
UM RedundConfig L2P
Release 8.0 05/2013 17
Link Aggregation 2.1 Example of link aggregation
UM RedundConfig L2P
18 Release 8.0 05/2013
Link Aggregation 2.1 Example of link aggregation
Leave the checkmark in the Link Trap column if you want the
device to generate an alarm if all the connections of the link
aggregation are interrupted.
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.
“Type” shows whether you created this link aggregation manually
(Allow static link aggregation is selected), or whether it
was created dynamically using LACP (Allow static link
aggregation is not selected).
Note: If there are multiple connections between devices that support
LACP, and if Allow static link aggregation is nevertheless
selected, dynamic is still displayed, because in this case the
devices automatically switch to dynamic.
UM RedundConfig L2P
Release 8.0 05/2013 19
Link Aggregation 2.1 Example of link aggregation
UM RedundConfig L2P
20 Release 8.0 05/2013
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.
UM RedundConfig L2P
Release 8.0 05/2013 21
Link Aggregation 2.2 HIPER-Ring and
Link Aggregation
RM
2 x TP FDX
400 Mbit/s
A
UM RedundConfig L2P
22 Release 8.0 05/2013
Link Aggregation 2.2 HIPER-Ring and
Link Aggregation
UM RedundConfig L2P
Release 8.0 05/2013 23
Link Aggregation 2.2 HIPER-Ring and
Link Aggregation
UM RedundConfig L2P
24 Release 8.0 05/2013
Ring Redundancy
3 Ring Redundancy
RM
UM RedundConfig L2P
Release 8.0 05/2013 25
Ring Redundancy
Note: Only one Ring Redundancy method can be enabled on one device at
any one time. When changing to another Ring Redundancy method,
deactivate the function for the time being.
UM RedundConfig L2P
26 Release 8.0 05/2013
Ring Redundancy
Note: The following usage of the term “ring manager” instead of “redundancy
manager” makes the function easier to understand.
UM RedundConfig L2P
Release 8.0 05/2013 27
Ring Redundancy 3.1 Example of a HIPER-Ring
1 2 3
1.1 1.2 1.1 1.2 1.1 1.2
RM
1. On modular devices the 1st number of the port designation specifies the
module. The 2nd number specifies the port on the module. The specification
pattern 1.x is also used on non-modular devices for consistency.
UM RedundConfig L2P
28 Release 8.0 05/2013
Ring Redundancy 3.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.
UM RedundConfig L2P
Release 8.0 05/2013 29
Ring Redundancy 3.1 Example of a HIPER-Ring
UM RedundConfig L2P
30 Release 8.0 05/2013
Ring Redundancy 3.1 Example of a HIPER-Ring
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” frame are only effective for
devices that you have configured as ring managers.
Click "Set" to save the changes temporarily.
UM RedundConfig L2P
Release 8.0 05/2013 31
Ring Redundancy 3.1 Example of a HIPER-Ring
Now proceed in the same way for the other two devices.
Note: If you have configured VLANS, note the VLAN configuration of the ring
ports.
In the configuration of the HIPER-Ring, you select for the ring ports
– VLAN ID 1 and “Ingress Filtering” disabled in the port table and
– VLAN membership U in the static VLAN table.
Note: Deactivate the Spanning Tree protocol for the ports connected to the
HIPER-Ring, because Spanning Tree and Ring Redundancy affect each
other.
If you used the DIP switch to activate the function of HIPER-Ring, RSTP is
automatically switched off.
Now you connect the line to the ring. To do this, you connect the 2 devices
to the ends of the line using their ring ports.
UM RedundConfig L2P
32 Release 8.0 05/2013
Ring Redundancy 3.1 Example of a HIPER-Ring
UM RedundConfig L2P
Release 8.0 05/2013 33
Ring Redundancy 3.2 Example of a MRP-Ring
1 2 3
1.1 1.2 1.1 1.2 1.1 1.2
RM
UM RedundConfig L2P
34 Release 8.0 05/2013
Ring Redundancy 3.2 Example of a 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.
Note: Configure all the devices of the MRP-Ring individually. Before you
connect the redundant line, you must have completed the configuration of all
the devices of the MRP-Ring. You thus avoid loops during the configuration
phase.
UM RedundConfig L2P
Release 8.0 05/2013 35
Ring Redundancy 3.2 Example of a MRP-Ring
UM RedundConfig L2P
36 Release 8.0 05/2013
Ring Redundancy 3.2 Example of a MRP-Ring
Note: If you want to use the RSTP (see on page 87 “Spanning Tree”)
redundancy protocol in an MRP-Ring, switch on the MRP compatibility on all
devices in the MRP-Ring in the Rapid Spanning Tree:Global dialog as
the RSTP (Spanning-Tree) and ring redundancy affect each other.
If this is not possible, perhaps because individual devices do not support the
MRP compatibility, you deactivate RSTP at the ports connected to the MRP-
Ring.
Note: When you are configuring an MRP-Ring using the Command Line
Interface, you define an additional parameter. When configured using CLI, an
MRP-Ring is addressed via its MRP domain ID. The MRP domain ID is a
sequence of 16 number blocks (8-bit values). Use the default domain of 255
255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 for the MRP
domain ID.
This default domain is also used internally for a configuration via the Web-
based interface.
Configure all the devices within an MRP-Ring with the same MRP domain ID.
UM RedundConfig L2P
Release 8.0 05/2013 37
Ring Redundancy 3.2 Example of a MRP-Ring
Configuration Settings:
Advanced Mode (react on link change).... Enabled
Manager Priority........................ 32768
Mode of Switch (administrative setting). Manager
Mode of Switch (real operating state)... Manager
Domain Name............................. <empty>
Recovery delay.......................... 200ms
Port Number, Primary.................... 1/1, State: Not Connected
Port Number, Secondary.................. 1/2, State: Not Connected
VLAN ID................................. 0 (No VLAN)
Operation............................... Enabled
UM RedundConfig L2P
38 Release 8.0 05/2013
Ring Redundancy 3.2 Example of a MRP-Ring
Now you connect the line to the ring. To do this, you connect the 2 devices
to the ends of the line using their ring ports.
UM RedundConfig L2P
Release 8.0 05/2013 39
Ring Redundancy 3.3 Example of a 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. In contrast to the previous example, you
need a very short switch-over time in a redundancy case (about 10 ms).
Only RSR20/RSR30 and MACH 1000 devices are being used, so you decide
on the Fast HIPER-Ring as the ring redundancy protocol. You use ports 1.1
and 1.2 of the devices to connect the lines.
1 2 3
1.1 1.2 1.1 1.2 1.1 1.2
RM
UM RedundConfig L2P
40 Release 8.0 05/2013
Ring Redundancy 3.3 Example of a 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.
UM RedundConfig L2P
Release 8.0 05/2013 41
Ring Redundancy 3.3 Example of a Fast HIPER-Ring
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.
In the “Switches” frame, enter the number of Switches in the ring in
“Number”. This entry is used to optimize the reconfiguration time and
the stability of the ring.
Click "Set" to save the changes temporarily.
UM RedundConfig L2P
42 Release 8.0 05/2013
Ring Redundancy 3.3 Example of a Fast HIPER-Ring
Note: If you want to configure a Fast HIPER-Ring using the Command Line
Interface (CLI), you must define an additional parameter. When configured
using CLI, a Fast HIPER-Ring is addressed via its Fast HIPER-Ring ID. This
ID is a number in the value range 1 to 2,147,480,647 (231 - 1)). The default
setting is 1. The device also uses this value internally for a configuration via
the Web-based interface.
Configure all the devices within a Fast HIPER-Ring with the same
Fast HIPER-Ring ID.
UM RedundConfig L2P
Release 8.0 05/2013 43
Ring Redundancy 3.3 Example of a Fast HIPER-Ring
Note: Deactivate the Spanning Tree protocol (STP) for the ports connected
to the redundant ring, because the Spanning Tree and the Ring Redundancy
work with different reaction times (Redundancy:Spanning Tree:Port).
Now you connect the line to the ring. To do this, you connect the 2 devices
to the ends of the line using their ring ports.
UM RedundConfig L2P
44 Release 8.0 05/2013
Multiple Rings
4 Multiple Rings
The device allows you to set up multiple rings with different redundancy
protocols:
UM RedundConfig L2P
Release 8.0 05/2013 45
Multiple Rings 4.1 Sub-Ring
4.1 Sub-Ring
RM
1.2 1.1
1.1 1.2
1.1 1.9
SRM 1
1.2
1.2 1.2
1.1
1 2 1.1
1.1
SRM 2
1.2 1.9
UM RedundConfig L2P
46 Release 8.0 05/2013
Multiple Rings 4.1 Sub-Ring
UM RedundConfig L2P
Release 8.0 05/2013 47
Multiple Rings 4.1 Sub-Ring
RM
SRM 1
SRM 2
SRM 4 SRM 3
UM RedundConfig L2P
48 Release 8.0 05/2013
Multiple Rings 4.1 Sub-Ring
RM
SRM 1
SRM 2
SRM 3
RM
SRM 1
Figure 18: Special case: a Sub-Ring Manager manages both ends of a Sub-Ring at
different ports (Single Sub-Ring Manger).
UM RedundConfig L2P
Release 8.0 05/2013 49
Multiple Rings 4.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. You configure
either the Sub-Ring Managers’ Sub-Ring ports and the devices of the
Sub-Ring in a separate VLAN. Here multiple Sub-Rings can use the same
VLAN.
or the devices of the primary ring including the Sub-Ring Managers’
primary ring ports in a separate VLAN. This reduces the configuration
effort when coupling multiple Sub-Rings to a primary ring.
UM RedundConfig L2P
50 Release 8.0 05/2013
Multiple Rings 4.1 Sub-Ring
RM
1.2 1.1
1.1 1.2
1.1 1.9
SRM 1
1.2
1.2 1.2
1.1
1 2 1.1
1.1
SRM 2
1.2 1.9
UM RedundConfig L2P
Release 8.0 05/2013 51
Multiple Rings 4.1 Sub-Ring
Other settings:
– Define a different VLAN membership for the Primary Ring and the
Sub-Ring even if the basis ring is using the MRP protocol, e.g. VLAN
ID 1 for the Primary Ring and VLAN ID 2 for the Sub-Ring.
– For all ring ports in the Sub-Ring, select this VLAN ID and the VLAN
membership Tagged (T) in the static VLAN table.
– Switch the MRP-Ring function on for all devices.
– 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.
– Switch RSTP off for the MRP Ring ports used in the Sub-Ring.
– Assign the same MRP domain ID to all devices. If you are only using
Hirschmann Automation and Control GmbH devices, you do not have
to change the default value for the MRP domain ID.
If you need to adjust the MRP domain ID, open the Command Line Interface
(CLI) and proceed as follows:
UM RedundConfig L2P
52 Release 8.0 05/2013
Multiple Rings 4.1 Sub-Ring
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.
UM RedundConfig L2P
Release 8.0 05/2013 53
Multiple Rings 4.1 Sub-Ring
UM RedundConfig L2P
54 Release 8.0 05/2013
Multiple Rings 4.1 Sub-Ring
Click “Reload” to update the Sub-Ring overview and check all the
entries.
UM RedundConfig L2P
Release 8.0 05/2013 55
Multiple Rings 4.1 Sub-Ring
UM RedundConfig L2P
56 Release 8.0 05/2013
Multiple Rings 4.1 Sub-Ring
Ring ID: 1
Mode of Switch (administrative setting)... manager
Mode of Switch (real operating state)..... manager
Port Number............................... 1/9, State: Forwarding
Protocol.................................. Standard MRP
MRP Domain ID.............................
255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255Ri
ng Name.................................. Test
Partner MAC.............................. 02:E3:00:1B:00:09
VLAN ID.................................. 0 (No VLAN)
Operation................................ Enabled
When you have configured both SRMs and, if applicable, the devices
included in the Sub-Ring, close the Sub-Ring’s redundant line.
UM RedundConfig L2P
Release 8.0 05/2013 57
Multiple Rings 4.1 Sub-Ring
UM RedundConfig L2P
58 Release 8.0 05/2013
Ring/Network Coupling
5 Ring/Network Coupling
UM RedundConfig L2P
Release 8.0 05/2013 59
Ring/Network Coupling 5.1 Variants of the ring/network
coupling
UM RedundConfig L2P
60 Release 8.0 05/2013
Ring/Network Coupling 5.1 Variants of the ring/network
coupling
Table 7: Selection criteria for the configuration types for redundant coupling
UM RedundConfig L2P
Release 8.0 05/2013 61
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
UM RedundConfig L2P
62 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
UM RedundConfig L2P
Release 8.0 05/2013 63
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Figure 22: Choosing the ring coupling configuration (when the DIP switch is off,
or for devices without a DIP switch)
For devices without DIP switches, the software settings are not
restricted.
For devices with DIP switches, depending on the DIP switch position,
the dialog displays the possible configurations in color, while those
configurations that are not possible appear in gray.
The possible configurations are:
DIP switch RM: ON or OFF, STAND-BY: OFF:
Two-Switch coupling as master (with or without control line)
DIP switch RM: OFF, STAND-BY: ON:
One-Switch coupling and two-Switch coupling as slave (with or
without control line)
DIP switch RM: ON, STAND-BY: ON:
DIP switches are deactivated, and the software settings are possible
without any restrictions
If the DIP switches are activated and you want to use the software to
select one of the configurations that are not possible (grayed-out), you
put the DIP switches on the device into another position and reload the
dialog.
Note: For reasons of redundancy reliability, do not use Rapid Spanning Tree
and Ring/Network Coupling in combination.
UM RedundConfig L2P
64 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
RM
5 6
3 4
STAND-BY ON
RM
UM RedundConfig L2P
Release 8.0 05/2013 65
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
The coupling between two networks is performed by the main line (solid blue
line) in the normal mode of operation, which is connected to the partner
coupling port. If the main line becomes inoperable, the redundant line
(dashed blue line), which is connected to the coupling port, takes over the
ring/network coupling. The coupling switch-over is performed by one Switch.
2 1
STAND-BY ON
The following tables show the selection options and default settings for the
ports used in the Ring/Network coupling.
UM RedundConfig L2P
66 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Note: Configure the partner coupling port and the ring redundancy ports
on different ports.
Select the coupling port (see figure 25).
With “Coupling port” you specify at which port you are connecting
the network segments:
You will find the port assignment for the redundant coupling in
table 10.
Note: Configure the coupling port and the redundancy ring ports on
different ports.
Activate the function in the “Operation” frame (see figure 25)
Now connect the redundant line.
The displays in the “Select port” frame mean:
– “Port mode”: The port is either active or in stand-by mode.
– “Port state”: The port is either active, in stand-by mode or not
connected.
The displays in the “Information” frame mean:
– “Redundancy guaranteed”: If the main line no longer functions, the
redundant line takes over the function of the main line.
– “Configuration failure”: The function is incomplete or incorrectly
configured.
UM RedundConfig L2P
Release 8.0 05/2013 67
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Redundancy mode
In the “Redundancy Mode” frame, select (see figure 26)
– “Redundant Ring/Network Coupling” or
– “Extended Redundancy”.
UM RedundConfig L2P
68 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Coupling mode
The coupling mode indicates the type of the connected network.
In the “Coupling Mode” frame, select (see figure 28)
– “Ring Coupling” or
– “Network Coupling”
UM RedundConfig L2P
Release 8.0 05/2013 69
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
UM RedundConfig L2P
70 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
RM
3 4
RM
STAND-BY ON STAND-BY ON
UM RedundConfig L2P
Release 8.0 05/2013 71
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
The coupling between 2 networks is performed by the main line (solid blue
line). If the main line or one of the adjacent Switches becomes inoperable,
the redundant line (dashed black line) takes over coupling the 2 networks.
The coupling is performed by two Switches.
The switches send their control packages over the Ethernet.
The Switch connected to the main line, and the Switch connected to the
redundant line are partners with regard to the coupling.
1 2
STAND-BY ON
UM RedundConfig L2P
72 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Table 11: Port assignment for the redundant coupling (two-Switch coupling)
Note: Configure the coupling port and the redundancy ring ports on different
ports.
UM RedundConfig L2P
Release 8.0 05/2013 73
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Note: If you are operating the Ring Manager and two-Switch coupling
functions at the same time, there is the possibility of creating a loop.
UM RedundConfig L2P
74 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
2 1
STAND-BY ON
Note: Configure the coupling port and the redundancy ring ports on different
ports.
UM RedundConfig L2P
Release 8.0 05/2013 75
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Redundancy mode
In the “Redundancy Mode” frame, select (see figure 33)
– “Redundant Ring/Network Coupling” or
– “Extended Redundancy”.
UM RedundConfig L2P
76 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Coupling mode
UM RedundConfig L2P
Release 8.0 05/2013 77
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
UM RedundConfig L2P
78 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
RM
3 4
5
RM
STAND-BY ON STAND-BY ON
UM RedundConfig L2P
Release 8.0 05/2013 79
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
The coupling between 2 networks is performed by the main line (solid blue
line). If the main line or one of the adjacent Switches becomes inoperable,
the redundant line (dashed black line) takes over coupling the 2 networks.
The coupling is performed by two Switches.
The Switches send their control packets over a control line (dotted line).
The Switch connected to the main line, and the Switch connected to the
redundant line are partners with regard to the coupling.
1 3 2
STAND-BY ON
UM RedundConfig L2P
80 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Table 12: Port assignment for the redundant coupling (two-Switch coupling with
control line)
Note: Configure the coupling port and the redundancy ring ports on different
ports.
UM RedundConfig L2P
Release 8.0 05/2013 81
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Figure 38: Two-Switch coupling with control line: 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 the operation setting or
– change the configuration
while the connections are in operation at these ports.
UM RedundConfig L2P
82 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Note: The following settings are required for the coupling ports (you
select the Basic Settings:Port Configurationdialog):
See table 3 on page 30.
Note: If VLANs are configured, set the coupling and partner coupling
ports’ VLAN configuration as follows:
– in the dialog Switching:VLAN:Port Port VLAN ID 1 and „Ingress
Filtering“ deactivated
– in the dialog Switching:VLAN:Static VLAN-Membership U
(Untagged)
Select "Two-Switch coupling with control line“ by means of the dialog
button with the same graphic as below (see figure 39).
2 3 1
STAND-BY ON
UM RedundConfig L2P
Release 8.0 05/2013 83
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Note: Configure the coupling port and the redundancy ring ports on different
ports.
Redundancy mode
UM RedundConfig L2P
84 Release 8.0 05/2013
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Figure 40: Two-Switch coupling with control line: Selecting the redundancy
mode
With the “Redundant Ring/Network Coupling” setting, either the
main line or the redundant line is active. The lines are never both active
at the same time.
With the “Extended Redundancy” setting, the main line and the
redundant line are simultaneously active if the connection line between
the devices in the connected (i.e. remote) network fails (see figure 27).
During the reconfiguration period, package duplications may occur.
Therefore, only select this setting if your application detects package
duplications.
UM RedundConfig L2P
Release 8.0 05/2013 85
Ring/Network Coupling 5.2 Preparing a Ring/Network
Coupling
Coupling mode
The coupling mode indicates the type of the connected network.
In the “Coupling Mode” frame, select:
– “Ring coupling”
or
– “Network Coupling”
Figure 42: Two-Switch coupling with control line: Selecting the coupling mode
Select "Ring coupling" if you are connecting to a redundancy ring.
Select "Network Coupling" if you are connecting to a line or tree
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.
UM RedundConfig L2P
86 Release 8.0 05/2013
Spanning Tree
6 Spanning Tree
Note: The Spanning Tree Protocol is a protocol for MAC bridges. For this
reason, the following description uses 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. Therefore,
it is advantageous to use multiple bridges, for example:
to reduce the network load in sub-areas,
to set up redundant connections and
to overcome distance limitations.
Note: RSTP reduces a layer 2 network topology with redundant paths into a
tree structure (Spanning Tree) that does not contain any more redundant
paths. One of the Switches takes over the role of the root bridge here. The
maximum number of devices permitted in an active branch (from the root
bridge to the tip of the branch) is specified by the variable Max Age for the
current root bridge. The preset value for Max Age is 20, which can be
increased up to 40.
UM RedundConfig L2P
Release 8.0 05/2013 87
Spanning Tree
If the device working as the root is inoperable and another device takes over
its function, the Max Age setting of the new root bridge determines the
maximum number of devices allowed in a branch.
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 in the
network segments that are operated in combination.
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).
Note: By changing the IEEE 802.1D-2004 standard for RSTP, the Standards
Commission reduced the maximum value for the “Hello Time” from 10 s to
2 s. When you update the Switch software from a release before 5.0 to
release 5.0 or higher, the new software release automatically reduces the
locally entered “Hello Time” values that are greater than 2 s to 2 s.
If the device is not the RSTP root, “Hello Time” values greater than 2 s can
remain valid, depending on the software release of the root device.
UM RedundConfig L2P
88 Release 8.0 05/2013
Spanning Tree 6.1 The Spanning Tree Protocol
UM RedundConfig L2P
Release 8.0 05/2013 89
Spanning Tree 6.1 The Spanning Tree Protocol
MSB LSB
80 00 00 80 63 51 74 00
UM RedundConfig L2P
90 Release 8.0 05/2013
Spanning Tree 6.1 The Spanning Tree Protocol
Alternatively, the Administrator can set the path cost. Like the Switch, the
Administrator assigns a higher path cost to paths with lower transmission
speeds. However, since the Administrator can choose this value freely, he
has a tool with which he can give a certain path an advantage among
redundant paths.
The root path cost is the sum of all individual costs of those paths that a data
packet has to traverse from a connected bridge‘s port to the root bridge.
1
PC = 200 000 PC = 200 000 000
PC Path costs
Ethernet (100 Mbit/s)
PC = 200 000
Ethernet (10 Mbit/s)
2 3
Table 13: Recommended path costs for RSTP based on the data rate.
UM RedundConfig L2P
Release 8.0 05/2013 91
Spanning Tree 6.1 The Spanning Tree Protocol
a. Bridges that conform with IEEE 802.1D 1998 and only support 16-bit values for the path
costs should use the value 65,535 (FFFFH) for path costs when they are used in conjunction
with bridges that support 32-bit values for the path costs.
UM RedundConfig L2P
92 Release 8.0 05/2013
Spanning Tree 6.1 The Spanning Tree Protocol
MSB LSB
UM RedundConfig L2P
Release 8.0 05/2013 93
Spanning Tree 6.2 Rules for Creating the Tree
Structure
bridge identifier,
root path costs and
port identifier
UM RedundConfig L2P
94 Release 8.0 05/2013
Spanning Tree 6.2 Rules for Creating the Tree
Structure
If there are multiple paths with the same root path costs, the bridge further
away from the root decides which port it blocks. For this purpose, it uses
the bridge identifiers of the bridge closer to the root. The bridge blocks the
port that leads to the bridge with the numerically higher ID (a numerically
higher ID is the logically worse one). If 2 bridges have the same priority,
the bridge with the numerically larger MAC address has the numerically
higher ID, which is logically the worse one.
If multiple paths with the same root path costs lead from one bridge to the
same bridge, the bridge further away from the root uses the port identifier
of the other bridge as the last criterion (see figure 45). In the process, the
bridge blocks the port that leads to the port with the numerically higher ID
(a numerically higher ID is the logically worse one). If 2 ports have the
same priority, the port with the higher port number has the numerically
higher ID, which is logically the worse one.
UM RedundConfig L2P
Release 8.0 05/2013 95
Spanning Tree 6.2 Rules for Creating the Tree
Structure
yes
UM RedundConfig L2P
96 Release 8.0 05/2013
Spanning Tree 6.3 Example of determining the root
path
You can use the network plan (see figure 47) to follow the flow chart (see
figure 46) for determining the root path. The administrator has specified a
priority in the bridge identification for each bridge. The bridge with the
smallest numerical value for the bridge identification takes on the role of the
root bridge, in this case, bridge 1. In the example all the sub-paths have the
same path costs. The protocol blocks the path between bridge 2 and bridge
3 as a connection from bridge 3 via bridge 2 to the root bridge would result in
higher path costs.
UM RedundConfig L2P
Release 8.0 05/2013 97
Spanning Tree 6.3 Example of determining the root
path
Root Bridge
P-BID = 16 384
2 3
P-BID = 32 768
UM RedundConfig L2P
98 Release 8.0 05/2013
Spanning Tree 6.4 Example of manipulating the root
path
You can use the network plan (see figure 47) to follow the flow chart (see
figure 46) for determining the root path. The Administrator has performed the
following:
– Left the default value of 32,768 (8000H) for every bridge apart from bridge
1 and bridge 5, and
– assigned to bridge 1 the value 16,384 (4000H), thus making it the root
bridge.
The protocol blocks the path between bridge 2 and bridge 3 as a connection
from bridge 3 via bridge 2 to the root bridge would mean higher path costs.
Note: Because the Administrator does not change the default values for the
priorities of the bridges in the bridge identifier, apart from the value for the
root bridge, the MAC address in the bridge identifier alone determines which
bridge becomes the new root bridge if the current root bridge goes down.
UM RedundConfig L2P
Release 8.0 05/2013 99
Spanning Tree 6.4 Example of manipulating the root
path
Root Bridge
P-BID = 16 384
2 3
P-BID = 32 768
4 5
UM RedundConfig L2P
100 Release 8.0 05/2013
Spanning Tree 6.5 Example of manipulating the tree
structure
Root-Bridge
P-BID = 16 384
6 5
MAC 00:01:02:03:04:06
UM RedundConfig L2P
Release 8.0 05/2013 101
Spanning Tree 6.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
mechanisms that speed up the reconfiguration if a link or bridge becomes
inoperable.
The ports play a significant role in this context.
Root Port:
This is the port at which a bridge receives data packets with the lowest
path costs from the root bridge.
If there are multiple ports with equally low path costs, the bridge ID of the
bridge that leads to the root (designated bridge) decides which of its ports
is given the role of the root port by the bridge further away from the root.
If a bridge has multiple ports with equally low path costs to the same
bridge, the bridge uses the port ID of the bridge leading to the root
(designated bridge) to decide which port it selects locally as the root port
(see figure 46).
The root bridge itself does not have a root port.
Designated port:
The bridge in a network segment that has the lowest root path costs is the
designated bridge.
If more than 1 bridge has the same root path costs, the bridge with the
smallest value bridge identifier becomes the designated bridge. The
designated port on this bridge is the port that connects a network segment
leading away from the root bridge. If a bridge is connected to a network
segment with more than one port (via a hub, for example), the bridge
gives the role of the designated port to the port with the better port ID.
UM RedundConfig L2P
102 Release 8.0 05/2013
Spanning Tree 6.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).
Alternate port
This is a blocked port that takes over the task of the root port if the
connection to the root bridge is lost. The alternate port provides a backup
connection 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 any RSTP bridges)
is lost
Disabled port
This is a port that does not participate in the Spanning Tree Operation,
i.e., the port is switched off or does not have any connection.
UM RedundConfig L2P
Release 8.0 05/2013 103
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
BID = 16 384
2 3
BID = 40 960
UM RedundConfig L2P
104 Release 8.0 05/2013
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
Table 14: Relationship between port state values for STP and RSTP.
a. The dot1d-MIB displays “Disabled”
b. The dot1d-MIB displays “Blocked”
UM RedundConfig L2P
Release 8.0 05/2013 105
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
UM RedundConfig L2P
106 Release 8.0 05/2013
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
Address table:
With STP, the age of the entries in the FDB determines the updating of
communication. RSTP immediately deletes the entries in those ports
affected by a reconfiguration.
Reaction to events:
Without having to adhere to any time specifications, RSTP immediately
reacts to events such as connection interruptions, connection
reinstatements, etc.
Note: The downside of this fast reconfiguration is the possibility that data
packages could be duplicated and/or arrive at the recipient in the wrong order
during the reconfiguration phase of the RSTP topology. 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.
Note: Before you connect the redundant lines, you must complete the
configuration of the RSTP.
You thus avoid loops during the configuration phase.
UM RedundConfig L2P
Release 8.0 05/2013 107
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
UM RedundConfig L2P
108 Release 8.0 05/2013
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
Figure 52: 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.
UM RedundConfig L2P
Release 8.0 05/2013 109
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
UM RedundConfig L2P
110 Release 8.0 05/2013
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
Diameter = 7
1 2 3 4 5 6 7
1 2 3 4 5 1 2 3 4
Age = 5 Age = 4
= Root
The network diameter is the number of connections between the two devices
furthest away from the root bridge.
UM RedundConfig L2P
Release 8.0 05/2013 111
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
UM RedundConfig L2P
112 Release 8.0 05/2013
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
If you are using the device in a Multiple Spanning Tree (MSTP) environment,
the device only participates in the Common Spanning Tree (CST) instance.
This chapter of the manual also uses the term Global MST instance to
describe this general case.
UM RedundConfig L2P
Release 8.0 05/2013 113
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
UM RedundConfig L2P
114 Release 8.0 05/2013
Spanning Tree 6.6 The Rapid Spanning Tree
Protocol
– a These columns show you more detailed information than that available
up to now:
For designated ports, the device displays the information for the STP-
BPDU last received by the port. This helps with the diagnosis of possible
STP problems in the network.
For the port roles alternative, back-up, master and root, in the stationary
condition (static topology), this information is identically to the designated
information.
If a port has no link, or if it has not received any STP-BDPUs for the
current MSTI, the device displays the values that the port would send as
a designated port.
UM RedundConfig L2P
Release 8.0 05/2013 115
Spanning Tree 6.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.
The RSTP diameter (see figure 53) depends on the “Max Age”. It applies to
the devices outside the MRP-Ring.
Note: The combination of RSTP and MRP presumes that both the root bridge
and the backup root bridge are located within the MRP-Ring.
1
RM
UM RedundConfig L2P
116 Release 8.0 05/2013
Spanning Tree 6.7 Combining RSTP and MRP
To combine RSTP with MRP, you perform the following steps in sequence:
Configure MRP on all devices in the MRP-Ring.
Close the redundant line 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:
– Set their priority.
– If you exceed the RSTP diameter specified by the preset value of Max
Age = 20, modify Max Age and Forward Delay accordingly.
Switch on RSTP globally.
Switch on the MRP compatibility mode.
After configuring all the participating devices, connect the redundant
RSTP connection.
UM RedundConfig L2P
Release 8.0 05/2013 117
Spanning Tree 6.7 Combining RSTP and MRP
Parameters S1 S2 S3 S4 S5 S6
MRP settings
Ring redundancy: MRP version MRP MRP MRP MRP
Ring port 1 1.1 1.1 1.1 1.1
Ring port 2 1.2 1.2 1.2 1.2
Port from MRP-Ring to the RSTP 1.3 1.3 - - - -
network
Redundancy Manager mode On Off – – Off Off
MRP operation On On Off Off On On
RSTP settings
For each RSTP port: STP State On On On On On On
Enable
Protocol Configuration: priority 4,096 0 32,768 32,768 32,768 32,768
(S2<S1<S3 and S2<S1<S4)
RSTP:Global: Operation On On On On On On
RSTP:Global: MRP compatibility On On – – On On
Table 17: Values for the configuration of the switches of the MRP/RSTP example
UM RedundConfig L2P
118 Release 8.0 05/2013
Spanning Tree 6.7 Combining RSTP and MRP
S5 S6
1.1 1.2 1.1 1.2
1
RM
1.1 1.2 1.1 1.2
S1 1.3 1.3
S2
2
1.1 1.1
3
S3 1.2 1.2
S4
Figure 56: 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
UM RedundConfig L2P
Release 8.0 05/2013 119
Spanning Tree 6.7 Combining RSTP and MRP
spanning-tree mst priority 0 Set the RSTP priority for the MST instance 0 to
4096 the value 4,096. the MST instance 0 is the default
instance.
spanning-tree Activate RSTP operation globally.
spanning-tree stp-mrp-mode Activate MRP compatibility.
UM RedundConfig L2P
120 Release 8.0 05/2013
Readers’ Comments
A Readers’ Comments
UM RedundConfig L2P
Release 8.0 05/2013 121
Readers’ Comments
General comments:
Sender:
Company / Department:
Street:
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
by post to
Hirschmann Automation and Control GmbH
Department 01RD-NT
Stuttgarter Str. 45-51
72654 Neckartenzlingen
UM RedundConfig L2P
122 Release 8.0 05/2013
Index
B Index
A N
Advanced Mode 34 Network load 87, 89
Age 111
Alternate port 103 P
PROFINET IO 5
B Path costs 91, 94
BPDU 94 Port Identifier 90, 93
Backup port 103 Port number 93
Bridge Identifier 90 Port priority (Spanning Tree) 93
Bridge Protocol Data Unit 94 Port roles (RSTP) 102
Port-State 105
C
Configuration error 33, 37, 43 R
Configuring the HIPER-Ring 29, 41 RM function 25
RST BPDU 103, 106
D RSTP 9
DIP-switch 29 Rapid Spanning Tree 9, 102
Designated bridge 102 Reconfiguration 89
Designated port 102 Redundancy 5
Diameter 111 Redundancy Manager 27
Disabled port 103 Redundancy existing 33, 37, 43
Redundancy functions 9
E Redundant Coupling 9, 12, 21
Edge port 103 Redundant connections 87
Redundant coupling 9
F Ring 25
FAQ 125 Ring Manager 27
Fast HIPER-Ring (port VLAN ID) 9 Ring Redundancy 10, 10, 10
Forward Delay 110 Ring manager 25
Ring structure 26
H Ring/Network coupling 9
HIPER-Ring 9, 12, 22 Root Bridge 94
Hello Time 110 Root Path Cost 90
Root path 97, 99
I Root port 102
Industrial HiVision 6
Industry Protocols 5 S
STP-BPDU 94
L Sub-Ring 9, 46
LACP Link Aggregation Control Protocol 15 Symbol 7
Link Aggregation 9, 12, 15, 22
Loops 74, 76, 82, 84 T
Technical Questions 125
M Training Courses 125
Max Age 110 Tree structure (Spanning Tree) 94, 101
Trunk 15
UM RedundConfig L2P
Release 8.0 05/2013 123
Index
V
VLAN (settings for HIPER-Ring) 32
UM RedundConfig L2P
124 Release 8.0 05/2013
Further Support
C Further Support
Technical Questions
For technical questions, please contact any Hirschmann dealer in your
area or Hirschmann directly.
You will find the addresses of our partners on the Internet at
http://www.hirschmann.com
Contact our support at
https://hirschmann-support.belden.eu.com
UM RedundConfig L2P
Release 8.0 05/2013 125
Further Support
UM RedundConfig L2P
126 Release 8.0 05/2013
Further Support
UM RedundConfig L2P
Release 8.0 05/2013 127