Pilz PSSnet SHL 8T MRP User Manual

PSSnet SHL Series Managed Ethernet Switches
Industrial Ethernet Switches – PSSnet S
Redundancy Configuration– Mat - No. 1001653 – EN- 01
All rights to this documentation are reserved by Pilz GmbH & Co. KG. Copies may be made for internal purposes.
Suggestions and comments for improving this documentation will be gratefully received.
Pilz®, PIT®, PMI®, PNOZ®, Primo®, PSEN®, PSS®, PVIS®, SafetyBUS p®, SafetyEYE®, SafetyNET p®, the spirit of safety® are registered and protected trademarks of Pilz GmbH & Co. KG in some countries.
Content
Content
Content 3
About this Manual 5
Key 7
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 44
4 Rapid Spanning Tree 53
4.1 The Spanning Tree Protocol 55
4.1.1 The tasks of the STP 55
4.1.2 Bridge parameters 56
4.1.3 Bridge Identifier 56
4.1.4 Root Path Costs 57
4.1.5 Port Identifier 58
4.2 Rules for creating the tree structure 59
4.2.1 Bridge information 59
4.2.2 Setting up the tree structure 59
4.3 Example of specifying the root paths 61
4.4 Example of manipulating the root paths 63
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
3
Content
4.5 Example of manipulating the tree structure 65
4.6 The Rapid Spanning Tree Protocol 66
4.6.1 Port roles 66
4.6.2 Port states 68
4.6.3 Spanning Tree Priority Vector 69
4.6.4 Fast reconfiguration 69
4.6.5 Configuring the Rapid Spanning Tree 70
4.7 Combination of RSTP and MRP 78
4.7.1 Application example for the combination of RSTP and MRP 79
A Index 83
B Further support 85
PSSnet SHL - Redundancy Configuration
4
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
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 “Installation” user manual contains a device description, safety instruc­tions, a description of the display, and all the other information that you need to install the device before you begin with the configuration of the device.
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.
The "Web-based Interface" reference manual contains detailed information on using the Web interface to operate the individual functions of the device.
The "Command Line Interface" reference manual contains detailed informa­tion on using the Command Line Interface to operate the individual functions of the device.
The Network Management Software HiVision/Industrial HiVision provides you with additional options for smooth configuration and monitoring:
X Configuration of multiple devices simultaneously. X Graphical interface with network layouts. X Auto-topology discovery. X Event log. X Event handling. X Client / Server structure. X Browser interface X ActiveX control for SCADA integration
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
5
About this Manual
X SNMP/OPC gateway
PSSnet SHL - Redundancy Configuration
6
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Key
Key
The designations used in this manual have the following meanings:
X List
Work step
Link Indicates a cross-reference with a stored link
Note: A note emphasizes an important fact or draws your
Courier ASCII representation in user interface
Symbols used:
Subheading
attention to a dependency.
Execution in the Web-based Interface user interface Execution in the Command Line Interface user interface
Router with firewall
Switch with firewall
Router
Switch
Bridge
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
7
Key
Hub
A random computer
Configuration Computer
Server
PLC ­Programmable logic controller
I/O ­Robot
PSSnet SHL - Redundancy Configuration
8
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Introduction
1 Introduction
The device contains a range of redundancy functions:
X HIPER-Ring X MRP-Ring X Ring/Network Coupling X Rapid Spanning Tree Algorithm (RSTP)
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
9
Introduction
1.1 Overview of Redundancy Procedure
1.1 Overview of
Redundancy Procedure
Redundancy procedure
RSTP Random structure typically < 1 s (STP < 30 s), up to < 30 s - depends
HIPER-Ring Ring typically 80 ms, up to < 500 ms - practically indepen-
MRP-Ring Ring typically 80 ms, up to < 500 ms - practically indepen-
Redundant coupling
Network topology Switching time
heavily on the number of devices
Note: Up to 79 devices possible, depending on topology and configuration. If the default values are being used, up to 39 devices are possible, depending on the topology (see page 53).
dently of the number of devices
dently of the number of devices
Note: In combination with RSTP in MRP compatibility mode, up to 39 devices are possible, depending on the configuration. If the default values for RSTP are being used, up to 19 devices are possible (see page 53).
Coupling of network segment/rings via a main line and a redundant line
typically 150 ms, up to < 500ms
Table 1: Comparison of the redundancy procedures
10
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Ring Redundancy
2 Ring Redundancy
The concept of ring redundancy allows the construction of high-availability, ring-shaped network structures. With the help of the RM (Ring Manager) function, the two ends of a backbone in a line structure can be closed to a redundant ring. The ring manager keeps the redundant line open as long as the line structure is intact. If a segment fails, the ring manager immediately closes the redundant line, and line structure is intact again.
Figure 1: Line structure
RM
Figure 2: Redundant ring structure
RM = Ring Manager —— main line
- - - redundant line
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
11
Ring Redundancy
If a section is down, the ring structure of a
X HIPER-(HIGH PERFORMANCE REDUNDANCY) Ring with up to 50 de-
vices typically transforms back to a line structure within 80 ms (setting: standard/accelerated).
X MRP (Media Redundancy Protocol) Ring (IEC 62439) of up to 50 devices
typically transforms back to a line structure within 80 ms (adjustable to max. 200 ms/500 ms).
Device requirements for using the HIPER-Ring function:
X Within a HIPER-Ring, you can use any combination of the following
devices: – PSSnet SHL
X Within an MRP-Ring, you can use devices that support the MRP protocol
based on IEC62439.
Note: Enabled Ring Redundancy methods on a device are mutually exclu­sive at any one time. When changing to another Ring Redundancy method, deactivate the function for the time being.
Note: The following usage of the term “ring manager” instead of “redundancy manager” makes the function easier to understand.
PSSnet SHL - Redundancy Configuration
12
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Ring Redundancy
2.1 Example of HIPER-Ring
2.1 Example of HIPER-Ring
A network contains a backbone in a line structure with 3 devices. To increase the redundancy reliability of the backbone, you have decided to convert the line structure to a HIPER-Ring. You use ports 1 and 2 in module 1 of the devices to connect the lines.
12 3
1.1 1.2 1.1 1.2 1.1 1.2
RM
Figure 3: Example of HIPER-Ring
RM = Ring Manager —— main line
- - - redundant line
The following example configuration describes the configuration of the ring manager device (1). The two other devices (2 to 3) are configured in the same way, but without activating the ring manager function. Select the “Standard” value for the ring recovery, or leave the field empty.
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
13
Ring Redundancy
2.1 Example of HIPER-Ring
Note: As an alternative to using software to configure the HIPER-Ring, with devices PSSnet SHL you can also use a DIP switch to enter a number of set­tings. You can also use a DIP switch to enter a setting for whether the con­figuration via DIP switch or the configuration via software has priority. The state on delivery is “Software Configuration”.
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.
14
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Ring Redundancy
2.1 Example of HIPER-Ring
2.1.1 Setting up and configuring the HIPER-Ring
Set up the network to meet your requirements. You configure all 6 ports so that the transmission speed and the duplex
settings of the lines correspond to the following table:
Bit rate 100 Mbit/s 1000 Mbit/s
Autonegotiation (automatic configuration)
Port on on Duplex Full
Table 2: Port settings for ring ports
Select the Redundancy:Ring Redundancy dialog.Under “Version”, select HIPER-Ring.Define the desired ring ports 1 and 2 by making the corresponding
entries in the module and port fields. If it is not possible to enter a module, then there is only one module in the device that is taken over as a default.
off on
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
15
Ring Redundancy
Display in “Operation” field: – active: This port is switched on and has a link. – inactive: This port is switched off or it has no link.
Figure 4: Ring Redundancy dialog
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.
PSSnet SHL - Redundancy Configuration
16
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Ring Redundancy
enable Switch to the Privileged EXEC mode. configure Switch to the Configuration mode. hiper-ring mode ring-manager Select the HIPER-Ring ring redundancy and de-
fine the device as ring manager.
Switch's HIPER Ring mode set to ring-manager hiper-ring port primary 1/1 Define port 1 in module 1 as ring port 1. HIPER Ring primary port set to 1/1 hiper-ring port secondary 1/2 Define port 2 in module 1 as ring port 2. HIPER Ring secondary port set to 1/2 exit Switch to the privileged EXEC mode. show hiper-ring Display the HIPER-Ring parameters.
HIPER Ring Mode of the Switch.................. ring-manager
configuration determined by.................. management
HIPER Ring Primary Port of the Switch.......... 1/1, state active
HIPER Ring Secondary Port of the Switch........ 1/2, state active
HIPER Ring Redundancy Manager State............ active
HIPER Ring Redundancy State (red. guaranteed).. no (rm is active)
HIPER Ring Setup Info (Config. failure)........ no error
HIPER Ring Recovery Delay...................... 500ms
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.
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
17
Ring Redundancy
2.1 Example of HIPER-Ring
The displays in the “Redundancy Manger Status” frame mean: – “Active (redundant line)”: The ring is open, which means that a data
line or a network component within the ring is down. – “Inactive”: The ring is closed, which means that the data lines and
network components are working. The displays in the “Information” frame mean
– “Redundancy existing”: One of the lines affected by the function can
fail, whereby the redundant line will then take over the function of the
failed line. – “Configuration failure”: The function is incorrectly configured or there
is an error in the ring port connection.
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.
18
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Ring Redundancy
2.2 Example of MRP-Ring
2.2 Example of MRP-Ring
A network contains a backbone in a line structure with 3 devices. To increase the redundancy reliability of the backbone, you have decided to convert the line structure to a ring redundancy. In contrast to the previous example, devices from different manufacturers are being used which do not all support the HIPER-Ring protocol. All the devices have MRP as the ring redundancy protocol, so you decide to use MRP. You use ports 1 and 2 in module 1 of the devices to connect the lines.
12 3
1.1 1.2 1.1 1.2 1.1 1.2
RM
Figure 5: Example of MRP-Ring
RM = Ring Manager —— main line
- - - redundant line
The following example configuration describes the configuration of the ring manager device (1). You configure the two other devices (2 to 3) in the same way, but without activating the ring manager function. This example does not use a VLAN. You have entered 200 ms as the ring recovery time, and all the devices support the advanced mode of the ring manager.
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
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.
Set up the network to meet your requirements. You configure all 6 ports so that the transmission speed and the duplex
settings of the lines correspond to the following table:
Bit rate 100 Mbit/s 1000 Mbit/s
Autonegotiation (automatic configuration)
Port on on Duplex Full
Table 3: Port settings for ring ports
off on
Select the Redundancy:Ring Redundancy dialog.Under “Version”, select MRP.Define the desired ring ports 1 and 2 by making the corresponding
entries in the module and port fields. If it is not possible to enter a
module, then there is only one module in the device that is taken
over as a default.
PSSnet SHL - Redundancy Configuration
20
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Ring Redundancy
Display in “Operation” field: forwarding: this port is switched on and has a link. blocked: this port is blocked and has a link. disabled: this port is switched off not connected: this port has no link.
2.2 Example of MRP-Ring
Figure 6: Ring Redundancy dialog
In the “Ring Recovery” frame, select 200ms.
Note: If selecting 200ms for the ring recovery does not provide the ring stability necessary to meet the requirements of your network, you select 500ms.
Note: Settings in the “Ring Recovery” frame are only effective for devices that you have configured as ring managers.
Under “Configuration Redundancy Manager”, activate the advanced
mode.
Activate the ring manager for this device. Do not activate the ring
manager for any other device in the MRP-Ring.
Leave the VLAN ID as 0 in the VLAN field.Switch the operation of the MRP-Ring on.Click on “Set” to temporarily save the entry in the configuration.
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
21
Ring Redundancy
2.2 Example of MRP-Ring
The displays in the “Information” frame mean – “Redundancy existing”: One of the lines affected by the function can
fail, whereby the redundant line will then take over the function of the
failed line. – “Configuration failure”: The function is incorrectly configured or there
is an error in the ring port connection. The “VLAN” frame enables you to assign the MRP-Ring to a VLAN: If VLANs are configured, you make the following selections in the
“VLAN” frame:
- VLAN ID 0, if the MRP-Ring configuration is not to be assigned to
a VLAN, as in this example.
Note the VLAN configuration of the ring ports. Select VLAN ID 1 and
VLAN membership Untagged in the static VLAN table for the ring
ports.
- a VLAN ID >0, if the MRP-Ring configuration is to be assigned to
this VLAN.
Enter this VLAN ID in the MRP-Ring configuration for all devices in
this MRP-Ring.
Note the VLAN configuration of the ring ports. For all ring ports in this
MRP-Ring, select this VLAN ID and the VLAN membership Tagged
in the static VLAN table.
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.
PSSnet SHL - Redundancy Configuration
22
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Ring Redundancy
enable Switch to the Privileged EXEC mode. configure Switch to the Configuration mode. mrp new-domain default domain Create a new MRP-Ring with the default domain
MRP domain created: Domain ID:
255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255 (Default MRP domain)
mrp current-domain port primary 1/1
Primary Port set to 1/1 mrp current-domain
port secondary 1/2 Secondary Port set to 1/2 mrp current-domain mode
manager Mode of Switch set to Manager mrp current-domain recovery-
delay 200ms Recovery delay set to 200ms mrp current-domain advanced-
mode enable Advanced Mode (react on link change) set to Enabled
mrp current-domain operation enable Activate the MRP-Ring.
Operation set to Enabled
exit Go back one level. show mrp Show the current parameters of the MRP-Ring
Domain ID:
255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255 (Default MRP domain)
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
ID 255,255,255,255,255,255,255,255,255,255,255, 255,255,255,255,255.
Define port 1 in module 1 as ring port 1 (primary).
Define port 2 in module 1 as ring port 2 (second­ary).
Define this device as the ring manager.
Define 200ms as the value for the “Ring Recov­ery”.
Activate the “MRP Advanced Mode”.
(abbreviated display).
2.2 Example of MRP-Ring
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
23
Ring Redundancy
2.2 Example of MRP-Ring
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.
24
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
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 PSSnet SHL
PSSnet SHL - Redundancy Configuration
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
25
Ring/Network coupling
3.1 Variants of the ring/network cou­pling
3.1 Variants of the ring/network coupling
The redundant coupling is effected by the one-Switch coupling of two ports of one device in the first ring/network to one port each of two devices in a
second ring/network segment (see fig. 8). Immediately after the main line fails, the device opens the redundant line. When the main line is OK again, the main line is opened again and the redundant line is blocked again. An error is detected and eliminated within 500 ms (typically 150 ms).
The redundant coupling is effected by the two-Switch coupling of one port each on two devices in the first ring/network to one port each of two devices in the second ring/network segment (see fig. 14). The device in the redundant line and the device in the main line use control packets to inform each other about their operating states, via the Ethernet or the control line. Immediately after the main line fails, the redundant device opens the redun­dant line. As soon as the main line is OK again, the device in the main line informs the redundant device. The main line is opened again, and the redun­dant line is blocked again. An error is detected and eliminated within 500 ms (typically 150 ms).
The type of coupling primarily depends on the topological conditions and the desired level of safety (see table 4).
PSSnet SHL - Redundancy Configuration
26
Pilz GmbH & Co. KG, Felix- Wankel Str. 2, 73760 Ostfildern
Loading...
+ 60 hidden pages