1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Iec 62439 2 2016

330 0 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề IEC 62439-2:2016 - Industrial Communication Networks – High Availability Automation Networks – Part 2: Media Redundancy Protocol (MRP)
Trường học Geneva University
Chuyên ngành Electrical Engineering
Thể loại standards document
Năm xuất bản 2016
Thành phố Geneva
Định dạng
Số trang 330
Dung lượng 4,8 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

MRP_InTo olog Chan e frames an MRP_InLinkStatu Pol frames b twe n its rin p rts, if no MIM an no MIC is active on the node at the same time.. Fig re 7 s ows the frame ex han es over the

Trang 2

THIS PUBLICATION IS COPYRIGHT PROT CTED

Copyright © 2 16 IEC, Ge e a, Switzerla d

Al rig ts reserv d Unles oth rwise sp cifie , n p rt of this p blc tio ma b re ro u e or uti ze in a y form

or b a y me ns,ele tro ic or me h nic l in lu in p oto o yin a d microfim, with ut p rmis io in writin from

eith r IEC or IEC's memb r Natio al Commite in th c u try of th re u ster If y u h v a y q estio s a o t IEC

c p rig t or h v a e q iry a o t o tainin a ditio al rig tsto this p blc tio , ple se c nta t th a dres b low or

y ur lo al IEC memb r Natio al Commite for furth r informatio

Droits d re ro u tio réserv s Sa f in ic tio c ntraire, a c n p rtie d c te p blc tio n p ut être re ro uite

ni uti sé so s q elq e forme q e c soit et p r a c n pro é é, éle tro iq e o mé a iq e, y c mpris la p oto o ie

et les microfims, sa s la c rd é rit d l EC o d Comité n tio al d l EC d p ys d d ma d ur Si v usa ez d s

q estio s sur le c p rig t d l EC o si v us d sirezo te ir d s droits su pléme taires sur c te p blc tio , uti sez

les c ord n é s ci-a rès o c nta tez le Comité n tio al d l EC d v tre p ysd résid n e

Th Intern tio al Ele trote h ic l Commis io (IEC) is th le din glo al org nizatio th t pre ares a d p blsh s

Intern tio al Sta d rds for al ele tric l ele tro ic a d relate te h olo ies

Ab ut IEC publ c tio s

Th te h ic l c nte t of IEC p blc tio s is k pt u d r c nsta t re iew b th IEC Ple se ma e sure th t y u h v th

latest e itio , a c rig n a or a ame dme t mig t h v b e p blsh d

IEC Catalog e - webstore.ie c / catalog e

Th sta d-alo e a plc tio for c nsultin th e tire

biblo ra hic l infor matio o IEC Inter natio al Sta d rds,

Te h ic l Sp cific tio s, Te h ic l Re orts a d oth r

d c me ts Av ia le for PC, Ma OS, An r oid Ta lets a d

iPa

IEC publc tio s s arc - w w.ie c /se rc pub

Th a v n e se rc e a les to fin IEC p blc tio s b a

v riety of crite a (r efer en e n mb r, te t, te h ic l

c mmite ,…) It also giv s informatio o pr oje ts, re la e

a d w ith r awn p blc tio s

IEC J st Publs ed - webstore.ie c / j stpubls ed

Sta u to d te o al n w IEC p blc tio s Just Pu lsh d

d tais al n w p blc tio s rele se Av ia le o ln a d

also o c a mo th b emai

Ele to edia - ww w.ele to edia.org

Th w or l 's le din o ln dictio ary of ele tro ic a d

ele tr i al terms c ntainin 2 0 0 ter ms a d d finitio s in

En lsh a d Fre c , w ith e uiv le t terms in 15 a ditio al

la g a es Also k now n as th Inter natio al Ele tr ote h ic l

Vo a ulary (IEV) o ln

IEC Glos ary - std.ie c / glos ary

6 0 0 ele trote h ic l ter min lo y e tr i s in En lsh a d

Fre c e tr acte from th Terms a d Definitio s cla se of

IEC p blc tio s is u d sin e 2 0 Some e tr i s h v b e

c le te fr om e r lier p blc tio s of IEC TC 3 , 7 , 8 a d

CIS R

IEC Cu tomer Serv ic Cente - webstore.ie c / cs

If y u w ish to giv us y our fe d a k o this p blc tio or

n e furth r as ista c ,ple se c nta t th Customer Ser vic

Ce tr e: csc@ie c

A pro os de lIEC

L Commis io Ele trote h iq e Intern tio ale (IEC) est la première org nisatio mo diale q i éla ore et p ble d s

Normes intern tio ales p ur to t c q i a trait à léle tricité, à léle tro iq e et a x te h olo ies a p re té s

A pro os de publc tio s IEC

L c nte u te h iq e d s p blc tio s IEC est c nstamme t re u Ve i ez v us as urer q e v us p s é ez lé itio la

plus ré e te, u c rig n um o ame d me t p ut a oir été p blé

Catalog e IEC - webstore.ie c / catalog e

Ap lc tio a to ome p ur c nsulter to s les r enseig eme ts

biblo ra hiq es sur les Normes intern tio ales,

Sp cific tio s te h iq es, Ra p r ts te h iq es et a tr es

d c me ts d l EC Disp nible p ur PC, Ma OS, ta letes

An roid et iPa

Re h rc e de publc tio s IEC - w w.ie c / se rc pub

L r ec er ch a a c e p rmet d tr ou er d s p blc tio s IEC

e uti sa t difér ents c tères (n mér o d référe c , te te,

c mité d’étu es,…) Ele d n e a s i d s infor matio s sur les

pr ojets et les p blc tio s rempla é s o r etir ées

IEC J st Publs ed - webstore.ie c / j stpubls ed

Restez infor mé sur les n u eles p blc tio s IEC Just

Pu lsh d d tai e les n u eles p blc t io s p r ues

Disp nible e lg e et a s i u e fois p r mois p r emai

Ele to edia - ww w.ele to edia.org

L pr emier dictio n ir e e lg e d ter mes éle tro iq es et

éle tr i u s I c ntie t 2 0 0 termes et d finitio s e a glais

et e fr an ais, ainsi q e les ter mes é uiv le ts d ns 15

la g es a ditio n les Eg leme t a p lé Vo a ulair e

Ele tr ote h iq e Inter natio al (IEV) e lg e

Glos aire IEC - std.ie c / glos ary

6 0 0 e tré s termin lo iq es éle tr ote h iq es, e a glais

et e fr an ais, e tr aites d s articles Ter mes et Définitio s d s

p blc tio s IEC p r ues d p is 2 0 Plus c rtain s e tr ées

a té e res e traites d s p blc tio s d s CE 3 , 7 , 8 et

CIS R d l EC

Serv ic Clents - webstore.ie c / cs

Si v us d sir ez n us d n er d s c mme tair es sur c te

p blc tio o si v us a ez d s q estio s c nta tez-n us:

csc@ie c

Trang 3

Warnin ! Mak e s re th t y ou o tain d this publc tion from a a thorize distributo

Ate tion! Ve i ez v ou a s rer qu v ou av ez o te u c te publc tion via u distribute r a ré

Trang 4

CONTENTS

FOREWORD 7

INTRODUCTION 9

1 Sco e 1

2 Normative referen es 1

3 Terms, definition , a breviation , acron ms, an con ention 12 3.1 Terms an definition 12 3.2 Ab reviation an acron ms 12 3.3 Con ention 12 4 MRP Overview 12 5 MRP Media red n an y b havior 16 5.1 General 1

6 5.2 Rin p rts 16 5.3 Media Red n an y Manager (MRM) 17 5.4 Media Red n an y Cl ent (MRC) 19 5.5 Red n an y domain 19 5.6 Media Link Check 19 5.7 Ap l cation of the Contin ity Check protocol 19 5.7.1 General 19 5.7.2 Contin ity Check Mes age Interval 2

5.7.3 Maintenan e Domain L vel 2

5.7.4 Maintenan e As ociation ID (MAID) 2

5.7.5 Maintenan e As ociation En Point ID (MEPID) 2

5.7.6 Sen er ID TLV 2

5.7.7 Port Statu TLV 21

5.7.8 Interface Statu TLV 21

5.8 Usage with diag osis an alarms 21

5.9 Rin diag osis 21 5.10 Multiple MRM in a sin le rin : Manager votin o tion 21

5.10.1 General 21

5.10.2 Basic prin iple of the manager votin proces 22 5.10.3 The manager votin proces 2

5.1 BLOCKED not s p orted (Option) 2

5.12 Intercon ection p rt 25 5.13 Media red n an y Intercon ection Manager (MIM) 26 5.14 Media red n an y Intercon ection Cl ent (MIC) 2

5.15 Intercon ection domain 2

5.16 Intercon ection diag osis 30 6 MRP Clas sp cification 3

6.1 General 3

6.2 Template 3

6.2.1 Media red n an y template 3

6.2.2 Media red n an y Intercon ection template 31 6.3 At ributes 3

7 MRP Service sp cification 3

7.1 Start MRM 3

Trang 5

7.2 Sto MRM 3

7.3 State Chan e 3

7.4 Start MRC 3

7.5 Sto MRC 41

7.6 Re d MRM 41

7.7 Re d MRC 4

7.8 Start MIM 4

7.9 Sto MIM 4

7.10 Intercon ection State Chan e 4

7.1 Start MIC 4

7.12 Sto MIC 4

7.13 Re d MIM 5

7.14 Re d MIC 5

8 MRP protocol sp cification 5

8.1 PDU des ription 5

8.1.1 Basic data typ s 5

8.1.2 DLPDU a stract s ntax referen e 5

8.1.3 Codin of the DLPDU field SourceAd res 5

8.1.4 Codin of the DLPDU field DestinationAd res 5

8.1.5 Codin of the field TagControlInformation 5

8.1.6 Codin of the field LT 5

8.1.7 MRP APDU a stract s ntax 5

8.1.8 Codin of the field MRP_ LVHe der 5

8.1.9 Codin of the field MRP_ ubTLVHe der 5

8.1.10 Codin of the field MRP_ d1Typ an MRP_ d1Man facturerData 58 8.1.1 Codin of the field MRP_Version 5

8.1.12 Codin of the field MRP_ eq en eID 5

8.1.13 Codin of the field MRP_ A 5

8.1.14 Codin of the field MRP_OtherMRMSA 5

8.1.15 Codin of the field MRP_ rio 6

8.1.16 Codin of the field MRP_OtherMRMPrio 6

8.1.17 Codin of the field MRP_ ortRole 6

8.1.18 Codin of the field MRP_Rin State 6

8.1.19 Codin of the field MRP_Interval 61

8.1.2 Codin of the field MRP_ ran ition 61

8.1.21 Codin of the field MRP_ imeStamp 61

8.1.2 Codin of the field MRP_ lock d 61

8.1.2 Codin of the field MRP_Man facturerOUI 6

8.1.2 Codin of the field MRP_IECOUI 6

8.1.2 Codin of the field MRP_Man facturerData 6

8.1.2 Codin of the field MRP_DomainUUID 6

8.1.2 Codin of the field MRP_InState 6

8.1.2 Codin of the field MRP_InID 6

8.2 Protocol mac ines 6

8.2.1 MRM protocol mac ine 6

8.2.2 MRC protocol mac ine 7

8.2.3 MRA protocol mac ine 8

8.2.4 MRA, MRM an MRC fu ction 10

8.2.5 FDB cle r timer 10

Trang 6

8.2.6 To olog c an e timer 10

8.2.7 MIM protocol mac ine 10

8.2.8 MIC protocol mac ine 1 5

8.2.9 MIM an MIC fu ction 12

8.2.10 Intercon ection To olog Chan e timer 12

8.2.1 Intercon ection Link Statu Pol timer 12

9 MRP in tal ation, config ration an re air 12

9.1 Rin p rt an Intercon ection p rt p rameters 12

9.2 Rin to olog p rameters 12

9.3 MRM p rameters 12

9.4 MRC p rameters an con traints 12

9.5 MRA comp tibi ty to e rler Automanager protocol version 12

9.6 Intercon ection to olog p rameters 13

9.7 MIM p rameters 13

9.8 MIC p rameters an con traints 13

9.9 Calc lation of MRP rin recovery time 131

9.9.1 Overview 131

9.9.2 Ded ction of formula 131

9.9.3 Worst case calc lation for recovery time of 10 ms 13

9.9.4 Worst case calc lation for 5 devices 13

9.10 Calc lation of MRP Automanager votin time 13

10 MRP Management Information Base (MIB) 13

10.1 General 13

10.2 MRP MIB with a monitorin view 13

10.3 MRP MIB with a management an monitorin view 14

An ex A (normative) Optional e rl er version of the Automanager protocol 16

Bibl ogra h 16

Fig re 1 – Two MRP rin s red n antly con ected via MRP Intercon ection 14

Fig re 2 – MRP stack 16

Fig re 3 – MRP rin to olog with one manager an cl ents 17

Fig re 4 – MRP o en rin with MRM 18

Fig re 5 – MRP rin with MRA at network startup 2

Fig re 6 – MRP rin afer the manager votin proces 2

Fig re 7 – Manager votin proces 2

Fig re 8 – MRA located outside the MRP rin 2

Fig re 9 – MRP Intercon ection to olog 2

Fig re 10 – MRP rin intercon ection o en 2

Fig re 1 – MRP protocol mac ine for MRM 6

Fig re 12 – MRP protocol mac ine for MRC 7

Fig re 13 – MRP protocol mac ine for MRA 81

Fig re 14 – MRP protocol mac ine for MIM in RC-mode an LC-mode 10 Fig re 15 – MRP protocol mac ine for MIC in RC-mode an LC-mode 1 6 Ta le 1 – Patent information 9

Ta le 2 – Codin of the Maintenan e As ociation ID (MAID) 2

Trang 7

Ta le 3 – MRP Start MRM 36

Ta le 4 – MRP Sto MRM 3

Ta le 5 – MRP Chan e State 39 Ta le 6 – MRP Start MRC 4

Ta le 7 – MRP Sto MRC 41 Ta le 8 – MRP Re d MRM 4

Ta le 9 – MRP Re d MRC 44 Ta le 10 – MRP Start MIM 4

Ta le 1 – MRP Sto MIM 47 Ta le 12 – MRP Intercon ection Chan e State 4

Ta le 13 – MRP Start MIC 48 Ta le 14 – MRP Sto MIC 5

Ta le 15 – MRP Re d MIM 51 Ta le 16 – MRP Re d MIC 5

Ta le 17 – MRP DLPDU s ntax for ISO/IEC/IEEE 8 0 -3 (IEEE 8 2.3) 5

Ta le 18 – MRP OUI 5

Ta le 19 – MRP MulticastMACAd res 5

Ta le 2 – MRP TagControlInformation.Priority field 5

Ta le 21 – MRP LT field 5

Ta le 2 – MRP APDU s ntax 56 Ta le 2 – MRP Substitution 5

Ta le 2 – MRP_ LVHe der.Typ 5

Ta le 2 – MRP_ ubTLVHe der.Typ 5

Ta le 2 – MRP_ d1Typ an MRP_ d1Man facturerData 59 Ta le 2 – MRP_ d1Typ an MRP_ d1Man facturerData 59 Ta le 2 – MRP_Version 59 Ta le 2 – Codin of the field MRP_OtherMRMSA 6

Ta le 3 – MRP_ rio 6

Ta le 31 – Codin of the field MRP_OtherMRMPrio 6

Ta le 3 – MRP_ ortRole 6

Ta le 3 – MRP_Rin State 61

Ta le 3 – MRP_Interval 61

Ta le 3 – MRP_ ran ition 61

Ta le 3 – MRP_ imeStamp 61

Ta le 3 – MRP_ lock d 6

Ta le 3 – MRP_DomainUUID 6

Ta le 3 – MRP_InState 6

Ta le 4 – MRP L cal varia les of MRM protocol mac ine 6

Ta le 41 – MRM State mac ine 6

Ta le 4 – MRP L cal varia les of MRC protocol mac ine 7

Ta le 4 – MRC state mac ine 7

Ta le 4 – MRP local varia les of MRA protocol mac ine 8

Ta le 4 – MRA state mac ine 83

Trang 8

Ta le 5 – MRP Intercon ection l nk statu p l timer 12

Ta le 5 – MRP Network/Con ection p rameters 12

Ta le 5 – MRP MRM p rameters 12

Ta le 6 – MRP MRC p rameters 12

Ta le 61 – MRP MIM p rameters 13

Ta le 6 – MRP MIC p rameters 131

Ta le A.1 – Comp tible mode MRP_Option for MRP_ est Substitution 16

Ta le A.2 – Comp tible mode MRP_Option frames MRP_ estMgrNAck an

MRP_ estPro agate Substitution 16

Trang 9

INTERNATIONAL ELECTROTECHNICAL COMMISSION

1) Th Intern tio al Ele trote h ic l Commis io (IEC) is a worldwid org nizatio for sta d rdizatio c mprisin

al n tio al ele trote h ic l c mmite s (IEC Natio al Commite s) Th o je t of IEC is to promote

intern tio al c -o eratio o al q estio s c n ernin sta d rdizatio in th ele tric l a d ele tro ic fields To

this e d a d in a ditio to oth r a tivities, IEC p blsh s Intern tio al Sta d rds, Te h ic l Sp cific tio s,

Te h ic l Re orts, Pu lcly Av ia le Sp cific tio s (PAS) a d Guid s (h re fer refere to as “IEC

Pu lc tio (s)”) Th ir pre aratio is e truste to te h ic l c mmite s; a y IEC Natio al Commite intereste

in th su je t d alt with ma p rticip te in this pre aratory work Intern tio al g v rnme tal a d n

n-g v rnme tal org nizatio s laisin with th IEC also p rticip te in this pre aratio IEC c la orates closely

with th Intern tio al Org nizatio for Sta d rdizatio (ISO) in a c rd n e with c n itio s d termin d b

a re me t b twe n th two org nizatio s

2) Th formal d cisio s or a re me ts of IEC o te h ic l maters e pres , as n arly as p s ible, a intern tio al

c nse sus of o inio o th rele a t su je ts sin e e c te h ic l c mmite h s re rese tatio from al

intereste IEC Natio al Commite s

3) IEC Pu lc tio s h v th form of re omme d tio s for intern tio al use a d are a c pte b IEC Natio al

Commite s in th t se se Whie al re so a le eforts are ma e to e sure th t th te h ic l c nte t of IEC

Pu lc tio s is a c rate, IEC c n ot b h ld resp nsible for th wa in whic th y are use or for a y

misinterpretatio b a y e d user

4) In ord r to promote intern tio al u iformity, IEC Natio al Commite s u d rta e to a ply IEC Pu lc tio s

tra sp re tly to th ma imum e te t p s ible in th ir n tio al a d re io al p blc tio s An div rg n e

b twe n a y IEC Pu lc tio a d th c r esp n in n tio al or re io al p blc tio sh l b cle rly in ic te in

th later

5) IEC itself d es n t pro id a y atestatio of c nformity In e e d nt c rtific tio b dies pro id c nformity

as es me t servic s a d, in some are s, a c s to IEC marks of c nformity IEC is n t resp nsible for a y

servic s c rie o t b in e e d nt c rtific tio b dies

6) Al users sh uld e sure th t th y h v th latest e itio of this p blc tio

7) No la i ty sh l ata h to IEC or its dire tors, emplo e s, serv nts or a e ts in lu in in ivid al e p rts a d

memb rs of its te h ic l c mmite s a d IEC Natio al Commite s for a y p rso al injury, pro erty d ma e or

oth r d ma e of a y n ture wh tso v r, wh th r dire t or in ire t, or for c sts (in lu in le al fe s) a d

e p nses arisin o t of th p blc tio , use of, or rela c u o , this IEC Pu lc tio or a y oth r IEC

Pu lc tio s

8) Ate tio is drawn to th Normativ refere c s cite in this p blc tio Use of th refere c d p blc tio s is

in isp nsa le for th c re t a plc tio of this p blc tio

International Stan ard IEC 6 4 9-2 has b en pre ared by s bcommite 6 C: In u trial

networks, of IEC tec nical commite 6 : In u trial-proces me s rement, control an

automation

This secon edition can els an re laces the first edition publ s ed in 2 10 This edition

con titutes a tec nical revision

This edition in lu es the fol owin sig ificant tec nical c an es with resp ct to the previou

edition:

– ad in a protocol exten ion to select the media red n an y manager automatical y;

– ad in a protocol to red n antly con ect media red n an y protocol rin s

Trang 10

The text of this stan ard is b sed on the fol owin doc ments:

Ful information on the votin for the a proval of this stan ard can b fou d in the re ort on

votin in icated in the a ove ta le

This publcation has b en drafed in ac ordan e with ISO/IEC Directives, Part 2

This International Stan ard is to b re d in conju ction with IEC 6 4 9-1

A l st of al p rts of the IEC 6 4 9 series, publs ed u der the general title Industrial

we site

The commit e has decided that the contents of this publ cation wi remain u c an ed u ti

the sta i ty date in icated on the IEC we site u der "htp:/we store.iec.c " in the data

related to the sp cific publ cation At this date, the publ cation wi b

Trang 11

INTRODUCTION

The IEC 6 4 9 series sp cifies relevant prin iples for hig avai a i ty networks that me t the

req irements for in u trial automation networks

In the fault fre state of the network, the protocols of the IEC 6 4 9 series provide

ISO/IEC/IEEE 8 0 -3 (IEEE 8 2.3) comp tible, rela le data commu ication, an preserve

determinism of re l- ime data commu ication In cases of fault, removal, an in ertion of a

comp nent, they provide deterministic recovery times

These protocols retain fuly the typical Ethernet commu ication ca a i ties as u ed in the

of ice world, so that the sof ware in olved remain a pl ca le

The mark t is in ne d of several network solution , e c with diferent p rforman e

c aracteristic an fu ctional ca a i ties, matc in diverse a pl cation req irements These

solution s p ort diferent red n an y to ologies an mec anisms whic are introd ced in

IEC 6 4 9-1 an sp cified in the other Parts of the IEC 6 4 9 series IEC 6 4 9-1 also

distin uis es b twe n the diferent solution , givin g idan e to the u er

The IEC 6 4 9 series fol ows the general stru ture an terms of the IEC 61 5 series

The International Electrotec nical Commis ion (IEC) draws atention to the fact that it is

claimed that compl an e with this doc ment may in olve the u e of a p tent con ernin rin

protocol given in Clau e 5 Ta le 1 gives an overview of the relevant p tents

IEC ta es no p sition con ernin the eviden e, val dity an s o e of this p tent rig t

The holder of this p tent rig t has as ured the IEC that he/s e is wi in to negotiate lcen es

either fre of c arge or u der re sona le an non-dis riminatory terms an con ition with

a pl cants throu hout the world In this resp ct, the statement of the holder of this p tent rig t

is registered with IEC Information may b o tained from:

Trang 12

Neck rten l n en 7 6 4

German

Atention is drawn to the p s ibi ty that some of the elements of this doc ment may b the

s bject of p tent rig ts other than those identified a ove IEC s al not b held resp n ible for

identifyin an or al s c p tent rig ts

ISO (www.iso.org/p tents) an IEC (ht p:/p tents.iec.c / maintain on-l ne data b ses of

p tents relevant to their stan ard Users are en ouraged to con ult the data b ses for the

most up to date information con ernin p tents

Trang 13

INDUSTRIAL COMMUNICATION NETWORKS –

Part 2: Media Redundancy Protocol (MRP)

The IEC 6 4 9 series is a pl ca le to hig -avai a i ty automation networks b sed on the

ISO/IEC/IEEE 8 0 -3 (IEEE 8 2.3) (Ethernet tec nolog

This p rt of the IEC 6 4 9 series sp cifies a recovery protocol b sed on a rin to olog ,

desig ed to re ct deterministicaly on a sin le fai ure of an inter-switc l nk or switc in the

network, u der the control of a dedicated media red n an y manager node

2 Normativ referenc s

The folowin doc ments, in whole or in p rt, are normatively referen ed in this doc ment an

are in isp n a le for its a pl cation For dated referen es, only the edition cited a pl es For

u dated referen es, the latest edition of the referen ed doc ment (in lu in an

amen ments) a pl es

IEC 6 0 0-191, Inte rn to al Ele ctrote ch ical Vocab u lary – Ch pter191: D e pe dab il y a d

qual y ofse rvice

IEC 61 5 -6-10:2 14, Industrial communicato n tworks – Fieldb us sp cificato s –

Part 6-10: Ap p licato la erp rotocol sp cificato – Typ e 10 eleme nts

IEC 617 4-1, Industrialcommu nicato n tworks – Profies – Part 1: Fieldb us p rofie s

IEC 617 4-2, Industrial commu nicato n tworks – Profie s – Part 2: Ad i on l fieldb us

p rofies forre l ime n tworks b ased o ISO/IEC 8 02-3

IEC 6 4 9-1:2 10, Industrialcommunicato n tworks – High a aiab il y automato n tworks

– Part 1: G en ral conce ts a d calcu lato meth ds

IEC 6 4 9-1:2 10/AMD1:2 12

1

ISO/IEC 1016 -1, Informato te ch ology – Op en Systems Interco n cto – Systems

ISO/IEC/IEEE 8 0 -3 Sta dard forEth rn t

IEEE 8 2.1D:2 0 , IEEE Sta dard forLocal a d metrop ol an are n tworks – Media Ac e ss

Co trol (MAC) Bridge s

IEEE 8 2.1Q:2 1 , IEEE Sta dard for Local a d metrop ol a are n tworks – Media Ac e ss

Co trol (MAC) Bridge s a d Virtual Bridge Local Are a Network

Trang 14

3 Terms, definitions, abbreviations, acronyms, and conventions

3.1 Terms and definitions

For the purp ses of this doc ment, the terms an definition given in IEC 6 0 0-191, as wel

as in IEC 6 4 9-1, as wel as the fol owin , a ply

For the purp ses of this doc ment, the a breviation an acron ms given in IEC 6 4 9-1

a ply, in ad ition to the fol owin

MIC Media Red n an y Intercon ection Clent

RC-mode Rin Check mode

3.3 Convention

This doc ment fol ows the con ention defined in IEC 6 4 9-1

4 MRP Overview

This doc ment sp cifies the Media Red n an y Protocol (MRP), a recovery protocol b sed

on a rin to olog , an the red n ant intercon ection of MRP rin s via the Media

Red n an y Intercon ection Protocol as s own in Fig re 1

Trang 15

MRP is desig ed to re ct deterministical y on a sin le fai ure of an inter-switc l nk or switc

in the rin or intercon ection to olog

MRP is b sed on fu ction of ISO/IEC/IEEE 8 0 -3 (IEEE 8 2.3) an IEEE 8 2.1Q in lu in

the Fi tering Data ase (FDB) an is located b twe n the Data Link L yer an Ap l cation

L yer (se Fig re 2)

NOT L y rin is as ume tob a c rdin to IEC 61 5 -1

A MRP complant network s al have a rin to olog with multiple nodes

One of the nodes has the role of a Media Red n an y Manager (MRM) The fu ction of the

MRM is to o serve an to control the rin to olog in order to re ct on network faults The

MRM do s this by sen in frames on one rin p rt over the rin an receivin them from the

rin over its other rin p rt, an vice versa in the other direction

The other nodes in the rin have the role of Media Red n an y Cl ents (MRC) An MRC

re cts on received reconfig ration frames from the MRM an can detect and sig al l nk

c an es on its rin p rts

Certain nodes or al nodes in the rin may also start as a Media Red n an y Automanager

(MRA) MRAs select one MRM amon e c other by u in a votin protocol The remainin

MRAs tran ition to the role MRC

Eac node in the rin is a le to detect the fai ure or recovery of an inter-switc l nk or the

fai ure or recovery of a neig b rin node

To red n antly con ect two MRP rin s, two nodes of e c rin are as ig ed ad itional roles

One of the nodes has the role of a media red n an y intercon ection manager (MIM), in

ad ition to the role of a MRC or MRM The fu ction of the MIM is to o serve an to control the

red n ant intercon ection to olog in order to re ct on intercon ection faults To cover a

maximum of a pl cation , two detection method are provided by this international stan ard

The MIM can o serve the intercon ection to olog by either re ctin directly on

intercon ection p rt l nk c an e notification mes ages (LC-mode) or by sen in test frames

on the intercon ection p rt over the con ected rin s an receivin them over its rin p rts,

an vice versa in the other direction (RC-mode)

The other thre nodes in the intercon ection to olog have the role of media red n an y

intercon ection cl ents (MIC), in ad ition to the role of a MRC or MRM The MIC re cts on

received reconfig ration frames from the MIM, it can detect an sig al lnk c an es of its

intercon ection p rt, an it can is ue l nk c an e notification mes ages

As des rib d in the course of this international stan ard, LC-mode has the ad antage of

restrictin the intercon ection test frame lo d only to the intercon ection l nks, where s R

C-mode has the ad antage of delo din the MICs from intercon ection test frame proces in

The selection of the mode has to b made in ac ordan e with the req irements of the

a pl cation an is outside the s o e of this international stan ard

Trang 16

Manag r r i g p r t or inter co n ctio p r t in for war din state

Manag r r i g p r t or inter co n ctio p r t in blo ked state

Cle t r i g p r t or inter co n ctio p r t in for war din state

Figure 1 – Two MRP ring red ndantly connected via MRP Interconnection

Eac MRP compl ant node req ires an IEEE 8 2.1 compl ant switc element with two rin

p rts con ected to one rin an s al have the a i ty to p rform at le st as one of the

fol owin :

• media red n an y manager (MRM); or

• media red n an y cl ent (MRC); or

• b th MRM or MRC (but b th roles s al not b active at the same time for the same rin )

Eac Media Red n an y Intercon ection compl ant node req ires an IEEE 8 2.1 compl ant

switc element with two rin p rts con ected to one rin , an with one intercon ection p rt

con ected to another MRP rin an s al have the a i ty to p rform at le st as one of the

fol owin :

• b th MRC an media red n an y intercon ection manager (MIM) (b th roles s al b

active at the same time); or

• b th MRM an MIM (b th roles s al b active at the same time); or

• b th MRC an media red n an y intercon ection cl ent (MIC) (b th roles s al b active

Trang 17

• b th MRM an MIC (b th roles s al b active at the same time).

More than two MRP rin s may b red n antly con ected by a plyin the red n ant

intercon ection to olog multiple times from one rin to other rin s This le d to rin s

containin multiple nodes config red to MIM an multiple nodes config red to MIC A

red n ant con ection of more than two rin s may also b ac ieved by two nodes of a rin

containin multiple in tan es of MIMs or MICs

An MRP compl ant node may implement multiple in tan es of the MRC, MRM, MRA, MIM or

MIC fu ctionalty In this case it s al o ey the folowin config ration rules:

• if one or more MIM or MIC in tan es are active on one node, then there s al b only one

MRC or one MRM or one MRA in tan e active on this node at the same time;

• if more than one MRC or MRM or MRA in tan es are active on one node, then no MIC or

MIM s al b active on this node at the same time;

• if more than one MRC or MRM or MRA in tan es are active on one node, there y

con ectin the related rin s con ected to the rin p rts of this node, then there s al b

no other node in the network con ectin the same rin s over its MRC or MRM or MRA

in tan es

The fol owin definition an c a ters with MRP an MRP Intercon ection definition alway

a ply to one MRP in tan e or one MRP Intercon ection in tan e p r compl ant node Multiple

activation of MRP in tan es or MRP Intercon ection in tan es, ac ordin to the config ration

rules stated a ove, mig t deman ad itional req irements to cor ect frame proces in an

frame forwardin , whic are out of the s o e of this doc ment

NOT Ad itio al interc n e tio p rts c n b use to c n e t to a ditio al rin s

The MRP con ists of a service an a protocol entity, se stack model in Fig re 2

The service entity sp cifies, in an a stract way, the external y visible service provided by the

Data Link L yer in terms of:

• primitive action an events of the service;

• p rameters as ociated with e c primitive action an event, an the form whic they ta e,

an ;

• inter elation hip b twe n these action an events, an their val d seq en es

MRP defines the services provided to:

• the Ap l cation L yer at the b u dary b twe n the Ap l cation L yer an the Data Link

Trang 18

The MRM an MRC s al b a le to detect the fai ure or recovery of a l nk on a rin p rt with

mec anisms b sed on ISO/IEC/IEEE 8 0 -3 (IEEE 8 2.3)

The MRM an MRC s al not forward MRP_ Test frames, MRP_ o olog Chan e frames, an

MRP_ LinkChan e frames to non-rin p rts

NOT Rin p rts are e p cte to b h v as if S P, RS P or MS P is disa le

A rin p rt s al ta e one of the fol owin p rt states:

Al frames s al b dro p d

Al frames s al b dro p d ex e t the fol owin :

• MRP_ o olog Chan e frames, MRP_ est frames an MRP_ TestMgrNAck frames;

• MRP_ LinkChan e frames an MRP_ estPro agate from an MRC;

• MRP_ Option frames;

• MRP_InTo ologyChan e an MRP_InLinkStatu Pol from an MIM;

• MRP_InLinkChan e frames from an MIC;

• frames sp cified in IEEE 8 2.1D-2 0 Ta le 7-10 to p s p rts in “Dis ardin ” state

Trang 19

• frames only prod ced or con umed by the hig er layer entities of this node an never

forwarded

Al frames s al b p s ed throu h ac ordin to the forwardin b havior of IEEE 8 2.1D

NOT IE E 8 2.1D refers to th p rt state c resp n in toBLOCKED as “Disc rdin ”

5.3 Media Red ndanc Manager (MRM)

One rin p rt of the MRM s al b con ected to a rin p rt of an MRC The other rin p rt of

that MRC s al b con ected to a rin p rt of another MRC or to the secon rin p rt of the

MRM, there y formin a rin to olog as s own in Fig re 3

IE

Figure 3 – MRP ring top log with one manager and cl ents

The MRM s al control the rin state by:

• sen in MRP_ est frames at a config red time p riod in b th direction of the rin ;

• setin one rin p rt to FORWARDING state an the other rin p rt to BLOCKED state if it

receives its own MRP_ est frames ( his me n that the rin is closed, se Fig re 3);

• setin b th rin p rts to FORWARDING state if it do s not receive its own MRP_ est

frames on b th rin p rts within a config red time ac ordin to MRP_ STdefaultT,

Trang 20

The MRM s al not forward MRP sp cific frames (MRP_ est frames, MRP_ o olog Chan e

frames, MRP_LinkChan e frames) b twe n its rin p rts

If the MRM receives an MRP_LinkUp or MRP_LinkDown frame, then the MRM s al red ce its

test monitorin time ac ordin to Ta le 5 to ac elerate the detection of the o en rin When

the o en rin is detected then the MRM s al set one rin p rt to forwardin state an s al

sen the MRP_ o olog Chan e frames throu h b th its rin p rts

If p rameter MRP_REACT_ ON_LINK_CHANGE is set, se Ta le 41, the MRM s al , on

receivin an MRP_ LinkDown frame, immediately set one rin p rt to forwardin state an

s al then sen the MRP_ o olog Chan e frames throu h its rin p rts

The MRM s al sen to the MRCs an MRP_ o olog Chan e frame containin the delay, afer

whic the rin to olog c an e wi b p rformed The p rameter car yin this delay is cal ed

MRP_Interval When this time has expired, al MRCs s al cle r their Fi terin Data ase (FDB)

information for their rin p rts

Eac MRC s al sen the config red delay in MRP_Interval to the MRM in the MRP_LinkUp

an MRP_ LinkDown frames to tel the MRM afer whic time the MRC wi c an e its p rt

BLOCKED (MRP_ LinkDown frame)

Me s res s al b in lu ed to prevent the MRM from remainin stu k in the closed state in

case of node fai ure

MRP_InLinkStatu Pol frames an MRP_InTo olog Chan e frames b twe n its rin p rts, if

one of its rin p rt is in the p rt state BLOCKED

nodeen

nodeen

node

en

nodeen

node

en

nodeen

node

en

nodeen

nodeen

nodeen

node

en

nodeen

node

en

nodeen

node

en

nodeen

nodeen

nodeen

node

en

nodeen

Trang 21

The MRM s al proces MRP_InTo olog Chan e frames It s al cle r its FDB if req ested by

an MRP_InTo olog Chan e frame in a given time interval MRP_Interval It s al sen an

MRP_ o olog Chan e frame if req ested by the MRP_InTo olog Chan e frame, in order to

en ure that al MRC, MIM an MIC in the rin domain cle r their FDB at the same time

5.4 Media Red ndanc Cl ent (MRC)

Eac MRC s al forward MRP_ est frames received on one rin p rt to the other rin p rt an

vice versa

If the MRC detects a faiure or recovery of a rin p rt l nk, the MRC may o tional y notify the

c an e by sen in MRP_LinkChan e frames throu h b th of its rin p rts Eac MRC s al

forward MRP_LinkChan e frames received on one rin p rt to the other rin p rt an vice

versa

Eac MRC s al forward MRP_ o olog Chan e frames received on one rin p rt to the other

rin p rt an vice versa Eac MRC s al proces these frames It s al cle r its FDB if

req ested by an MRP_ o olog Chan e frame in a given time interval MRP_Interval

MRP_InTo olog Chan e frames an MRP_InLinkStatu Pol frames b twe n its rin p rts, if

no MIM an no MIC is active on the node at the same time

5.5 Redundanc domain

The red n an y domain re resents a rin By default, al MRM an MRCs b lon to the

default domain A u iq e domain ID can b al ocated to al rin nodes of one rin as a k y

at ribute This is esp cial y es ential to distin uis frames if a device is memb r of multiple

rin s by implementin multiple in tan es of MRMs or MRCs A node s al as ig exactly two

u iq e rin p rts p r red n an y domain

NOT A d vic c n h v oth r p rts th n th two as ig e to MRP Th se oth r p rts are n t influ n e b MRP

5.6 Media Link Check

To en an e the q al ty of the l nk detection of certain rin or intercon ection p rts, a media

l nk c eck protocol may b u ed It s al b u ed for LC-mode

The Contin ity Check protocol, defined in the Con ectivity Fault Management (CFM) protocol

s ite within IEEE 8 2.1Q-2 1 an further sp cified in this doc ment u der the name

Con ectivity Fault Management for MRP (CFM-MRP), s al b s p orted as media l nk c eck

protocol

CFM-MRP s al b u ed at the intercon ection p rts of the MIM an MICs when o eratin the

rin intercon ection in LC-mode CFM-MRP may b u ed at the intercon ection p rts if

o eratin the rin intercon ection in RC-mode

CFM-MRP may also b u ed at the rin p rts of MRP devices

5.7 Appl cation of the Contin ity Check protocol

When a plyin the CFM-MRP protocol ac ordin to the sp cification of the Contin ity Check

protocol as defined in IEEE 8 2.1Q-2 1 to c eck the lnks b twe n rin - or intercon ection

p rts, then the rin - an intercon ection p rts re resent Maintenan e En Points (MEP)

b lon in to a Maintenan e Domain (MD) an a Maintenan e As ociation (MA) in the sen e

Trang 22

An MRP device, a plyin the CFM-MRP protocol on its intercon ection p rts or rin p rts,

s al internal y prod ce a MAUTyp Chan eIn event when the Contin ity Check receiver

in tan e on its MRP p rt has detected a remote Maintenan e En Point (MEP) er or by

detectin a l fetime violation of the Contin ity Check mes ages (CCM) from the l nk d remote

MRP devices MEP CFM-MRP initiator

5.7.2 Continuity Check Mes age Interval

The CCM Interval to b u ed s al b either 3,3 ms or 10 ms ac ordin to IEEE 8 2.1Q-2 1

5.7.3 Maintenance Domain L vel

The Maintenan e Domain L vel (MD L vel) to b u ed b twe n two rin - or intercon ection

p rts of two MRP devices s al b level 0 for lowest level ph sical con ection There y also

the fixed CCM Multicast MAC Ad res 01-8 -C2-0 -0 -3 is as ig ed ac ordin to

For a C M ME initiator to k ow wh th r it is se din o a se o d ry ln is giv n b th fa t th t th ME

initiator eith r residin o a MIM or a ME re eiv r re eiv s CCM frames from a ME initiator with th

MIM role sp cifie in th IEC sp cific TLV Oth rwise it is se din o a primary ln

Trang 23

If the at ribute Check Media Red n an y has the value TRUE, media red n an y events s al

cau e diag osis events an alarm notification

5.9 Ring diagnosis

In a red n an y domain the fol owin diag osis events han l n s al b implemented by

• If a device is config red as MRM, but not o eratin in the manager role, it s al sig al a

red n an y diag osis events whi e not in the manager role

• If a device is o eratin in manager role an this device detects another active MRM, it

s al sig al the “MULTIPLE_MANAGERS” event This event can oc ur con ur ently with

the rin state event “RING_ OPEN”

• If a device is o eratin in manager role an detects an o en rin , it s al sig al the

“RING_OPEN” event

These events s al b sig aled by u in the State Chan e service (se 7.3)

NOT Th prese c of MRP Test frames e a les th c e kin of th e iste c of a MRM

5.10 Multiple MRM in a single rin : Manager voting option

5.10.1 General

There s al b only one active MRM in the rin even if several nodes have this a i ty

NOT 1 Multiple a tiv MRMs c use th rin to divid itself into se eral se me ts

As an alternative to man al MRP-role config ration, in case of more than one node havin the

a i ty to b come an MRM in the rin , an en an ed manager votin o tion, sp cified in this

International Stan ard, may b u ed to decide whic of these nodes s al finaly b come the

MRM, whi e the other nodes ta e over the MRC role as s own in Fig re 5 an Fig re 6 To

this ef ect, the nodes with the MRM a i ty have dif erent priorities that s al be con eyed in

the MRP_ rio field of the MRP_ est frame

If an o tion for multiple MRM in a sin le rin is u ed, then al MRM in the rin s al s p ort

the same manager votin o tion, as defined in this doc ment

MRM s p ortin the manager votin o tion are named Media Red n an y Automanager or

Trang 24

NOT 2 To emp asize th prin iple, th folowin e pla atio s use th e pres io MRM for th remainin MR

ma a in th rin , alth u h th d vic c ntin esto b MR , alwa s c p ble to v te a ain

Fig re 5 s ows an MRP rin at network startup with two devices in the administrative MRA

Trang 25

The manager votin phase of MRP s al ta e place rig t af er device startup, an b fore the

device starts to ta e one of the p s ible MRP-roles MRM or MRC

The b sic fu ctional ty of the manager votin proces s al b as fol ows:

• Eac network node of the rin with MRM-ca a i ty an manager votin o tion s p ort,

there y b in a so-cal ed “Manager (Auto)” or s ort “MRA”, may b set to the MRP-role

“Manager (Auto)” by factory-default

• Eac MRA s al have as ig ed a priority (MRP_ rio) value This MRP_ rio-value,

combined with the MAC ad res , res lts in a final y u iq e priority A lower MRP_ ri

o-value me n a hig er priority If devices have identical MRP_ rio values, then the value of

the device MAC ad res decides A lower MAC ad res me n a hig er priority

• At startup, e c MRA network node s al start up with the manager votin proces an

• Other MRA s al receive the MRP_ est frames an s al comp re their own priority with

the priority of the next MRA If they do have the hig er priority, they s al cau e the

remote manager that is sen in the MRP_ est frame to with raw from the MRA-role into

the MRC-role by sen in a negative test manager acknowled ement

• The MRA or MRM with the hig est priority s al b come the one an only MRM of the rin

an s al now start to manage the rin ac ordin to MRP

• If the MRM, whic has b en elected via the manager votin o tion, is ta en out of the rin

or fai s to o erate, the votin proces s al start again an the next priority MRA s al

b come the managin MRM

• If an ad itional MRA is in erted into a rin containin an alre d elected MRM, then the

alre d elected MRM an the newly in erted MRA wi ex han e MRP_ est frames an

wi there y vote the new remainin MRM amon e c other

• For the manager votin o tion to work cor ectly, al devices in the rin s p ortin the

manager role s al b set to MRP-role “Manager (Auto)” or s al remain in the MRP-role

“Cl ent” At le st one device of a rin s al b set to either the MRP-role “Manager (Auto)”

or “Manager thou h

• If an MRM without MRA ca a i ty is p rt of the network rin , regardles whether the rin

is o en or closed, al MRA s al b config red to the MRC role

NOT Co fig rin MR to th MR role is n t p rforme a tomatic ly b th a toma a er v tin pro es b t is

d n b th user

5.10.3 The manager voting proces

The manager votin proces s al b as fol ows:

– At p wer on, al MRA s al start with the manager votin proces

– Eac MRA s al start to sen MRP_ Test frames on b th rin -p rts The MRP_ est frame

s al contain the MRAs priority value MRP_ rio

– Received MRP_ est frames s al b forwarded to the local host only

– The remote managers priority values contained in the received MRP_ est frames s al b

comp red with their own priority, as des rib d in 5.10.2 If their own priority is hig er than

the received priority, a negative test manager acknowled ement ( MRP_ estMgrNAck”)

frame, with the remote managers MAC ad res as ad itional information, s al b sent

– If a negative test manager acknowled ement ( MRP_ estMgrNAck”) with their own MAC

ad res is received, the receivin MRA s al initiate the tran ition into cl ent (MRC) role by:

• recordin the MAC ad res an priority of the hig er priority manager;

• enterin the cl ent role an pro agatin the role c an e an the hig er priority

manager information via a “MRP_ estPro agate” frame sent on b th rin -p rts

– On re c in the MRP cl ent role it s al forward MRP_ Test frames b twe n rin p rts l k

a stan ard MRC Ad itional y, it s al also forward MRP_ est frames to the host CPU

Trang 26

– From now on, the MRA in clent role s al monitor whether the recorded hig er priority

manager is sti al ve, i e whether it sti receives MRP_ Test frames from that manager

– The MRP_ estPro agate frame s al b u ed to inform other MRA devices in cl ent role

a out the role c an e an the new hig er priority manager The cl ents receivin this

frame s al update their hig er priority manager information ac ordin ly This en ures that

cl ents stay in clent role in case of a role c an e of the monitored hig er priority manager

destination multicast ad res MC_ EST

– If the MRA in cl ent role recog ises (via MRP_Test frame rece tion monitorin time ut

that the hig er priority manager has fai ed, it s al fal b ck into automanager role an

s al there y start a new manager votin proces with the other MRA, whic have fal en

b ck into automanager role in the same way an for the same re son

Fig re 7 s ows the frame ex han es over the time d rin the manager votin phase:

nodeen

nodeen

node

en

nodeen

node

en

nodeen

node

en

nodeen

nodeen

nodeen

node

en

nodeen

node

en

nodeen

node

en

nodeen

nodeen

nodeen

node

en

nodeen

• A han s a e (negative test acknowled ement is req ired to en ure the hig er priority

manager is located in the rin This is neces ary, as d e to the switc frame forwardin

rules, whic al ow MRP_ est frames from a manager device located outside the rin ,

con ected via its rin -p rt to a non-rin p rt of an MRP device b in p rt of the rin , are

also forwarded into the rin , if a switc without “inb u d” fi terin ca a i ty ( in res

Trang 27

Fig re 8 s ows an MRP rin with one MRA (MRA2) located outside the rin MRA2 is

con ected via one of its rin p rts to a non-rin p rt of a device whic is p rt of the rin The

frames fol ow the forwardin rules as defined in 5.2

M A 1

M CBLOCK ED

• Whie lower priority manager MRA1 receives test frames from hig er priority manager

MRA2, MRA2 do s not receive test frames from lower priority manager MRA1 as these are

not forwarded to non-rin p rts, whic ex lu es it from the votin proces Therefore

MRA2 do s not sen negative test acknowled ements an MRA1 wi stay in the MRM role

If MRA1 would have a hig er priority as MRA2, MRA1 would sen negative test

acknowled ements but these would not re c MRA2 as these are not forwarded to non

-rin p rts either

5.1 BLOCKED not s pp rted (Option)

If an MRC is not a le to s p ort the BLOCKED p rt state at its rin p rts, the MRC s al

re ort it in the cor esp n in p rameter of the MRP_LinkChan e frames

If an MRC do s not s p ort the BLOCKED state in a rin , then an MRM s al s p ort

ad itional fu ctionalties (se Ta le 4 an Ta le 41, MRP_ LOCKED_ UPPORTED)

5.12 Interconnection port

The MIM an the MIC s al have one intercon ection p rt

The MIM an the MIC s al b a le to detect the fai ure or recovery of a l nk on the

intercon ection p rt as fol ows:

– by u in l nk detection mec anisms b sed on ISO/IEC/IEEE 8 0 -3 (IEEE 8 2.3)

In ad ition by a plyin one or b th of the fol owin mec anisms:

Trang 28

– a media l nk c eck protocol b twe n intercon ection p rts The media l nk c eck protocol

s al b u ed at the MIM an MICs intercon ection p rt if the MIM is config red to lnk

c eck mode (LC-mode) an may b u ed if the MIM is config red to rin c eck mode (R

C-mode)

– a p riodic MRP_InTest frame whic s al b sent an received by the MIM on its rin p rts

an intercon ection p rt an s al b forwarded by the MICs on their rin p rts an

intercon ection p rt This mec anism s al b u ed for RC-mode an s al not b u ed for

LC-mode

The MIM an the MIC s al not forward MRP_InTest frames, MRP_InTo olog Chan e frames,

MRP_InLinkStatu Pol frames an MRP_InLinkChan e frames to p rts other than rin p rts

an other than the intercon ection p rt

The intercon ection p rt s al ta e one of the fol owin p rt states:

Al frames s al b dro p d

Al frames s al b dro p d ex e t the fol owin :

• MRP_InTest frames;

• MRP_InLinkChan e frames an MRP_InTo olog Chan e frames;

• MRP_InLinkStatu Pol frames;

• Media l nk c eck frames CFM-MRP ac ordin to IEEE 8 2.1Q-2 1 ;

• Frames sp cified in IEEE 8 2.1D-2 0 , Ta le 7-10 to p s p rts in “Dis ardin ” state

(e.g L DP, IEEE 15 8-2 0 PTP p er to p er frames);

• Frames only prod ced or con umed by the hig er layer entities of this node an never

forwarded

Al frames s al b p s ed throu h ac ordin to the forwardin b havior of IEEE 8 2.1D

NOT IE E 8 2.1D refers to th p rt state c r esp n in toBLOCKED as “Disc rdin ”

5.13 Media red ndan y Interconnection Manager (MIM)

The intercon ection p rt of the MIM s al b con ected to the intercon ection p rt of an MIC

in another MRP rin , an the intercon ection p rt of an MIC in the same rin s al b

con ected to the intercon ection p rt of an MIC in this other MRP rin , there y formin an

MRP intercon ection to olog as s own in Fig re 9

Trang 29

e d

n d

ed

nd

ednd

ednd

ednd

ednd

ednd

ednd

…MR

ednd

e

d nd

ednd

MIC + MR

e

d nd

ednd

The MIM s al control its intercon ection p rt state as fol ows:

– by directly re ctin only on intercon ection p rt l nk c an e notification from the MICs

an from its own intercon ection p rt (l nk c eck mode: LC-mode);

– or o tionaly by re ctin on MRP_InTest frames (rin c eck mode: RC-mode);

– setin its intercon ection p rt in BLOCKED state if:

• it is in LC-mode an receives intercon ection p rt l nk up notification from its own

intercon ection p rt an from the MICs of the interl nk con ection ( his me n that the

intercon ection to olog is closed, se Fig re 9);

• it is in RC-mode an receives its own MRP_InTest frames ( his me n that the

intercon ection to olog is closed, se Fig re 9)

– setin the intercon ection p rt in FORWARDING state if:

• it is in LC-mode an receives an intercon ection p rt l nk down notification from at

le st one of the MICs of the interl nk con ection ( his me n that the intercon ection

to olog is o en, se Fig re 10.)

• it is in RC-mode an do s not receive its own MRP_InTest frames within a config red

time ac ordin to MRP_IN_ STdefaultT an MRP_IN_ STNRmax in Ta le 5 ( his

Trang 30

e d

n d

ed

nd

ednd

ednd

ednd

ednd

ednd

ednd

…MR

ednd

ed

nd

ednd

MIC + MR

ednd

ednd

The MIM s al in icate c an es in the intercon ection to olog state to the MICs, an to the

MRMs in the con ected MRP rin s, by me n of MRP_InTo olog Chan e frames

When it is in LC-mode, the MIM s al , af er startup an afer recog ition of a l nk up at its

intercon ection p rt, is ue a MRP_InLinkStatu Pol frame at its rin p rts, to p l the statu of

the red n ant interlnk con ection from the MICs

When it is in RC-mode, the MIM s al , afer startup an afer recog ition of a l nk up at its

intercon ection p rt, c cl cal y sen an receive MRP_InTest frames at its rin p rts an at its

intercon ection p rt, to detect the statu of the intercon ection to olog

When a tran ition to o en or closed intercon ection to olog is detected, then the MIM s al

intercon ection p rt to the MICs an to the MRMs, to initiate the intercon ection to ology

If the MIC receives an MRP_InTo olog Chan e frame, then the MIC s al , afer recog ition of

a l nk up at its intercon ection p rt, c an e the p rt state of its intercon ection p rt to

Trang 31

If the MRMs receive a MRP_InTo olog Chan e frame, then the MRMs s al sen

MRP_ To olog Chan e frames at b th rin p rts, with the delay, afer whic al MRCs an

MICs in the con ected MRP rin s wi cle r their Fi terin Data ase (FDB)

The MIM s al not forward its own MRP_InTest frames b twe n the rin p rts an its

intercon ection p rt

The MIM s al forward MRP_InLinkChan e frames, MRP_InLinkStatu Pol frames an

MRP_InTo olog Chan e frames received on one rin p rt to the other rin p rt an vice

versa The MIM s al proces MRP_InLinkChan e frames an MRP_InTo olog Chan e

frames The MIM s al not forward MRP_InLinkChan e frames, MRP_InLinkStatu Pol frames

an MRP_InTo olog Chan e frames, if the MIM received these frames at its intercon ection

p rt

Eac MIC s al sen the config red delay in MRP_Interval to the MIM in the MRP_InLinkUp

an MRP_InLinkDown frames to tel the MIM af er whic time the MIC wi c an e its

intercon ection p rt state from BLOCKED to FORWARDING (MRP_InLinkUp frame) or from

FORWARDING to BLOCKED (MRP_InLinkDown frame)

Eac MIM s al s p ort BLOCKED p rt state at the intercon ection p rt

5.14 Media red ndan y Interconnection Cl ent (MIC)

The intercon ection p rt of the MIC s al b con ected to the intercon ection p rt of a MIM in

another MRP rin , an the intercon ection p rt of another MIC in the same rin s al b

con ected to the intercon ection p rt of a MIC in this other MRP rin , there y formin a MRP

intercon ection to olog as s own in Fig re 9

Eac MIC s al forward MRP_InTest frames received on one rin p rt to the other rin p rt

an to the intercon ection p rt Eac MIC s al forward MRP_InTest frames received on the

intercon ection p rt to b th rin p rts If the MIC detects a fai ure or recovery of the

intercon ection p rt l nk, the MIC s al notify the c an e by sen in MRP_InLinkChan e

frames throu h b th of its rin p rts Eac MIC s al forward MRP_InLinkChan e frames

received on one rin p rt to the other rin p rt an vice versa Eac MIC s al forward

MRP_InLinkChan e frames received on one of the rin p rts to the intercon ection p rt

Eac MIC s al forward MRP_InTo olog Chan e frames received on one rin p rt to the

other rin p rt an vice versa Eac MIC s al proces MRP_InTo olog Chan e frames It

s al , af er recog ition of a l nk up at its intercon ection p rt, c an e the p rt state of its

interconnection p rt to FORWARDING

Afer receivin a MRP_InLinkStatu Pol frame from the MIM, e c MIC s al resp n with a

MRP_InLinkChan e statu frame informin a out its c r ent intercon ection p rt l nk statu

Eac MIC s al s p ort BLOCKED p rt state at the intercon ection p rt

5.15 Interconnection domain

The intercon ection domain re resents an intercon ection to olog The MIM an the MICs of

one intercon ection to olog b lon to the same intercon ection domain A u iq e

intercon ection ID s al b al ocated as a k y at ribute, esp cial y if MIM an MICs are

memb r of rin s with multiple intercon ection A node s al as ig exactly one u iq e

intercon ection p rt p r intercon ection domain

Eac intercon ection to olog in the network s al have a u iq e intercon ection ID

There s al b only one active MIM in an intercon ection domain

Trang 32

NOT Interc n e tio p rts are e p cte to b h v as if S P, RS Por MS P is disa le

5.16 Interconnection diagnosis

In an intercon ection domain the folowin diag osis events han l n s al b implemented by

e c MIM

• If a device is config red as MIM, but not o eratin in this role, it s al sig al a

re ortin of al other media red n an y intercon ection protocol diag osis events whi e

not in the manager role

• If a device is o eratin in MRP intercon ection manager role (MIM) an detects or is

“INT RCONNECTION_OPEN” event

These events s al b sig aled by u in the State Chan e service (se 7.3)

Trang 33

7.5 (m) Atrib te: Defa lt Test Interv l

7.8.1 (m) Atrib te: Test Mo itorin Exte d d Co nt

7.10.1.3 (o) Atrib te: Rin Port 1 Port State

7.10.1.4 (o) Atrib te: Rin Port 2 Port State

Trang 34

8.1 (m) Atrib te: Interc n e tio To olo y Ch n e Interv l

8.2 (m) Atrib te: Interc n e tio To olo y Ch n e Re e t Co nt

Interc n e tio Test Mo itorin Co nt

Interc n e tio Lin Status Pol Interv l

Interc n e tio Lin Status Pol Re e t Co nt

This k y atribute defines the red n an y domain re resentin the rin the MRP o ject

b lon s to It is set to default Domain ID or provided as u iq e ID by en ine rin

At ribute Typ : UUID

Domain Name

This atribute defines the red n an y domain re resentin the rin the Media red n an y

o ject b lon s to It is set to default Domain Name or provided as u iq e ID by

This at ribute sp cifies another p rt of a switc diferent from Rin Port 1 ID whic is

as ig ed as rin p rt 2 in the red n an y domain referen ed by the value of the atribute

Trang 35

This atribute s al contain the priority of the MRM A lower value indicates a hig er

priority, 0x0 0 (hig est priority) to 0xFFFF (lowest priority) in in rements of 0x0 01

Default Test Interval

This at ribute sp cifies the default interval for sen in MRP_ est frames on rin p rts

This at ribute sp cifies the actual rin state of the MRP o ject in the red n an y domain

The Rin State s al have one of the fol owin values:

Trang 36

CLOSED: Rin is closed (normal o eration, no er or).

UNDEFINED: Shal b set if the atribute Re l Role State contain the value CLIENT

(i.e MRP o ject was reconfig red to cl ent role)

This k y atribute defines the intercon ection domain re resentin the intercon ection

to olog the MRP intercon ection o ject b lon s to It is provided as u iq e ID by

en ineerin

At ribute Typ : Un ig ed16

Intercon ection Name

This atribute sp cifies the name of the intercon ection domain referen ed by the value of

the atribute Intercon ection ID It is set to a default Intercon ection Name or provided as

Intercon ection Name by en ine rin

At ribute Typ : VisibleStrin [2 0]

Intercon ection Port ID

This at ribute sp cifies one p rt of a switc whic is as ig ed as intercon ection p rt in

the intercon ection domain referen ed by the value of the atribute Intercon ection ID

At ribute Typ : Un ig ed16

Intercon ection Port State

This o tional atribute sp cifies the actual p rt state of the intercon ection p rt The

Intercon ection Port state s al b sp cified ac ordin to Intercon ection p rt states in

Trang 37

Intercon ection VLAN ID

This o tional at ribute may b u ed by the MRP intercon ection o ject an sp cifies its

VLAN identifier in the intercon ection domain

At ribute Typ : Un ig ed16

Intercon ection Mode

This atribute sp cifies the mode of the MRP intercon ection o ject in the intercon ection

domain

LC_ MODE: Link c eck mode The MIM analy es the rin intercon ection state by

u in the l nk c an e notification of the MICs MRP_InTest frames are disa led

RC_MODE: Rin c eck mode The MIM analy es the rin intercon ection state by

sen in an receivin MRP_InTest frames Link c an e notification of the MICs

Al owed values: MANAGER, CLIENT

Intercon ection Topology Change Interval

This at ribute sp cifies the interval for sen in MRP_InTo olog Chan e frames

Intercon ection Default Test Interval

This at ribute sp cifies the default interval for sen in MRP_InTest frames on rin p rts

Intercon ection Link Status Pol Interval

This at ribute sp cifies the interval for sen in MRP_InLinkStatu Pol frames

At ribute Typ : Un ig ed16

Intercon ection Link Status Pol Re e t Count

This at ribute sp cifies the interval cou t whic controls re e ted tran mis ion of

MRP_InLinkStatu Pol frames

At ribute Typ : Un ig ed16

Intercon ection Topology State

This at ribute sp cifies the actual intercon ection to olog state of the MRP

intercon ection o ject in the intercon ection domain The Intercon ection To olog State

s al have one of the fol owin values:

UNDEFINED: Device has no information (yet a out the Intercon ection to olog ;

OPEN: Intercon ection to olog is o en d e to l nk or MIC fai ure in the

Trang 38

Al owed values: UNDEFINED, OPEN, CLOSED

This atribute sp cifies the MRP_InLinkChan e frame cou t whic controls re e ted

tran mis ion of MRP_InLinkChan e frames

Atribute Typ : Un ig ed16

7 MRP Service specification

7.1 Start MRM

The Start MRM service cre tes a local in tan e of the MRM protocol mac ine

Ta le 3 s ows the p rameters of the service

Trang 39

This p rameter contain the value of the interval cou t whic controls re e ted

tran mis ion of MRP_ To olog Chan e frames

Short Test Interval

This p rameter contain the value of the s ort interval for sen in MRP_ est frames

on rin p rts af er l nk c an es in the rin

Default Test Interval

This p rameter contain the value of the default interval for sen in MRP_ est frames

on rin p rts

Test Monitoring Cou t

This p rameter contain the value of the interval cou t for monitorin the rece tion of

MRP_ Test frames

Non-blocking MRC s pported

This p rameter sp cifies the a i ty of the MRM to s p ort MRCs without BLOCKED

p rt state s p ort in the rin

Test Monitoring Exten ed Count

This o tional p rameter contain the value of the exten ed interval cou t for

monitorin the rece tion of MRP_ est frames

Trang 40

This service s al b u ed to in icate a c an e of the MRP domain state.

Ta le 5 s ows the p rameters of the service

Ngày đăng: 17/04/2023, 11:45

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN