cfm trigger if-down

Function

The cfm trigger if-down command associates Ethernet CFM with an interface's flapping.

The undo cfm trigger if-down command restores the default configuration.

By default, Ethernet CFM is not associated with an interface.

Format

cfm md md-name ma ma-name remote-mep mep-id mep-id trigger if-down

undo cfm md md-name ma ma-name remote-mep mep-id mep-id trigger if-down

Parameters

Parameter Description Value
ma ma-name

Specifies the name of an MA.

The value is a string of 1 to 43 characters. Question marks (?), hyphens (-) are not supported. The total length of the MA and MD names must be no greater than 44 characters.

remote-mep

Specifies ID of an RMEP.

-

mep-id mep-id

Specifies ID of an RMEP.

The value is an integer ranging from 1 to 8191

md md-name

Specifies the name of an MD in an MA.

The value is a string of 1 to 43 characters. Question marks (?), hyphens (-) are not supported.

Views

Layer 2 100GE interface view, 100ge sub-interface view, 100GE interface view, Layer 2 10GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE-L2 view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE-L2 view, 400GE sub-interface view, 400GE interface view, Layer 2 40GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, Layer 2 50GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE Layer 2 sub-interface view, Layer 2 GE interface view, GE optical interface view, GE sub-interface view, GE electrical interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
y1731 write

Usage Guidelines

Usage Scenario

After the cfm trigger if-down command is run, when a MEP in a specified MA detects a connectivity fault on the network between the MEP and the specified RMEP, the OAM management module shuts down and then turns on the interface. If CFM detects a link fault in active and standby links, the CFM module instructs the OAM management module to run the shutdown command and 7 seconds later run the undo shutdown command automatically on the interface associated with the CFM module to allow services to be restored.

When active and standby links are used, CFM detects link faults and the interface associated with CFM alternates between up and down, which facilitates rapid service convergence.

Prerequisites

  • CFM has been enabled globally using the cfm enable command.
  • Run cfm md, creates an MD.
  • Run ma, creates an MA.
  • Run mep mep-id, configure a MEP.
  • Run remote-mep mep-id, specifies an RMEP.

Precautions

Each interface can be bound only to a single RMEP. To modify the binding between an interface and RMEP, delete the original binding and reconfigure a binding.

Example

# Associate Ethernet CFM with GE 0/1/1's flapping with the MD name, MA name, and RMEP ID set to md1, ma1, and 2, respectively.
<HUAWEI> system-view
[~HUAWEI] cfm enable
[*HUAWEI] cfm md md1
[*HUAWEI-md-md1] ma ma1
[*HUAWEI-md-md1-ma-ma1] mep mep-id 3 interface GigabitEthernet0/1/1 outward
[*HUAWEI-md-md1-ma-ma1] mep ccm-send enable
[*HUAWEI-md-md1-ma-ma1] remote-mep mep-id 4
[*HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive enable
[*HUAWEI-md-md1-ma-ma1] commit
[~HUAWEI-md-md1-ma-ma1] quit
[~HUAWEI-md-md1] quit
[~HUAWEI] interface GigabitEthernet0/1/1
[~HUAWEI-GigabitEthernet0/1/1] cfm md md1 ma ma1 remote-mep mep-id 4 trigger if-down
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >