The ccm-interval command sets the interval at which a Maintenance Association End Point (MEP) sends or detects Continuity Check Messages (CCMs) in an MA.
The undo ccm-interval command restores the default interval.
By default, a MEP in an MA sends or detects CCMs every 1000 ms.
Parameter | Description | Value |
---|---|---|
interval | Specifies the interval at which a MEP sends or detects CCMs. | The value is an integer, in milliseconds. The value is as follows:
|
Usage Scenario
To set the interval at which a MEP in an MA sends or detects CCMs, use this command.
Precautions
All the MEPs in an MA must send or detect CCMs at the same interval.
The interval at which CCMs are sent or detected cannot be changed on the device in an MA if one of the following operations is performed:
The device is enabled to send CCMs using the mep ccm-send enable command.
The device is enabled to receive CCMs using the remote-mep ccm-receive enable command.
The undo mep ccm-send or undo mep ccm-receive command must be run before the interval is reconfigured.
# Set the interval for sending or detecting CCMs to 1000 ms within the MA ma1 where the device is not enabled to send or receive CCMs.
<HUAWEI> system-view [HUAWEI] cfm enable [HUAWEI] cfm md md1 [HUAWEI-md-md1] ma ma1 [HUAWEI-md-md1-ma-ma1] ccm-interval 1000
# Set the interval for sending or detecting CCMs to 1000 ms within the MA ma1 where the device is enabled to send and receive CCMs.
<HUAWEI> system-view [HUAWEI] cfm enable [HUAWEI] cfm md md1 [HUAWEI-md-md1] ma ma1 [HUAWEI-md-md1-ma-ma1] undo mep ccm-send enable [HUAWEI-md-md1-ma-ma1] undo remote-mep ccm-receive enable [HUAWEI-md-md1-ma-ma1] ccm-interval 1000