1、 Part 17: Resilient packet ring (RPR)access method and physical layer specifications Sponsored by the LAN/MAN Standards Committee IEEE 3 Park Avenue New York, NY 10016-5997 USA 20 September 2011 IEEE Computer Society IEEE Std 802.17-2011(Revision of IEEE Std 802.17-2004, as amended by IEEE Std 802.1
2、7b-2007and IEEE Std 802.17c-2010) IEEE Standard for Information technology Telecommunications and information exchange between systems Local and metropolitan area networks Specific requirements IEEE Std 802.17-2011(Revision of IEEE Std 802.17-2004,as amended by IEEE Std 802.17b-2007and IEEE Std 802.
3、17c-2010)IEEE Standard for Information technologyTelecommunications and information exchange between systemsLocal and metropolitan area networksSpecific requirementsPart 17: Resilient packet ring (RPR) access method and physical layer specificationsSponsorLAN/MAN Standards Committeeof theIEEE Comput
4、er SocietyApproved 16 May 2011IEEE-SA Standards BoardThe Institute of Electrical and Electronics Engineers, Inc.3 Park Avenue, New York, NY 10016-5997, USACopyright 2011 by the Institute of Electrical and Electronics Engineers, Inc.All rights reserved. Published 20 September 2011. Printed in the Uni
5、ted States of America.IEEE and 802 are registered trademarks in the U.S. Patent (978) 750-8400. Permission to photocopy portions of any individual standard for educationalclassroom use can also be obtained through the Copyright Clearance Center.iv Copyright 2011 IEEE. All rights reservedIntroduction
6、This introduction is not part of IEEE Std 802.17-2011, IEEE Standard for Information technologyTelecommunications and information exchange between systemsLocal and metropolitan area networksSpecificrequirementsPart 17: Resilient packet ring (RPR) access method and physical layer specifications.Notic
7、e to usersLaws and regulationsUsers of these documents should consult all applicable laws and regulations. Compliance with theprovisions of this standard does not imply compliance to any applicable regulatory requirements.Implementers of the standard are responsible for observing or referring to the
8、 applicable regulatoryrequirements. IEEE does not, by the publication of its standards, intend to urge action that is not incompliance with applicable laws, and these documents may not be construed as doing so. CopyrightsThis document is copyrighted by the IEEE. It is made available for a wide varie
9、ty of both public and privateuses. These include both use, by reference, in laws and regulations, and use in private self-regulation,standardization, and the promotion of engineering practices and methods. By making this documentavailable for use and adoption by public authorities and private users,
10、 the IEEE does not waive any rights incopyright to this document.Updating of IEEE documentsUsers of IEEE standards should be aware that these documents may be superseded at any time by theissuance of new editions or may be amended from time to time through the issuance of amendments,corrigenda, or e
11、rrata. An official IEEE document at any point in time consists of the current edition of thedocument together with any amendments, corrigenda, or errata then in effect. In order to determine whethera given document is the current edition and whether it has been amended through the issuanceof amendme
12、nts, corrigenda, or errata, visit the IEEE Standards Association website at http:/ieeexplore.ieee.org/xpl/standards.jsp, or contact the IEEE at the address listed previously.For more information about the IEEE Standards Association or the IEEE standards development process,visit the IEEE-SA website
13、at http:/standards.ieee.org.ErrataErrata, if any, for this and all other standards can be accessed at the following URL: http:/standards.ieee.org/reading/ieee/updates/errata/index.html. Users are encouraged to check this URL forerrata periodically.InterpretationsCurrent interpretations can be access
14、ed at the following URL: http:/standards.ieee.org/reading/ieee/interp/index.html.Copyright 2011 IEEE. All rights reserved. vPatentsAttention is called to the possibility that implementation of this standard may require use of subject mattercovered by patent rights. By publication of this standard, n
15、o position is taken with respect to the existence orvalidity of any patent rights in connection therewith. A patent holder or patent applicant has filed a statementof assurance that it will grant licenses under these rights without compensation or under reasonable rates,with reasonable terms and con
16、ditions that are demonstrably free of any unfair discrimination to applicantsdesiring to obtain such licenses. Other Essential Patent Claims may exist for which a statement of assurancehas not been received. The IEEE is not responsible for identifying Essential Patent Claims for which alicense may b
17、e required, for conducting inquiries into the legal validity or scope of Patents Claims, ordetermining whether any licensing terms or conditions are reasonable or non-discriminatory. Furtherinformation may be obtained from the IEEE Standards Association.ParticipantsThe following individuals particip
18、ated in the 802.17 Working Group during the development of thisstandard:John Lemon, ChairMichael Kelsen, Vice-ChairSamir AbzakhThomas AlexanderMichael AllenKhaled AmerVinay BannaiCharles BarryTim BarryConstantinos BassiasPrasenjit BiswasRhett BrikovskisLeon BruckmanRobert CastellanoJason FanStein Gj
19、essingNitin GogateMartin GreenJohn F. HawkinsAsif HazarikaMarc HolnessRuss HomerChang HuangWai-Chau HuiDavid V. JamesPeter G. JonesJim KaoPhilip KruzinskiParitosh KulkarniKshitij KumarRobert D. LoveDerek MayweatherLi MoGal MorVahid NaraghiPaul NikolichGlenn W. ParsonsChip ParyzekHarry PengTim Plunke
20、ttPaul QuesenberryRefael RamK. K. RamakrishnanGady RosenfeldRaj SharmaAtul ShindeDonald SorensonBob SultanRobert SultanGeorge SuwalaMichael TakefmanGary TurnerNecdet UzunLink VerstegenSteven WoodDonghui XieLi XueWang YanMete YilmazPinar YilmazGeorge YoungDavid ZeligDaniel Zhuvi Copyright 2011 IEEE.
21、All rights reservedThe following members of the individual balloting committee voted on this standard. Balloters may havevoted for approval, disapproval, or abstention. When the IEEE-SA Standards Board approved this standard on 16 May 2011, it had the followingmembership:Richard H. Hulett, ChairJohn
22、 Kulick, Vice ChairRobert M. Grow, Past PresidentJudith Gorman, Secretary*Member EmeritusAlso included are the following nonvoting IEEE-SA Standards Board liaisons:Satish K. Aggarwal, NRC RepresentativeRichard DeBlasio, DOE RepresentativeMichael Janezic, NIST RepresentativeMichelle TurnerIEEE Standa
23、rds Program Manager, Document DevelopmentKathryn BennettIEEE Standards Program Manager, Technical Program DevelopmentThomas AlexanderButch AntonDanilo AntonelliVinay BannaiJohn BarrNancy BravinWilliam ByrdJuan CarreonKeith ChowCharles CookRussell DietzThomas DineenSourav DuttaDevon GayleGregory Gill
24、oolyRandall GrovesC. GuyJohn F. HawkinsAtsushi ItoRaj JainJunghoon JeePeter G. JonesShinkyo KakuJunghong KaoPiotr KarockiMichael KelsenStuart J. KerryYongbum KimBruce KraemerJohn LemonGreg LuriElvis MaculubaWayne W. MangesGary MichelMichael S. NewmanCharles NgetheNick S. A. NikjooPaul NikolichJohn N
25、otorChris OsterlohGlenn W. ParsonsMaximilian RiegelRobert RobinsonBenjamin RolfeRandall SafierJohn SauerBartien SayogoBenson SchliesserGil ShultzKapil SoodManikantan SrinivasanThomas StaraiWalter StrupplerRobert SultanMichael TakefmanWilliam TaylorMark-Rene UchidaScott ValcourtPrabodh VarshneyOren Y
26、uenMasayuki AriyoshiWilliam BartleyTed BurseClint ChaplinWeal DiabJean-Philippe FaureAlexander GelmanPaul HouzJim HughesJoseph L. Koepfinger*David J. LawThomas LeeHung LingOleg LogvinovTed OlsenGary RobinsonJon Walter RosdahlSam SciaccaMike SeaveyCurtis SillerPhil WinstonHoward WolfmanDon WrightCopy
27、right 2011 IEEE. All rights reserved. viiContents1. Overview .11.1 Scope11.2 Purpose.11.3 RPR features 21.4 Document structure 22. Normative references 43. Terms, definitions, and notation63.1 Conformance levels63.2 Terms and definitions.63.3 Service definition method and notation .133.3.1 Classific
28、ation of service primitives 133.4 State machines143.4.1 State table notation .143.5 Arithmetic and logical operators163.6 Numerical representation .163.7 Field notations163.7.1 Use of italics.163.7.2 Field conventions173.7.3 Field value conventions173.8 Bit numbering and ordering .183.9 Byte-sequent
29、ial formats .183.10 Left-to-right ordering .193.11 Representation of MAC addresses.203.12 Mapping of numeric data values to fields203.13 Informative notes .213.14 Conventions for C code used in state machines.213.15 Ringlet orientation conventions .214. Abbreviations and acronyms.225. Architecture o
30、verview.245.1 Terminology.245.2 Layer model .255.3 Ring structure.265.4 Station structure .265.5 MAC architecture.275.5.1 Datapath connectivity.275.5.2 Ringlet selection .285.5.3 MAC datapath flows.295.5.4 Receive rules 305.6 MAC service 305.6.1 MAC data primitives 305.6.2 Service classes315.6.3 MAC
31、 flow control primitives .325.7 Frame transmissions.325.7.1 Unicast transmissions .325.7.2 Flooded transmissions 33viii Copyright 2011 IEEE. All rights reserved.5.7.3 Multicast transmissions 345.8 Frame formats 345.9 Frame transmissions 345.9.1 Local-source/local-destination transmissions 345.9.2 Lo
32、cal-source multicast transmissions. 355.9.3 Local-source unknown-unicast transmissions 365.9.4 Remote-source unicast transmissions. 365.9.5 Remote-source multicast transmissions . 375.10 Spatial reuse. 385.11 Bandwidth allocation . 385.11.1 Allocation enforcement 395.11.2 Allocation consistency . 39
33、5.12 Fairness 415.12.1 Equal-weighted fairness . 415.12.2 Fairness frame distribution. 425.12.3 Multi-choke fairness frame distribution. 425.13 Transit-queuing options . 425.14 Fault response methods 435.14.1 Fault response mechanisms 435.14.2 Protection hierarchy . 445.14.3 Wrap then steer. 455.15
34、Topology discovery . 455.16 Frame ordering. 465.16.1 Strict and relaxed transmissions. 465.17 Operations, administration, and maintenance (OAM). 465.17.1 Echo operations 465.17.2 Flushing previously sourced traffic 475.17.3 Management information base (MIB) 475.18 Spatially aware sublayer 485.19 Pro
35、tected inter-ring connection 486. Medium access control (MAC) service and reference model.496.1 Overview 496.2 Terminology and variables 496.3 Overview of MAC services . 506.3.1 Service types 506.3.2 Service classes 516.4 MAC services to the client layer 526.4.1 MA_DATA.request 526.4.2 MA_DATA.indic
36、ation . 566.4.3 MA_CONTROL.request586.4.4 MA_CONTROL.indication 596.5 MAC compliance test points 616.5.1 1 Gb/s PacketPHY 626.5.2 10 Gb/s PacketPHY 626.5.3 SONET/SDH 626.6 MAC reference model . 626.6.1 MAC control sublayer 636.6.2 MAC datapath sublayer 646.6.3 Flow of data within the MAC 656.6.4 Rec
37、onciliation sublayer 676.6.5 Medium access control. 676.6.6 Operations, administration, and maintenance (OAM) . 68Copyright 2011 IEEE. All rights reserved. ix6.6.7 MAC layer management entity (MLME).686.7 Protocol Implementation Conformance Statement (PICS) proforma for Clause 6 .696.7.1 Introductio
38、n 696.7.2 Identification.696.7.3 PICS tables for Clause 6.707. Medium access control datapath .717.1 Datapath overview .717.2 Terminology and variables.727.2.1 Common state machine definitions 727.2.2 Common state machine variables.747.2.3 Common state machine routines 777.2.4 Variables and literals
39、 defined in other clauses .797.2.5 Flow count variables.817.3 Service classes837.3.1 Service class classA847.3.2 Service class classB857.3.3 Service class classC867.3.4 Reclamation867.4 Datapaths867.4.1 Add paths867.4.2 Transit paths .877.4.3 Passthrough mode.887.4.4 Protection datapaths887.5 Rate c
40、ontrol 937.5.1 MAC shaper overview937.5.2 Add queue flow control947.5.3 IdleShaper state machine957.5.4 MacControlShaper state machine.977.5.5 ClassAShaper state machine.987.5.6 ClassBShaper state machine.1017.5.7 Fairness eligible shaper state machines1047.5.8 DownstreamShaper state machine1107.6 R
41、eceive operation.1127.6.1 Receive operation for strict data frames.1127.6.2 Reception in wrapping systems1147.6.3 Receive operation state machines.1157.6.4 WrongRinglet state machine 1457.7 Transmit operation .1467.7.1 Ringlet selection .1477.7.2 Determination of cleave point 1597.7.3 Setting of ttl
42、 and ttlBase .1607.7.4 StageQueueSelection state machine.1637.7.5 DataAddCount state machine.1687.7.6 ControlAddCount state machine 1707.7.7 Single queue MAC design1727.7.8 Dual queue MAC design 1757.7.9 TransmitCount state machine.1797.7.10 TransmitRoute state machine .1827.8 Protocol Implementatio
43、n Conformance Statement (PICS) proforma for Clause 7 .1847.8.1 Introduction 1847.8.2 Identification.1847.8.3 PICS tables for Clause 7.185x Copyright 2011 IEEE. All rights reserved.8. MAC physical interface 1898.1 Overview 1898.1.1 Objectives. 1898.1.2 Relationship to other standards 1908.2 MAC physi
44、cal layer service interface 1908.2.1 PHY_DATA.request 1908.2.2 PHY_DATA.indication 1918.2.3 PHY_LINK_STATUS.indication 1928.2.4 Mapping of PHY_READY.indication . 1938.3 PacketPHY physical layer interfaces and PHYs 1938.3.1 PacketPHY reconciliation sublayers 1938.3.2 PacketPHYs 1948.4 SONET/SDH physi
45、cal layer interfaces and PHYs 1958.4.1 SONET/SDH reconciliation sublayers. 1968.4.2 SONET/SDH adaptation sublayers 1968.4.3 SONET/SDH physical layer entities (PHYs). 1988.5 Protocol Implementation Conformance Statement (PICS) proforma for Clause 8 . 2008.5.1 Introduction 2008.5.2 Identification 2008
46、.5.3 Major capabilities/options 2018.5.4 PICS tables for Clause 8. 2019. Frame formats . 2039.1 Overview 2039.2 Data frame format 2039.2.1 Data frame sizes . 2039.2.2 Data frame fields 2049.3 Control frame format . 2059.3.1 Control frame sizes. 2059.3.2 Control frame fields . 2069.4 Fairness frame f
47、ormat 2089.4.1 Fairness frame sizes . 2089.4.2 Fairness frame fields 2089.5 Idle frame format . 2099.5.1 Idle frame sizes. 2099.5.2 Idle frame fields . 2099.6 baseControl subfields 2109.7 extendedControl subfields . 2129.8 Protocol Implementation Conformance Statement (PICS) proforma for Clause 9 .
48、2149.8.1 Introduction 2149.8.2 Identification 2149.8.3 PICS tables for Clause 9. 21510. Fairness . 21610.1 Overview 21610.1.1 Fairness instances. 21610.1.2 Services and features 21910.1.3 Fairness algorithm overview 21910.2 Terms, definitions, variables, and routines 23010.2.1 Common state machine d
49、efinitions 23010.2.2 Common state machine variables. 231Copyright 2011 IEEE. All rights reserved. xi10.2.3 Common state machine routines 23510.2.4 Variables and routines defined in other clauses .23610.3 Frame formats 23710.3.1 Fairness frame format.23710.3.2 Fairness differential delay (FDD) frame format.23810.4 Fairness state machines23810.4.1 PerByte state machine 23910.4.2 PerAgingInterval state machine .24210.4.3 AggressiveRateAdjust state machine .24610.4.4 ConservativeRateAdjust state machine 24810.4.5 PerAdvertisingInterval state machine.25110