Industrial communication networks - High availability automation networks - Part 2: Media Redundancy Protocol (MRP) (IEC 62439-2:2021)

The IEC 62439 series is applicable to high-availability automation networks based on the
ISO/IEC/IEEE 8802-3 (IEEE Std 802.3) (Ethernet) technology.
This part of the IEC 62439 series specifies a recovery protocol based on a ring topology,
designed to react deterministically on a single failure of an inter-switch link or switch in the
network, under the control of a dedicated media redundancy manager node.

Industrielle Kommunikationsnetze: Hochverfügbare Automatisierungsnetze - Teil 2: Medienredundanz-Protokoll (MRP) (IEC 62439-2:2021)

Réseaux industriels de communication - Réseaux d'automatisme à haute disponibilité - Partie 2: Media Redudancy Protocol (MRP) (IEC 62439-2:2021)

IEC 62439-2:2021 s'applique aux réseaux de haute disponibilité pour l'automatisation qui reposent sur la technologie ISO/IEC/IEEE 8802-3 (IEEE Std 802.3) (Ethernet). L'IEC 62439-2:2021 spécifie un protocole de reprise reposant sur une topologie en anneau, qui est conçu pour réagir de manière déterministe en cas de défaillance unique sur une maille interétage ou sur un commutateur du réseau, sous le contrôle d'un nœud du gestionnaire de redondance du support dédié.

Industrijska komunikacijska omrežja - Omrežja za avtomatizacijo z visoko razpoložljivostjo - 2. del: Protokol z redundanco medijev (MRP) (IEC 62439-2:2021)

Standardi iz skupine IEC 62439 se uporabljajo za avtomatizacijska omrežja z visoko razpoložljivostjo, ki temeljijo na tehnologiji iz standarda ISO/IEC/IEEE 8802-3 (IEEE 802.3) (Ethernet).
Ta del skupine standardov IEC 62439 določa obnovitveni protokol, ki temelji na obročni topologiji, ki je zasnovana za determinističen odziv pri posamezni okvari povezave med stikali ali stikali v omrežju pod nadzorom dodeljenega vozlišča upravitelja redundance medijev.

General Information

Status
Published
Public Enquiry End Date
24-May-2020
Publication Date
03-May-2022
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
28-Feb-2022
Due Date
05-May-2022
Completion Date
04-May-2022

RELATIONS

Buy Standard

Standard
SIST EN IEC 62439-2:2022 - BARVE ! del standarda IEC je tudi zip (IEC_62439-2.MIB.2021A1.fullFDIS)
English language
178 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Draft
oSIST prEN IEC 62439-2:2020
English language
175 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (sample)

SLOVENSKI STANDARD
SIST EN IEC 62439-2:2022
01-junij-2022
Nadomešča:
SIST EN 62439-2:2018
SIST EN 62439-2:2018/AC:2018
Industrijska komunikacijska omrežja - Omrežja za avtomatizacijo z visoko

razpoložljivostjo - 2. del: Protokol z redundanco medijev (MRP) (IEC 62439-2:2021)

Industrial communication networks - High availability automation networks - Part 2:

Media Redundancy Protocol (MRP) (IEC 62439-2:2021)
Industrielle Kommunikationsnetze: Hochverfügbare Automatisierungsnetze - Teil 2:
Medienredundanz-Protokoll (MRP) (IEC 62439-2:2021)

Réseaux industriels de communication - Réseaux d'automatisme à haute disponibilité -

Partie 2: Media Redudancy Protocol (MRP) (IEC 62439-2:2021)
Ta slovenski standard je istoveten z: EN IEC 62439-2:2022
ICS:
25.040.01 Sistemi za avtomatizacijo v Industrial automation
industriji na splošno systems in general
35.110 Omreževanje Networking
SIST EN IEC 62439-2:2022 en,fr,de

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN IEC 62439-2:2022
---------------------- Page: 2 ----------------------
SIST EN IEC 62439-2:2022
EUROPEAN STANDARD EN IEC 62439-2
NORME EUROPÉENNE
EUROPÄISCHE NORM February 2022
ICS 25.040.40; 35.100.05 Supersedes EN 62439-2:2017 and all of its amendments
and corrigenda (if any)
English Version
Industrial communication networks - High availability automation
networks - Part 2: Media Redundancy Protocol (MRP)
(IEC 62439-2:2021)

Réseaux de communication industriels - Réseaux de haute Industrielle Kommunikationsnetze: Hochverfügbare

disponibilité pour l'automatisation - Partie 2: Protocole de Automatisierungsnetze - Teil 2: Medienredundanz-Protokoll

redondance du support (MRP) (MRP)
(IEC 62439-2:2021) (IEC 62439-2:2021)

This European Standard was approved by CENELEC on 2022-01-19. CENELEC members are bound to comply with the CEN/CENELEC

Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.

Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC

Management Centre or to any CENELEC member.

This European Standard exists in three official versions (English, French, German). A version in any other language made by translation

under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the

same status as the official versions.

CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,

Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the

Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland,

Turkey and the United Kingdom.
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Rue de la Science 23, B-1040 Brussels

© 2022 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.

Ref. No. EN IEC 62439-2:2022 E
---------------------- Page: 3 ----------------------
SIST EN IEC 62439-2:2022
EN IEC 62439-2:2022 (E)
European foreword

The text of document 65C/1118/FDIS, future edition 3 of IEC 62439-2, prepared by SC 65C "Industrial

networks" of IEC/TC 65 "Industrial-process measurement, control and automation" was submitted to

the IEC-CENELEC parallel vote and approved by CENELEC as EN IEC 62439-2:2022.
The following dates are fixed:

• latest date by which the document has to be implemented at national (dop) 2022-10-19

level by publication of an identical national standard or by endorsement

• latest date by which the national standards conflicting with the (dow) 2025-01-19

document have to be withdrawn

This document supersedes EN 62439-2:2017 and all of its amendments and corrigenda (if any).

Attention is drawn to the possibility that some of the elements of this document may be the subject of

patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights.

Any feedback and questions on this document should be directed to the users’ national committee. A

complete listing of these bodies can be found on the CENELEC website.
Endorsement notice

The text of the International Standard IEC 62439-2:2021 was approved by CENELEC as a European

Standard without any modification.

In the official version, for Bibliography, the following notes have to be added for the standards

indicated:
IEC 61158-1 NOTE Harmonized as EN IEC 61158-1
IEC 61784-1 NOTE Harmonized as EN IEC 61784-1
IEC 61784-2 NOTE Harmonized as EN IEC 61784-2
---------------------- Page: 4 ----------------------
SIST EN IEC 62439-2:2022
EN IEC 62439-2:2022 (E)
Annex ZA
(normative)
Normative references to international publications
with their corresponding European publications

The following documents are referred to in the text in such a way that some or all of their content

constitutes requirements of this document. For dated references, only the edition cited applies. For

undated references, the latest edition of the referenced document (including any amendments)

applies.

NOTE 1 Where an International Publication has been modified by common modifications, indicated by (mod), the

relevant EN/HD applies.

NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available

here: www.cenelec.eu.
Publication Year Title EN/HD Year
IEC 60050-192 - International Electrotechnical - -
Vocabulary (IEV) - Part 192:
Dependability
IEC 61158-6-10 2019 Industrial communication networks - EN IEC 61158-6-10 2019
Fieldbus specifications - Part 6-10:
Application layer protocol specification
- Type 10 elements
IEC 62439-1 2010 Industrial communication networks - EN 62439-1 2010
High availability automation networks -
Part 1: General concepts and
calculation methods
AMD1 2012 A1 2012
AMD2 2016 A2 2017
ISO/IEC 10164-1 Information technology - Open - -
Systems Interconnection - Systems
Management: Object Management
Function
ISO/IEC/IEEE 8802-3 Telecommunications and exchange - -
between information technology
systems - Requirements for local and
metropolitan area networks - Part 3:
Standard for Ethernet
IEEE Std 802.1Q 2018 IEEE Standard for Local and - -
Metropolitan Area Network - Bridges
and Bridged Networks
IEEE Std 802.3 2018 IEEE Standard for Ethernet - -
---------------------- Page: 5 ----------------------
SIST EN IEC 62439-2:2022
---------------------- Page: 6 ----------------------
SIST EN IEC 62439-2:2022
IEC 62439-2
Edition 3.0 2021-12
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside
Industrial communication networks – High availability automation networks –
Part 2: Media Redundancy Protocol (MRP)
Réseaux de communication industriels – Réseaux de haute disponibilité pour
l'automatisation –
Partie 2: Protocole de redondance du support (MRP)
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 25.040.40; 35.100.05 ISBN 978-2-8322-1057-3

Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale
---------------------- Page: 7 ----------------------
SIST EN IEC 62439-2:2022
– 2 – IEC 62439-2:2021 © IEC 2021
CONTENTS

FOREWORD ........................................................................................................................... 7

INTRODUCTION ..................................................................................................................... 9

1 Scope ............................................................................................................................ 10

1.1 General ................................................................................................................. 10

1.2 Code component distribution ................................................................................. 10

2 Normative references .................................................................................................... 11

3 Terms, definitions, abbreviated terms and conventions .................................................. 11

3.1 Terms and definitions ............................................................................................ 11

3.2 Abbreviated terms ................................................................................................. 12

3.3 Conventions .......................................................................................................... 12

4 MRP Overview ............................................................................................................... 12

5 MRP Media redundancy behavior .................................................................................. 16

5.1 General ................................................................................................................. 16

5.2 Ring ports ............................................................................................................. 16

5.3 Media Redundancy Manager (MRM) ..................................................................... 17

5.4 Media Redundancy Client (MRC) .......................................................................... 19

5.5 Redundancy domain ............................................................................................. 19

5.6 Media Link Check ................................................................................................. 19

5.7 Application of the Continuity Check protocol ......................................................... 20

5.7.1 General ......................................................................................................... 20

5.7.2 Continuity Check Message Interval ................................................................ 20

5.7.3 Maintenance Domain Level ............................................................................ 20

5.7.4 Maintenance Association ID (MAID) ............................................................... 20

5.7.5 Maintenance Association End Point ID (MEPID) ............................................ 21

5.7.6 Sender ID TLV ............................................................................................... 21

5.7.7 Port Status TLV ............................................................................................. 21

5.7.8 Interface Status TLV ...................................................................................... 21

5.8 Usage with diagnosis and alarms .......................................................................... 21

5.9 Ring diagnosis ...................................................................................................... 22

5.10 Multiple MRM in a single ring: Manager voting option ............................................ 22

5.10.1 General ......................................................................................................... 22

5.10.2 Basic principle of the manager voting process ............................................... 23

5.10.3 The manager voting process .......................................................................... 24

5.11 BLOCKED not supported (Option) ......................................................................... 26

5.12 Interconnection port .............................................................................................. 26

5.13 Media redundancy Interconnection Manager (MIM) ............................................... 28

5.14 Media redundancy Interconnection Client (MIC) .................................................... 30

5.15 Interconnection domain ......................................................................................... 31

5.16 Interconnection diagnosis ..................................................................................... 31

6 MRP Class specification ................................................................................................ 31

6.1 General ................................................................................................................. 31

6.2 Template............................................................................................................... 32

6.2.1 Media redundancy template ........................................................................... 32

6.2.2 Media redundancy Interconnection template .................................................. 33

6.3 Attributes .............................................................................................................. 34

7 MRP Service specification ............................................................................................. 38

---------------------- Page: 8 ----------------------
SIST EN IEC 62439-2:2022
IEC 62439-2:2021 © IEC 2021 – 3 –

7.1 Start MRM ............................................................................................................ 38

7.2 Stop MRM ............................................................................................................. 39

7.3 State Change ........................................................................................................ 40

7.4 Start MRC ............................................................................................................. 41

7.5 Stop MRC ............................................................................................................. 42

7.6 Read MRM ............................................................................................................ 43

7.7 Read MRC ............................................................................................................ 45

7.8 Start MIM .............................................................................................................. 46

7.9 Stop MIM .............................................................................................................. 48

7.10 Interconnection State Change ............................................................................... 49

7.11 Start MIC .............................................................................................................. 49

7.12 Stop MIC............................................................................................................... 51

7.13 Read MIM ............................................................................................................. 52

7.14 Read MIC ............................................................................................................. 53

8 MRP protocol specification ............................................................................................ 55

8.1 PDU description .................................................................................................... 55

8.1.1 Basic data types ............................................................................................ 55

8.1.2 DLPDU abstract syntax reference .................................................................. 55

8.1.3 Coding of the DLPDU field SourceAddress .................................................... 56

8.1.4 Coding of the DLPDU field DestinationAddress .............................................. 56

8.1.5 Coding of the field TagControlInformation ...................................................... 56

8.1.6 Coding of the field LT .................................................................................... 57

8.1.7 MRP APDU abstract syntax ........................................................................... 57

8.1.8 Coding of the field MRP_TLVHeader ............................................................. 59

8.1.9 Coding of the field MRP_SubTLVHeader ....................................................... 59

8.1.10 Coding of the field MRP_Ed1Type and MRP_Ed1ManufacturerData .............. 60

8.1.11 Coding of the field MRP_Version ................................................................... 60

8.1.12 Coding of the field MRP_SequenceID ............................................................ 60

8.1.13 Coding of the field MRP_SA .......................................................................... 60

8.1.14 Coding of the field MRP_OtherMRMSA .......................................................... 61

8.1.15 Coding of the field MRP_Prio ......................................................................... 61

8.1.16 Coding of the field MRP_OtherMRMPrio ........................................................ 61

8.1.17 Coding of the field MRP_PortRole ................................................................. 61

8.1.18 Coding of the field MRP_RingState ................................................................ 62

8.1.19 Coding of the field MRP_Interval ................................................................... 62

8.1.20 Coding of the field MRP_Transition ................................................................ 62

8.1.21 Coding of the field MRP_TimeStamp ............................................................. 62

8.1.22 Coding of the field MRP_Blocked ................................................................... 63

8.1.23 Coding of the field MRP_ManufacturerOUI .................................................... 63

8.1.24 Coding of the field MRP_IECOUI ................................................................... 63

8.1.25 Coding of the field MRP_ManufacturerData ................................................... 63

8.1.26 Coding of the field MRP_DomainUUID ........................................................... 63

8.1.27 Coding of the field MRP_InState .................................................................... 64

8.1.28 Coding of the field MRP_InID ......................................................................... 64

8.1.29 Coding of the field MRP_LinkInfo ................................................................... 64

8.2 Protocol machines ................................................................................................ 64

8.2.1 MRM protocol machine .................................................................................. 64

8.2.2 MRC protocol machine .................................................................................. 75

8.2.3 MRA protocol machine ................................................................................... 81

---------------------- Page: 9 ----------------------
SIST EN IEC 62439-2:2022
– 4 – IEC 62439-2:2021 © IEC 2021

8.2.4 MRA, MRM and MRC functions .................................................................... 102

8.2.5 FDB clear timer ........................................................................................... 106

8.2.6 Topology change timer ................................................................................ 106

8.2.7 MIM protocol machine .................................................................................. 107

8.2.8 MIC protocol machine .................................................................................. 115

8.2.9 MIM and MIC functions ................................................................................ 122

8.2.10 Interconnection Topology Change timer ....................................................... 127

8.2.11 Interconnection Link Status Poll timer .......................................................... 127

9 MRP installation, configuration and repair.................................................................... 128

9.1 Ring port and Interconnection port parameters .................................................... 128

9.2 Ring topology parameters ................................................................................... 128

9.3 MRM parameters ................................................................................................ 129

9.4 MRC parameters and constraints ........................................................................ 129

9.5 MRA compatibility to earlier Automanager protocol version ................................. 130

9.6 Interconnection topology parameters .................................................................. 130

9.7 MIM parameters .................................................................................................. 130

9.8 MIC parameters and constraints ......................................................................... 131

9.9 Calculation of MRP ring recovery time ................................................................ 132

9.9.1 Overview ..................................................................................................... 132

9.9.2 Deduction of formula ................................................................................... 132

9.9.3 Worst-case calculation for recovery time of 10 ms ....................................... 134

9.9.4 Worst-case calculation for 50 devices .......................................................... 135

9.10 Calculation of MRP Automanager voting time ...................................................... 135

9.11 Calculation of MRP Interconnection recovery time .............................................. 135

10 MRP Management Information Base (MIB) .................................................................. 137

10.1 General ............................................................................................................... 137

10.2 MRP MIB with a monitoring view ......................................................................... 137

10.3 MRP MIB with a management and monitoring view ............................................. 151

Annex A (normative) Optional earlier version of the Automanager protocol ........................ 166

Annex B (informative) Timing considerations for 10 Mbit/s link speed ................................ 167

Annex C (informative) Using MRP together with scheduling and shaping mechanisms
as defined in IEEE Std 802.1Q and interspersing express traffic as defined in

IEEE Std 802.3 ................................................................................................................... 169

C.1 General ............................................................................................................... 169

C.2 Avoiding negative impact on the recovery time of an MRP ring ........................... 169

C.2.1 General ....................................................................................................... 169

C.2.2 Interspersing express traffic ......................................................................... 169

C.2.3 Enhancements for scheduled traffic ............................................................. 170

C.3 Configuration guidelines for increased performance of MRP ............................... 170

C.3.1 General ....................................................................................................... 170

C.3.2 Interspersing express traffic ......................................................................... 170

C.3.3 Enhancements for scheduled traffic ............................................................. 171

C.4 Calculation of MRP ring recovery time ................................................................ 171

C.4.1 Worst-case calculation for recovery time of 10 ms, using frame

preemption .................................................................................................. 171

C.4.2 Worst-case calculation for 50 devices, using frame preemption ................... 172

Annex D (informative) Advanced MRP and MRP Interconnection topologies ...................... 173

D.1 General ............................................................................................................... 173

D.2 MRP Single Switch Multiple Rings (MRP-SSMR) ................................................. 173

---------------------- Page: 10 ----------------------
SIST EN IEC 62439-2:2022
IEC 62439-2:2021 © IEC 2021 – 5 –

D.3 Multiple MRP Interconnection ............................................................................. 173

D.4 MRP Interconnection Dual Switch Multiple Couplings (MRP-I DSMC) .................. 174

Bibliography ........................................................................................................................ 175

Figure 1 – Two MRP rings redundantly connected via MRP Interconnection ......................... 14

Figure 2 – MRP stack ........................................................................................................... 16

Figure 3 – MRP ring topology with one manager and clients ................................................. 17

Figure 4 – MRP open ring with MRM ..................................................................................... 18

Figure 5 – MRP ring with MRA at network startup ................................................................. 23

Figure 6 – MRP ring after the manager voting process .......................................................... 23

Figure 7 – Manager voting process ....................................................................................... 25

Figure 8 – MRA located outside the MRP ring ....................................................................... 26

Figure 9 – MRP Interconnection topology .............................................................................. 28

Figure 10 – MRP ring interconnection open .......................................................................... 29

Figure 11 – MRP protocol machine for MRM ......................................................................... 65

Figure 12 – MRP protocol machine for MRC ......................................................................... 76

Figure 13 – MRP protocol machine for MRA.......................................................................... 82

Figure 14 – MRP protocol machine for MIM in RC-mode and LC-mode ............................... 107

Figure 15 – MRP protocol machine for MIC in RC-mode and LC-mode................................ 115

Figure D.1 – MRP Topologies ............................................................................................. 173

Figure D.2 – MRP Interconnection Topologies .................................................................... 174

Figure D.3 – MRP Interconnection Dual Switch Multiple Couplings Topology ...................... 174

Table 1 – Coding of the Maintenance Association ID (MAID)................................................. 21

Table 2 – MRP Start MRM .................................................................................................... 38

Table 3 – MRP Stop MRM ..................................................................................................... 40

Table 4 – MRP Change State ................................................................................................ 40

Table 5 – MRP Start MRC ..................................................................................................... 41

Table 6 – MRP Stop MRC ..................................................................................................... 42

Table 7 – MRP Read MRM.................................................................................................... 43

Table 8 – MRP Read MRC .................................................................................................... 45

Table 9 – MRP Start MIM ...................................................................................................... 47

Table 10 – MRP Stop MIM .................................................................................................... 48

Table 11 – MRP Interconnection Change State ..................................................................... 49

Table 12 – MRP Start MIC .................................................................................................... 50

Table 13 – MRP Stop MIC .................................................................................................... 51

Table 14 – MRP Read MIM ................................................................................................... 52

Table 15 – MRP Read MIC ................................................................................................... 54

Table 16 – MRP DLPDU syntax for ISO/IEC/IEEE 8802-3 (IEEE Std 802.3) .......................... 55

Table 17 – MRP OUI ............................................................................................................. 56

Table 18 – MRP MulticastMACAddress ................................................................................. 56

Table 19 – MRP TagControlInformation.Priority field ............................................................. 57

Table 20 – MRP LT field ....................................................................................................... 57

Table 21 – MRP APDU syntax ...........
...

SLOVENSKI STANDARD
oSIST prEN IEC 62439-2:2020
01-maj-2020
Industrijska komunikacijska omrežja - Avtomatizacija omrežja z visoko
razpoložljivostjo - 2. del: Protokol z redundanco medijev (MRP)

Industrial communication networks - High availability automation networks - Part 2:

Media Redundancy Protocol (MRP)
Industrielle Kommunikationsnetze: Hochverfügbare Automatisierungsnetze - Teil 2:
Medienredundanz-Protokoll (MRP)

Réseaux industriels de communication - Réseaux d'automatisme à haute disponibilité -

Partie 2: Media Redudancy Protocol (MRP)
Ta slovenski standard je istoveten z: prEN IEC 62439-2:2020
ICS:
25.040.01 Sistemi za avtomatizacijo v Industrial automation
industriji na splošno systems in general
35.110 Omreževanje Networking
oSIST prEN IEC 62439-2:2020 en,fr,de

2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
oSIST prEN IEC 62439-2:2020
---------------------- Page: 2 ----------------------
oSIST prEN IEC 62439-2:2020
65C/997/CDV
COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 62439-2 ED3
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2020-03-06 2020-05-29
SUPERSEDES DOCUMENTS:
65C/966/CD,65C/977/CC
IEC SC 65C : INDUSTRIAL NETWORKS
SECRETARIAT: SECRETARY:
France Ms Valérie DEMASSIEUX
OF INTEREST TO THE FOLLOWING COMMITTEES: PROPOSED HORIZONTAL STANDARD:
SC 22G,TC 57
Other TC/SCs are requested to indicate their interest, if
any, in this CDV to the secretary.
FUNCTIONS CONCERNED:
EMC ENVIRONMENT QUALITY ASSURANCE SAFETY

SUBMITTED FOR CENELEC PARALLEL VOTING NOT SUBMITTED FOR CENELEC PARALLEL VOTING

Attention IEC-CENELEC parallel voting
The attention of IEC National Committees, members of
CENELEC, is drawn to the fact that this Committee Draft
for Vote (CDV) is submitted for parallel voting.
The CENELEC members are invited to vote through the
CENELEC online voting system.

This document is still under study and subject to change. It should not be used for reference purposes.

Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of

which they are aware and to provide supporting documentation.
TITLE:

Industrial communication networks - High availability automation networks - Part 2: Media

Redundancy Protocol (MRP)
PROPOSED STABILITY DATE: 2025
NOTE FROM TC/SC OFFICERS:

NC comments will be addressed during the SC65C/WG15 meeting scheduled on June 8th-10h, 2020 in

Baden (Switzerland). Corresponding meeting notice will be provided in due time by the convenor.

Copyright © 2020 International Electrotechnical Commission, IEC. All rights reserved. It is permitted to download this

electronic file, to make a copy and to print out the content for the sole purpose of preparing National Committee positions.

You may not copy or "mirror" the file or printed version of the document, or any part of it, for any other purpose without

permission in writing from IEC.
---------------------- Page: 3 ----------------------
oSIST prEN IEC 62439-2:2020
---------------------- Page: 4 ----------------------
oSIST prEN IEC 62439-2:2020
65C/997/CDV – 2 – IEC CDV 62439-2  IEC 2020
2 CONTENTS

4 FOREWORD ........................................................................................................................... 7

5 INTRODUCTION ..................................................................................................................... 9

6 1 Scope ............................................................................................................................ 11

7 2 Normative references .................................................................................................... 11

8 3 Terms, definitions, abbreviations, acronyms, and conventions ....................................... 12

9 3.1 Terms and definitions ............................................................................................ 12

10 3.2 Abbreviations and acronyms ................................................................................. 12

11 3.3 Conventions .......................................................................................................... 13

12 4 MRP Overview ............................................................................................................... 13

13 5 MRP Media redundancy behavior .................................................................................. 16

14 5.1 General ................................................................................................................. 16

15 5.2 Ring ports ............................................................................................................. 16

16 5.3 Media Redundancy Manager (MRM) ..................................................................... 17

17 5.4 Media Redundancy Client (MRC) .......................................................................... 19

18 5.5 Redundancy domain ............................................................................................. 19

19 5.6 Media Link Check ................................................................................................. 19

20 5.7 Application of the Continuity Check protocol ......................................................... 20

21 5.7.1 General ......................................................................................................... 20

22 5.7.2 Continuity Check Message Interval ................................................................ 20

23 5.7.3 Maintenance Domain Level ............................................................................ 20

24 5.7.4 Maintenance Association ID (MAID) ............................................................... 20

25 5.7.5 Maintenance Association End Point ID (MEPID) ............................................ 21

26 5.7.6 Sender ID TLV ............................................................................................... 21

27 5.7.7 Port Status TLV ............................................................................................. 21

28 5.7.8 Interface Status TLV ...................................................................................... 21

29 5.8 Usage with diagnosis and alarms .......................................................................... 21

30 5.9 Ring diagnosis ...................................................................................................... 21

31 5.10 Multiple MRM in a single ring: Manager voting option ............................................ 22

32 5.10.1 General ......................................................................................................... 22

33 5.10.2 Basic principle of the manager voting process ............................................... 23

34 5.10.3 The manager voting process .......................................................................... 24

35 5.11 BLOCKED not supported (Option) ......................................................................... 26

36 5.12 Interconnection port .............................................................................................. 26

37 5.13 Media redundancy Interconnection Manager (MIM) ............................................... 27

38 5.14 Media redundancy Interconnection Client (MIC) .................................................... 29

39 5.15 Interconnection domain ......................................................................................... 30

40 5.16 Interconnection diagnosis ..................................................................................... 30

41 6 MRP Class specification ................................................................................................ 31

42 6.1 General ................................................................................................................. 31

43 6.2 Template............................................................................................................... 31

44 6.2.1 Media redundancy template ........................................................................... 31

45 6.2.2 Media redundancy Interconnection template .................................................. 32

46 6.3 Attributes .............................................................................................................. 32

47 7 MRP Service specification ............................................................................................. 37

48 7.1 Start MRM ............................................................................................................ 37

---------------------- Page: 5 ----------------------
oSIST prEN IEC 62439-2:2020
IEC CDV 62439-2  IEC 2020 – 3 – 65C/997/CDV

49 7.2 Stop MRM ............................................................................................................. 38

50 7.3 State Change ........................................................................................................ 39

51 7.4 Start MRC ............................................................................................................. 40

52 7.5 Stop MRC ............................................................................................................. 41

53 7.6 Read MRM ............................................................................................................ 42

54 7.7 Read MRC ............................................................................................................ 44

55 7.8 Start MIM .............................................................................................................. 46

56 7.9 Stop MIM .............................................................................................................. 47

57 7.10 Interconnection State Change ............................................................................... 48

58 7.11 Start MIC .............................................................................................................. 49

59 7.12 Stop MIC............................................................................................................... 50

60 7.13 Read MIM ............................................................................................................. 51

61 7.14 Read MIC ............................................................................................................. 53

62 8 MRP protocol specification ............................................................................................ 55

63 8.1 PDU description .................................................................................................... 55

64 8.1.1 Basic data types ............................................................................................ 55

65 8.1.2 DLPDU abstract syntax reference .................................................................. 55

66 8.1.3 Coding of the DLPDU field SourceAddress .................................................... 55

67 8.1.4 Coding of the DLPDU field DestinationAddress .............................................. 55

68 8.1.5 Coding of the field TagControlInformation ...................................................... 56

69 8.1.6 Coding of the field LT .................................................................................... 57

70 8.1.7 MRP APDU abstract syntax ........................................................................... 57

71 8.1.8 Coding of the field MRP_TLVHeader ............................................................. 59

72 8.1.9 Coding of the field MRP_SubTLVHeader ....................................................... 59

73 8.1.10 Coding of the field MRP_Ed1Type and MRP_Ed1ManufacturerData .............. 60

74 8.1.11 Coding of the field MRP_Version ................................................................... 60

75 8.1.12 Coding of the field MRP_SequenceID ............................................................ 60

76 8.1.13 Coding of the field MRP_SA .......................................................................... 60

77 8.1.14 Coding of the field MRP_OtherMRMSA .......................................................... 61

78 8.1.15 Coding of the field MRP_Prio ......................................................................... 61

79 8.1.16 Coding of the field MRP_OtherMRMPrio ........................................................ 61

80 8.1.17 Coding of the field MRP_PortRole ................................................................. 62

81 8.1.18 Coding of the field MRP_RingState ................................................................ 62

82 8.1.19 Coding of the field MRP_Interval ................................................................... 62

83 8.1.20 Coding of the field MRP_Transition ................................................................ 62

84 8.1.21 Coding of the field MRP_TimeStamp ............................................................. 63

85 8.1.22 Coding of the field MRP_Blocked ................................................................... 63

86 8.1.23 Coding of the field MRP_ManufacturerOUI .................................................... 63

87 8.1.24 Coding of the field MRP_IECOUI ................................................................... 63

88 8.1.25 Coding of the field MRP_ManufacturerData ................................................... 63

89 8.1.26 Coding of the field MRP_DomainUUID ........................................................... 64

90 8.1.27 Coding of the field MRP_InState .................................................................... 64

91 8.1.28 Coding of the field MRP_InID ......................................................................... 64

92 8.1.29 Coding of the field MRP_LinkInfo ................................................................... 64

93 8.2 Protocol machines ................................................................................................ 65

94 8.2.1 MRM protocol machine .................................................................................. 65

95 8.2.2 MRC protocol machine .................................................................................. 75

96 8.2.3 MRA protocol machine ................................................................................... 81

97 8.2.4 MRA, MRM and MRC functions .................................................................... 101

---------------------- Page: 6 ----------------------
oSIST prEN IEC 62439-2:2020
65C/997/CDV – 4 – IEC CDV 62439-2  IEC 2020

98 8.2.5 FDB clear timer ........................................................................................... 105

99 8.2.6 Topology change timer ................................................................................ 106

100 8.2.7 MIM protocol machine .................................................................................. 107

101 8.2.8 MIC protocol machine .................................................................................. 115

102 8.2.9 MIM and MIC functions ................................................................................ 122

103 8.2.10 Interconnection Topology Change timer ....................................................... 126

104 8.2.11 Interconnection Link Status Poll timer .......................................................... 127

105 9 MRP installation, configuration and repair.................................................................... 127

106 9.1 Ring port and Interconnection port parameters .................................................... 127

107 9.2 Ring topology parameters ................................................................................... 128

108 9.3 MRM parameters ................................................................................................ 128

109 9.4 MRC parameters and constraints ........................................................................ 129

110 9.5 MRA compatibility to earlier Automanager protocol version ................................. 129

111 9.6 Interconnection topology parameters .................................................................. 129

112 9.7 MIM parameters .................................................................................................. 130

113 9.8 MIC parameters and constraints ......................................................................... 130

114 9.9 Calculation of MRP ring recovery time ................................................................ 131

115 9.9.1 Overview ..................................................................................................... 131

116 9.9.2 Deduction of formula ................................................................................... 131

117 9.9.3 Worst case calculation for recovery time of 10 ms ....................................... 133

118 9.9.4 Worst case calculation for 50 devices .......................................................... 134

119 9.10 Calculation of MRP Automanager voting time ...................................................... 134

120 9.11 Calculation of MRP Interconnection recovery time .............................................. 134

121 10 MRP Management Information Base (MIB) .................................................................. 136

122 10.1 General ............................................................................................................... 136

123 10.2 MRP MIB with a monitoring view ......................................................................... 136

124 10.3 MRP MIB with a management and monitoring view ............................................. 149

125 Annex A (normative) Optional earlier version of the Automanager protocol ........................ 165

126 Annex B (informative) Timing considerations for 10 Mbit/s link speed ................................ 166

127 Annex C (informative) Using MRP together with scheduling and shaping mechanisms

128 as defined in IEEE 802.1Q and interspersing express traffic as defined in IEEE

129 802.3 ........................................................................................................................... 168

130 C.1 General ............................................................................................................... 168

131 C.2 Avoiding negative impact on the recovery time of a MRP ring ............................. 168

132 C.2.1 Interspersing express traffic ......................................................................... 168

133 C.2.2 Enhancements for scheduled traffic ............................................................. 169

134 C.3 Configuration guidelines for increased performance of MRP ............................... 169

135 C.3.1 Interspersing express traffic ......................................................................... 169

136 C.3.2 Enhancements for scheduled traffic ............................................................. 170

137 C.4 Calculation of MRP ring recovery time ................................................................ 170

138 C.4.1 Worst case calculation for recovery time of 10 ms, using frame pre-

139 emption ....................................................................................................... 170

140 C.4.2 Worst case calculation for 50 devices, using frame preemption ................... 171

141 Annex D (informative) Advanced MRP and MRP Interconnection topologies ...................... 172

142 D.1 General ............................................................................................................... 172

143 D.2 MRP Single Switch Multiple Rings (MRP-SSMR) ................................................. 172

144 D.3 Multiple MRP Interconnection ............................................................................. 172

145 D.4 MRP Interconnection Dual Switch Multiple Ring (MRP-I DSMR) .......................... 173

146 Bibliography ........................................................................................................................ 174

---------------------- Page: 7 ----------------------
oSIST prEN IEC 62439-2:2020
IEC CDV 62439-2  IEC 2020 – 5 – 65C/997/CDV
147

148 Figure 1 – Two MRP rings redundantly connected via MRP Interconnection ......................... 14

149 Figure 2 – MRP stack ........................................................................................................... 16

150 Figure 3 – MRP ring topology with one manager and clients ................................................. 17

151 Figure 4 – MRP open ring with MRM ..................................................................................... 18

152 Figure 5 – MRP ring with MRA at network startup ................................................................. 22

153 Figure 6 – MRP ring after the manager voting process .......................................................... 23

154 Figure 7 – Manager voting process ....................................................................................... 25

155 Figure 8 – MRA located outside the MRP ring ....................................................................... 26

156 Figure 9 – MRP Interconnection topology .............................................................................. 27

157 Figure 10 – MRP ring interconnection open .......................................................................... 28

158 Figure 11 – MRP protocol machine for MRM ......................................................................... 65

159 Figure 12 – MRP protocol machine for MRC ......................................................................... 75

160 Figure 13 – MRP protocol machine for MRA.......................................................................... 82

161 Figure 14 – MRP protocol machine for MIM in RC-mode and LC-mode ............................... 107

162 Figure 15 – MRP protocol machine for MIC in RC-mode and LC-mode................................ 115

163 Figure 16 – MRP Topologies ............................................................................................... 172

164 Figure 17 – MRP Interconnection Topologies ...................................................................... 173

165 Figure 18 – MRP Interconnection Dual Switch Multiple Ring Topology ................................ 173

166

167 Table 1 – Patent information ................................................................................................... 9

168 Table 2 – Coding of the Maintenance Association ID (MAID)................................................. 21

169 Table 3 – MRP Start MRM .................................................................................................... 37

170 Table 4 – MRP Stop MRM ..................................................................................................... 39

171 Table 5 – MRP Change State ................................................................................................ 39

172 Table 6 – MRP Start MRC ..................................................................................................... 40

173 Table 7 – MRP Stop MRC ..................................................................................................... 41

174 Table 8 – MRP Read MRM.................................................................................................... 42

175 Table 9 – MRP Read MRC .................................................................................................... 44

176 Table 10 – MRP Start MIM .................................................................................................... 46

177 Table 11 – MRP Stop MIM .................................................................................................... 47

178 Table 12 – MRP Interconnection Change State ..................................................................... 48

179 Table 13 – MRP Start MIC .................................................................................................... 49

180 Table 14 – MRP Stop MIC .................................................................................................... 50

181 Table 15 – MRP Read MIM ................................................................................................... 51

182 Table 16 – MRP Read MIC ................................................................................................... 53

183 Table 17 – MRP DLPDU syntax for ISO/IEC/IEEE 8802-3 (IEEE 802.3) ................................ 55

184 Table 18 – MRP OUI ............................................................................................................. 56

185 Table 19 – MRP MulticastMACAddress ................................................................................. 56

186 Table 20 – MRP TagControlInformation.Priority field ............................................................. 56

187 Table 21 – MRP LT field ....................................................................................................... 57

188 Table 22 – MRP APDU syntax .............................................................................................. 57

189 Table 23 – MRP Substitutions ............................................................................................... 58

---------------------- Page: 8 ----------------------
oSIST prEN IEC 62439-2:2020
65C/997/CDV – 6 – IEC CDV 62439-2  IEC 2020

190 Table 24 – MRP_TLVHeader.Type ........................................................................................ 59

191 Table 25 – MRP_SubTLVHeader.Type .................................................................................. 59

192 Table 26 – MRP_Ed1Type and MRP_Ed1ManufacturerData ................................................. 60

193 Table 27 – MRP_Ed1Type and MRP_Ed1ManufacturerData ................................................. 60

194 Table 28 – MRP_Version ...................................................................................................... 60

195 Table 29 – Coding of the field MRP_OtherMRMSA ............................................................... 61

196 Table 30 – MRP_Prio ............................................................................................................ 61

197 Table 31 – Coding of the field MRP_OtherMRMPrio .............................................................. 61

198 Table 32 – MRP_PortRole .................................................................................................... 62

199 Table 33 – MRP_RingState ................................................................................................... 62

200 Table 34 – MRP_Interval ...................................................................................................... 62

201 Table 35 – MRP_Transition ................................................................................................... 62

202 Table 36 – MRP_TimeStamp ................................................................................................ 63

203 Table 37 – MRP_Blocked ...................................................................................................... 63

204 Table 38 – MRP_DomainUUID .............................................................................................. 64

205 Table 39 – MRP_InState ....................................................................................................... 64

206 Table 40 – MRP_LinkInfo ...................................................................................................... 64

207 Table 41 – MRP Local variables of MRM protocol machine ................................................... 66

208 Table 42 – MRM State machine ............................................................................................ 67

209 Table 43 – MRP Local variables of MRC protocol machine ................................................... 76

210 The MRC state machine shall be according to Table 44.Table 44 – MRC state machine ....... 77

211 Table 45 – MRP local variables of MRA protocol machine ..................................................... 83

212 Table 46 – MRA state machine ............................................................................................. 84

213 Table 48 – MRP FDB clear timer ......................................................................................... 105

214 Table 49 – MRP topology change timer ............................................................................... 106

215 Table 50 – MRP Local variables of MIM protocol machine .................................................. 108

216 Table 51 – MIM State machine for LC-mode ....................................................................... 108

217 Table 52 – MIM State machine for RC-mode ....................................................................... 111

218 Table 53 – MRP Local variables of MIC protocol machine ................................................... 116

219 Table 54 – MIC State machine for LC-mode ........................................................................ 116

220 Table 55 – MIC State machine for RC-mode ....................................................................... 120

221 Table 56 – MRP Interconnection functions .......................................................................... 122

222 Table 57 – MRP Interconnection topology change timer ...................................................... 126

223 Table 58 – MRP Interconnection li
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.