< Home

raps-mel

Function

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.

Format

raps-mel level-id

undo raps-mel

Parameters

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.

Views

ERPS ring view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the value of the MEL field to 5 in ERPS ring 1.

<HUAWEI> system-view
[HUAWEI] erps ring 1
[HUAWEI-erps-ring1] raps-mel 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >