User Manual: Redundancy Configuration Industrial ETHERNET (Gigabit) Switch RS20/RS30/RS40, MS20/MS30, OCTOPUS
User Manual: Redundancy Configuration Industrial ETHERNET (Gigabit) Switch RS20/RS30/RS40, MS20/MS30, OCTOPUS
User Manual: Redundancy Configuration Industrial ETHERNET (Gigabit) Switch RS20/RS30/RS40, MS20/MS30, OCTOPUS
Redundancy Configuration
Industrial ETHERNET (Gigabit) Switch
RS20/RS30/RS40, MS20/MS30, OCTOPUS
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 en-
closed CD applies.
The performance features described here are binding only if they have been expressly guaran-
teed in the contract. 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.
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.
Printed in Germany
Hirschmann Automation and Control GmbH
Stuttgarter Str. 45-51
72654 Neckartenzlingen
Germany
Tel.: +49 1805 141538
Content
Content 3
Key 6
1 Introduction 9
1.1 Overview of Redundancy Procedure 10
2 Ring Redundancy 11
2.1 Example of HIPER-Ring 13
2.1.1 Setting up and configuring the HIPER-Ring 15
2.2 Example of MRP-Ring 19
3 Ring/Network coupling 25
3.1 Variants of the ring/network coupling 26
3.2 Preparing a Ring/Network coupling 28
3.2.1 STAND-BY switch 28
3.2.2 One-Switch coupling 31
3.2.3 Two-Switch coupling 37
3.2.4 Two-Switch coupling with control line 45
Redundanz L2E
Release 5.0 04/09 3
Content
A Readers’ comments 83
B Index 85
C Further support 87
Redundanz L2E
4 Release 5.0 04/09
About this Manual
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 “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.
Redundanz L2E
Release 5.0 04/09 5
Key
Key
X 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.
Courier ASCII representation in user interface
Execution in the Web-based Interface user interface
Execution in the Command Line Interface user interface
Symbols used:
Router
Switch
Bridge
Hub
Redundanz L2E
6 Release 5.0 04/09
Key
A random computer
Configuration Computer
Server
PLC -
Programmable logic
controller
I/O -
Robot
Redundanz L2E
Release 5.0 04/09 7
Key
Redundanz L2E
8 Release 5.0 04/09
Introduction
1 Introduction
Redundanz L2E
Release 5.0 04/09 9
Introduction 1.1 Overview of Redundancy Procedure
1.1 Overview of
Redundancy Procedure
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 L2E
10 Release 5.0 04/09
Ring Redundancy
2 Ring Redundancy
RM
Redundanz L2E
Release 5.0 04/09 11
Ring Redundancy
Note: The following usage of the term “ring manager” instead of “redundancy
manager” makes the function easier to understand.
Redundanz L2E
12 Release 5.0 04/09
Ring Redundancy 2.1 Example of HIPER-Ring
1 2 3
1.1 1.2 1.1 1.2 1.1 1.2
RM
Redundanz L2E
Release 5.0 04/09 13
Ring Redundancy 2.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.
Redundanz L2E
14 Release 5.0 04/09
Ring Redundancy 2.1 Example of HIPER-Ring
Redundanz L2E
Release 5.0 04/09 15
Ring Redundancy 2.1 Example of 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 on “Set” to temporarily save the entry in the configuration.
Redundanz L2E
16 Release 5.0 04/09
Ring Redundancy 2.1 Example of 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
– VLAN membership Untagged in the static VLAN table
Note: Deactivate the Spanning Tree protocol on the ports connected to the
HIPER-Ring because Spanning Tree and Ring Redundancy affect each oth-
er. If you enable the HIPER-Ring function by means of the DIP switch,
RSTP will be disabled automatically.
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.
Redundanz L2E
Release 5.0 04/09 17
Ring Redundancy 2.1 Example of HIPER-Ring
Note: When you use the DIP switch to switch from a normal port to a ring
port, the device makes the required settings for the pre-defined ring ports in
the configuration table. The port which has been switched back from a ring
port to a normal port keeps the ring port settings (transmission speed and
mode). Independently of the DIP switch setting, you can still change all the
ports via the software.
Redundanz L2E
18 Release 5.0 04/09
Ring Redundancy 2.2 Example of MRP-Ring
1 2 3
1.1 1.2 1.1 1.2 1.1 1.2
RM
Redundanz L2E
Release 5.0 04/09 19
Ring Redundancy 2.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.
Redundanz L2E
20 Release 5.0 04/09
Ring Redundancy 2.2 Example of MRP-Ring
Redundanz L2E
Release 5.0 04/09 21
Ring Redundancy 2.2 Example of MRP-Ring
Note: For all devices in an MRP-Ring, activate the MRP compatibility in the
Rapid Spanning Tree:Global dialog if you want to use RSTP in the
MRP-Ring. If this is not possible, perhaps because individual devices do not
support the MRP compatibility, you deactivate the Spanning Tree protocol at
the ports connected to the MRP-Ring. Spanning Tree and Ring Redundancy
affect each other.
Note: If you want to configure an MRP-Ring using the Command Line Inter-
face, you must 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.
Redundanz L2E
22 Release 5.0 04/09
Ring Redundancy 2.2 Example of 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
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.
Redundanz L2E
Release 5.0 04/09 23
Ring Redundancy 2.2 Example of MRP-Ring
Redundanz L2E
24 Release 5.0 04/09
Ring/Network coupling
3 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:
X RS2-./.
X RS2-16M
X RS20, RS30, RS40
X OCTOPUS
X MICE (from rel. 3.0)
X Power MICE
X MS20, MS30
X RSR20, RSR30
X MACH 100
X MACH 1000
X MACH 3000 (from rel. 3.3),
X MACH 4000
Redundanz L2E
Release 5.0 04/09 25
Ring/Network coupling 3.1 Variants of the ring/network coupling
The type of coupling primarily depends on the topological conditions and the
desired level of safety (see table 4).
Redundanz L2E
26 Release 5.0 04/09
Ring/Network coupling 3.1 Variants of the ring/network coupling
Redundanz L2E
Release 5.0 04/09 27
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Depending on the device and model, set the STAND-BY switch in accor-
dance with the following table (see table 6):
Redundanz L2E
28 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Redundanz L2E
Release 5.0 04/09 29
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
One-Switch coupling
Assign the device the DIP switch setting “STAND-BY”, or use the soft-
ware configuration to assign the redundancy function to it.
Two-Switch coupling
Assign the device in the redundant line the DIP switch setting “STAND-
BY”, or use the software configuration to assign the redundancy func-
tion to it.
Redundanz L2E
30 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
RM
5 6
3 4
I O
STAND-BY
RM
Redundanz L2E
Release 5.0 04/09 31
Ring/Network coupling 3.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. The coupling is effected by one
Switch.
Select the Redundancy:Ring/Network Coupling dialog.
Select one-Switch coupling (see fig. 9).
2 1
I O
STAND-BY
Figure 9: One-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 partner coupling port (see fig. 10), (see table 7).
With “Partner coupling port” you specify at which port you are
connecting the control line.
The following tables show the selection options and default settings for the
ports used in the Ring/Network coupling.
Redundanz L2E
32 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Note: Configure the partner coupling port and the HIPER-Ring ports on
different ports.
Select the coupling port (see fig. 10), (see table 7).
With “Coupling port” you specify at which port you are connecting
the redundant line.
Note: Configure the coupling port and the redundancy ring ports on
different ports.
Activate the function in the “Operation” frame (see fig. 16).
You now connect the redundant line.
The displays in the “Select port” frame mean (see fig. 10):
– “Port mode”: The port is either active or in stand-by mode.
– “Port state”: The port is either connected or not connected.
The displays in the “Information” frame mean (see fig. 10):
– “Redundancy existing”: One of the lines affected can fail, as a
redundant line will then take over the function of the failed line.
– “Configuration failure”: The function is incomplete or incorrectly
configured.
Redundanz L2E
Release 5.0 04/09 33
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Redundancy mode
In the “Redundancy Mode” frame, select (see fig. 11)
– “Redundant Ring/Network Coupling” or
– “Extended Redundancy”.
Redundanz L2E
34 Release 5.0 04/09
Ring/Network coupling 3.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 fig. 13)
– “Ring Coupling” or
– “Network Coupling”
Redundanz L2E
Release 5.0 04/09 35
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Redundanz L2E
36 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
RM
3 4
RM
I O I O
STAND-BY STAND-BY
Redundanz L2E
Release 5.0 04/09 37
Ring/Network coupling 3.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.
The Switch to which you connect the main line, and the Switch to which you
connect the redundant line, are partners as regards the coupling.
1 2
I O
STAND-BY
Redundanz L2E
38 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Note: Configure the coupling port and the redundancy ring ports on different
ports.
Redundanz L2E
Release 5.0 04/09 39
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Note: If you are operating the Ring Manager and two-Switch coupling func-
tions at the same time, there is the risk of creating a loop.
Redundanz L2E
40 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
2 1
I O
STAND-BY
Note: Configure the coupling port and the redundancy ring ports on different
ports.
Redundanz L2E
Release 5.0 04/09 41
Ring/Network coupling 3.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):
– 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.
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
– VLAN membership U in the static VLAN table.
Note: If you are operating the Ring Manager and two-Switch coupling
functions at the same time, there is the risk of creating a loop.
Redundancy mode
In the “Redundancy Mode” frame, select (see fig. 18)
– “Redundant Ring/Network Coupling” or
– “Extended Redundancy”.
Redundanz L2E
42 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Coupling mode
Redundanz L2E
Release 5.0 04/09 43
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Redundanz L2E
44 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
RM
3 4
5
RM
I O I O
STAND-BY STAND-BY
Redundanz L2E
Release 5.0 04/09 45
Ring/Network coupling 3.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.
The device to which you connect the main line, and the device to which you
connect the redundant line, are partners as regards the coupling.
1 3 2
I O
STAND-BY
Redundanz L2E
46 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Table 9: Port assignment for the redundant coupling (two-Switch coupling with con-
trol line)
Note: Configure the coupling port and the redundancy ring ports on different
ports.
Redundanz L2E
Release 5.0 04/09 47
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Redundanz L2E
48 Release 5.0 04/09
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
2 3 1
I O
STAND-BY
Note: Configure the coupling port and the redundancy ring ports on different
ports.
Redundanz L2E
Release 5.0 04/09 49
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
The displays in the “Select port” frame mean (see fig. 23):
– “Port mode”: The port is either active or in stand-by mode.
– “Port state”: The port is either connected or not connected.
– “IP Address”: The IP address of the partner, if the partner is already
operating in the network.
The displays in the “Information” frame mean (see fig. 23):
– “Redundancy existing”: One of the lines affected can fail, as a
redundant line will then take over the function of the failed line.
– “Configuration failure”: The function is incomplete or incorrectly
configured.
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):
– 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.
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
– VLAN membership U in the static VLAN table.
Redundancy mode
In the “Redundancy Mode” frame, select (see fig. 25)
– “Redundant Ring/Network Coupling” or
– “Extended Redundancy”.
Redundanz L2E
50 Release 5.0 04/09
Ring/Network coupling 3.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 fig. 27)
– “Ring Coupling” or
– “Network Coupling”
Redundanz L2E
Release 5.0 04/09 51
Ring/Network coupling 3.2 Preparing a Ring/Network coupling
Redundanz L2E
52 Release 5.0 04/09
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. This applies to both the
geographical expansion and the number of network participants. Therefore,
it usually makes sense to use multiple bridges, for example:
X to reduce the network load in sub-areas,
X to set up redundant connections and
X to overcome distance limitations.
Redundanz L2E
Release 5.0 04/09 53
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.
Note: The RSTP Standard dictates that all the devices within a network work
with the (Rapid) Spanning Tree Algorithm. However, if STP and RSTP are
used at the same time, the advantages of faster reconfiguration with RSTP
are lost. RSTP devices also work in a limited MSTP environment within the
scope of their functionality.
Redundanz L2E
54 Release 5.0 04/09
Rapid Spanning Tree 4.1 The Spanning Tree Protocol
Redundanz L2E
Release 5.0 04/09 55
Rapid Spanning Tree 4.1 The Spanning Tree Protocol
MSB LSB
Redundanz L2E
56 Release 5.0 04/09
Rapid Spanning Tree 4.1 The Spanning Tree Protocol
Alternatively, the Administrator can specify the path costs. Like the Switch,
the Administrator assigns the higher path costs to paths with lower transmis-
sion 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 costs are the sum of all the individual path costs for all paths
along which a data packet travels between the connected port of a bridge and
the root bridge.
Bridge 1
PC = 200 000 PC = 2 000 000
PC Path costs
Ethernet (100 Mbit/s)
PC = 200 000
Ethernet (10 Mbit/s)
Bridge 2 Bridge 3
Redundanz L2E
Release 5.0 04/09 57
Rapid Spanning Tree 4.1 The Spanning Tree Protocol
Table 10: Recommended path costs for RSTP based on the data rate
* Bridges that conform with IEEE 802.1D, 1998 edition, and only support 16-bit
values for the path costs should use the value 65 535 for path costs when they are
used in conjunction with bridges that support 32-bit values for the path costs.
10 GBit/s 2.000 200-20.000 1-200.000.000
100 GBit/s 200 20-2.000 1-200.000.000
1 TBit/s 20 2-200 1-200.000.000
10 TBit/s 2 1-20 1-200.000.000
MSB LSB
Redundanz L2E
58 Release 5.0 04/09
Rapid Spanning Tree 4.2 Rules for creating the tree structure
X bridge identifier,
X root path costs and
X port identifier
Redundanz L2E
Release 5.0 04/09 59
Rapid Spanning Tree 4.2 Rules for creating the tree structure
X 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. 30). This decides which port
is selected.
yes
Redundanz L2E
60 Release 5.0 04/09
Rapid Spanning Tree 4.3 Example of specifying the root paths
The network plan (see fig. 32) can be used to create the flow diagram (see
fig. 31) for defining the root path. The Administrator defined a different priority
in the bridge identifier for each bridge. The bridge with the smallest number
for the bridge identifier is the root bridge, in this case bridge 1. In the
example, all the sub-paths have the same path costs. The path between
bridge 2 and bridge 3 is interrupted, because a connection from bridge 3 to
the root bridge via bridge 2 would double the path costs.
Redundanz L2E
Release 5.0 04/09 61
Rapid Spanning Tree 4.3 Example of specifying the root paths
P-BID = 16 384
Bridge 1
Bridge 2 Bridge 3
P-BID = 40 960
Bridge 7
Bridge 4 Bridge 5
Port 1
Redundanz L2E
62 Release 5.0 04/09
Rapid Spanning Tree 4.4 Example of manipulating the root paths
The network plan (see fig. 32) can be used to create the flow diagram (see
fig. 31) for defining the root path. The Administrator
– left the default value of 32 768 for each bridge apart from bridge 1, and
– gave bridge 1 the value 16 384, thus making it the root bridge.
In the example, all the sub-paths have the same path costs. The path
between bridge 2 and bridge 3 is interrupted, because a connection from
bridge 3 to the root bridge via bridge 2 would double the 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 root bridge goes down.
Redundanz L2E
Release 5.0 04/09 63
Rapid Spanning Tree 4.4 Example of manipulating the root paths
P-BID = 16 384
Bridge 1
Bridge 2 Bridge 3
P-BID = 32 768
Bridge 7
Bridge 4 Bridge 5
Port 1
Redundanz L2E
64 Release 5.0 04/09
Rapid Spanning Tree 4.5 Example of manipulating the tree structure
P-BID = 16 384
Bridge 2
P-BID = 36 864
Port 3 P-BID = 28 672
Bridge 6 Bridge 5
Redundanz L2E
Release 5.0 04/09 65
Rapid Spanning Tree 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.
X 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 the same low path costs, the bridge
identifier determines which port is the root port.
If there are multiple ports with the same low path costs and the same
bridge identifier, the port identifier determines which port is the root port
(see fig. 31).
The root bridge does not have a root port.
X Designated port
The bridge in a network segment that has the lowest root path costs is the
designated bridge. If multiple bridges have the same root path costs, then
the bridge with the smallest value for the bridge identifier becomes the
designated bridge. The port on this bridge that connects it to a network
segment that leads from the root bridge, is the designated port.
X Edge port
Every network segment in which there are no additional RSTP bridges is
connected with exactly one designated port. This designated port is then
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
Unit).
Redundanz L2E
66 Release 5.0 04/09
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
X 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.
X 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.
X Disabled port
This is the port that does not play any role with the Spanning Tree
Operation, and is therefore switched off or does not have any connection.
P-BID = 16 384
Bridge 1
Bridge 2 Bridge 3
P-BID = 40 960
Bridge 7
P-BID = 28 672 P-BID = 32 768
P-BID Priority of the bridge identifikation (BID)
Port 2 = BID without MAC Address
Root path
Bridge 4 Port 1
Interrupted path
Bridge 5
Root port
Designated port
Alternate port
Backup port
Edge port
Redundanz L2E
Release 5.0 04/09 67
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
Table 11: Relationship between port state values in STP and RSTP.
* the dot1d MIB shows “Disabled”
** the dot1d MIB shows “Blocked”
Redundanz L2E
68 Release 5.0 04/09
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
Redundanz L2E
Release 5.0 04/09 69
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.
Note: Before you connect the redundant lines, you must complete the
configuration of the RSTP.
You thus avoid loops during the configuration phase.
Redundanz L2E
70 Release 5.0 04/09
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
Redundanz L2E
Release 5.0 04/09 71
Rapid Spanning Tree 4.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. In the right column you enter
the values which shall apply when this Switch becomes a root
Switch. For the configuration, take note of table 12.
Figure 37: Assigning Hello Time, Forward Delay und Max. Age
The times entered in the RSTP dialog are in units of 1 s.
Example: Hello Time = 2 corresponds to 2 seconds.
Redundanz L2E
72 Release 5.0 04/09
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
Redundanz L2E
Release 5.0 04/09 73
Rapid Spanning Tree 4.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 diameter is the number of connections between the two devices furthest
away from the root bridge.
The parameters
– Forward Delay and
– Max Age
have a relationship to each other:
Forward Delay >= (Max Age/2) + 1
If you enter values that contradict this relationship, the device then
replaces these values with a default value or with the last valid values.
As required, change and verify the settings and displays that relate
to each individual port (menu bar: Rapid Spanning Tree - Port).
Redundanz L2E
74 Release 5.0 04/09
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
Redundanz L2E
Release 5.0 04/09 75
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
Redundanz L2E
76 Release 5.0 04/09
Rapid Spanning Tree 4.6 The Rapid Spanning Tree Protocol
Redundanz L2E
Release 5.0 04/09 77
Rapid Spanning Tree 4.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.
The RSTP diameter (see fig. 38) depends on the “Max Age”. It applies to the
devices outside the MRP-Ring.
Note: The combination of RSTP and MRP requires the root bridge and the
backup root bridge to be within the MRP-Ring.
1
RM
Redundanz L2E
78 Release 5.0 04/09
Rapid Spanning Tree 4.7 Combination of RSTP and MRP
To combine RSTP with MRP, you perform the following steps in sequence:
X Configure MRP on all devices in the MRP-Ring.
X Activate RSTP at the RSTP ports and also at the MRP-Ring ports.
X Configure the RSTP root bridge and the RSTP backup root bridge in the
MRP-Ring:
– Set the priority.
– If you exceed the RSTP diameter specified by the preset value of
Max Age = 20, you modify “Max Age” and “Forward Delay”.
X Activate RSTP globally.
X Activate the MRP compatibility mode.
X After configuring all the participating devices, connect the redundant
RSTP connection.
Parameter S1 S2 S3 S4
MRP settings
Ring redundancy: MRP version MRP MRP
Ring port 1 1.1 1.2
Ring port 2 1.1 1.2
Redundancy Manager mode On Off – –
MRP operation On On Off Off
RSTP settings
For each RSTP port: STP State Enable On On On On
Protocol Configuration: Priority 4096 0 32768 32768
(S2<S1<S3 and S2<S1<S4)
RSTP:Global: Operation On On On On
RSTP:Global: MRP compatibility On On – –
Redundanz L2E
Release 5.0 04/09 79
Rapid Spanning Tree 4.7 Combination of RSTP and MRP
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 41: Application example for the combination of RSTP and MRP
1: MRP-Ring
2: RSTP-Ring
3: Redundant RSTP connection
RM: Ring Manager
Redundanz L2E
80 Release 5.0 04/09
Rapid Spanning Tree 4.7 Combination of RSTP and MRP
spanning-tree mst priority 0 Set the RSTP priority to the value 4096.
4096
spanning-tree Activate RSTP operation globally.
spanning-tree stp-mrp-mode Activate MRP compatibility.
Redundanz L2E
Release 5.0 04/09 81
Rapid Spanning Tree 4.7 Combination of RSTP and MRP
Redundanz L2E
82 Release 5.0 04/09
Readers’ comments
A Readers’ comments
Redundanz L2E
Release 5.0 04/09 83
Readers’ comments
General comments:
Sender:
Company / Department:
Street:
E-mail:
Date / Signature:
Dear User,
Redundanz L2E
84 Release 5.0 04/09
Index
B Index
A R
Advanced Mode 19 Rapid Spanning Tree 9, 53
Age 74 Redundancy 5
Alternate port 67 Redundancy existing 18, 21
Redundancy functions 9
B Redundancy Manager 12
Backup port 67 Redundant 11
Bridge Identifier 56 Redundant coupling 9
Ring 11
C Ring Manager 12
Configuration error 18, 21 Ring structure 12
Configuring the HIPER-Ring 14 Ring/Network Coupling 9
Root port 66
D RST BPDU 66, 68
Designated bridge 66 RSTP 9
Designated port 66
Diameter 74 S
Disabled port 67 Symbol 6
E T
Edge port 66 Technical questions 87
Training courses 87
F Two-Switch coupling 30
FAQ 87 Two-Switch coupling with control line 30
Forward Delay 73
V
H VLAN 17
Hello Time 73
HIPER-Ring 9
HiVision 5
I
Industry protocols 5
L
Loops 40, 42, 48, 50
M
Max Age 73
N
Network load 55
Network Management Software 5
O
One-Switch coupling 30
P
Port state 68
PROFINET 5
Redundanz L2E
Release 5.0 04/09 85
Index
Redundanz L2E
86 Release 5.0 04/09
Further support
C Further support
Redundanz L2E
Release 5.0 04/09 87