mep mep-id lck enable

Function

The mep mep-id lck enable command enables the ETH-LCK function.

The undo mep mep-id lck enable command disables the ETH-LCK function.

By default, the ETH-LCK function is disabled.

Format

mep mep-id mep-id lck enable level level

undo mep mep-id mep-id lck enable

Parameters

Parameter Description Value
mep-id mep-id

Specifies the MEP ID.

The value is an integer ranging from 1 to 8191. A MEP ID identifies a MEP. The MEP ID must be unique in an MA.

level level

Specifies the level of ETH-LCK packets.

The value is an integer ranging from 1 to 7.

Views

MA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
y1731 write

Usage Guidelines

Usage Scenario

In an MD nesting scenario, if the ETH-LCK function is configured on a MEP in a lower priority MD (inner layer), the MEP sends ETH-LCK packets to MEPs in another MD at the outer layer. After MEPs in an MD with a matching level receive the ETH-LCK packets, they generate LCK alarms. After the MEPs do not receive ETH-LCK packets within a period of time 3.5 times as long as the interval at which ETH-LCK packets are sent, the MEPs generate clear alarms. The ETH-LCK function can be used with the ETH-test function so that the outer MD can be notified of the administrative locked state of the inner MD.

Prerequisites

  • An MD has been created using the cfm MD command in the system view.
  • An MA has been created using the MA command in the MD view.
  • An inward-facing MEP has been created using the MEP MEP-id command in the MA view.

Precautions

The specified level must be higher than that of the MD to which the MEP belongs.

Example

# Configure the ETH-LCK function
[~HUAWEI] mpls
[~HUAWEI-mpls] mpls l2vpn
[~HUAWEI-l2vpn] interface GigabitEthernet0/1/17
[~HUAWEI-GigabitEthernet0/1/17] mpls l2vc 2.2.2.3 1001 control-word
[*HUAWEI-GigabitEthernet0/1/17] cfm md md1
[*HUAWEI-md-md1] ma ma2
[*HUAWEI-md-md1-ma-ma2] map mpls l2vc 2.2.2.3 1001 raw
[*HUAWEI-md-md1-ma-ma2] mep mep-id 1 interface GigabitEthernet0/1/17 inward
[*HUAWEI-md-md1-ma-ma2] mep mep-id 1 lck enable level 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >