< Home

ccm-interval

Function

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.

Format

ccm-interval interval

undo ccm-interval

Parameters

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:
  • S6720-EI, S6720S-EI, and S5720-EI: 100, 1000, or 10000
  • S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S: 3.3, 10, 100, 1000, or 10000

    To use the value of 3.3 or 10, first run the set service-mode command to configure the device to work in enhanced mode.

  • S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI: 1000 or 10000

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >