Ethernet Ring Protection Switching (ERPS) protocol packets are called R-APS PDUs. Ring Auto Protection Switching (R-APS) Protocol Data Units (PDUs) are transmitted on ERPS rings to convey ERPS ring information. Figure 1 shows the basic R-APS PDU format.
Table 1 describes the fields in an R-APS PDU.
Field Name |
Length |
Description |
---|---|---|
MEL |
3 bits |
Identifies the maintenance entity group (MEG) level of the R-APS PDU. |
Version |
5 bits |
|
OpCode |
8 bits |
Indicates an R-APS PDU. The value of this field is 0x28. |
Flags |
8 bits |
Is reserved. The value of this field is fixed at 0x00. |
TLV Offset |
8 bits |
Indicates that the TLV starts after an offset of 32 bytes. The value of this field is fixed at 0x20. |
R-APS Specific Information |
32 x 8 bits |
Carries R-APS ring information and is the core in an R-APS PDU. This field has different meanings for some of its sub-fields in ERPSv1 and ERPSv2. Figure 2 shows the R-APS Specific Information field format in ERPSv1. Figure 3 shows the R-APS Specific Information field format in ERPSv2. |
TLV |
Not limited |
Describes information to be loaded. The end TLV value is 0x00. |
Sub-Field Name |
Length |
Description |
---|---|---|
Request/State |
4 bits |
Indicates that this R-APS PDU is a request or state PDU. The value can be:
|
Reserved 1 |
4 bits |
Reserved 1 is used in ERPSv1 for message reply or protection identifier. Sub-code is used in ERPSv2 with its value determined by the Request/State field value:
|
Sub-code |
||
Status |
8 bits |
Includes the following status information:
|
Node ID |
6 x 8 bits |
Identifies the MAC address of a node on the ERPS ring. It is informational and does not affect protection switching on the ERPS ring. |
Reserved 2 |
24 x 8 bits |
Reserved for future extension and should be ignored upon reception. Currently, this sub-field should be encoded as all 0s in transmission. |