The raps-mel command sets the value of the MEL field in Ring Auto Protection Switching (RAPS) Protocol Data Units (PDUs).
The undo raps-mel command restores the default value of the MEL field.
By default, the value of the MEL field in RAPS PDUs is 7.
Parameter | Description | Value |
---|---|---|
level-id | Specifies the value of the MEL field in RAPS PDUs. | The value is an integer that ranges from 0 to 7. |
Usage Scenario
On a Layer 2 network running ERPS, if another fault detection protocol is enabled, the MEL field in RAPS PDUs is used to determine whether the RAPS PDUs can be forwarded. If the MEL value in an ERPS ring is smaller than the MEL value of the fault detection protocol, the RAPS PDUs have a lower priority and are discarded. If the MEL value in an ERPS ring is larger than the MEL value of the fault detection protocol, the RAPS PDUs can be forwarded. You can run the raps-mel command to set the value of the MEL field in RAPS PDUs.
In addition, the MEL value can also be used for interworking with other vendors' devices in an ERPS ring. The same MEL value ensures smooth communication between devices.
Precautions
If you run the raps-mel command multiple times, only the latest configuration takes effect.