< Home

cfm trigger if-down

Function

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

The undo cfm trigger if-down command disassociates Ethernet CFM from an interface.

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

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

md md-name

Specifies the name of an MD in an MA.

The value is a string of 1 to 43 case-sensitive characters without spaces, hyphens (-), and question marks (?).

ma ma-name

Specifies the name of an MA.

The value is a string of 1 to 43 characters without spaces, hyphens (-), and question marks (?). The total length of the names of the MA and MD must be within 44 characters.

NOTE:

When double quotation marks are used around the string, spaces are allowed in the string.

remote-mep mep-id mep-id

Specifies ID of an RMEP.

The value is an integer that ranges from 1 to 8191.

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

CFM can be associated with interfaces. On a scenario with active and standby links, when CFM detects a fault on the active link, the OAM management module shuts down the interface and enables the interface 7 seconds later. This speeds up route convergence. In addition, traffic can be fast switched to the standby link.

Precautions

An interface can be bound to only one RMEP. To modify the association between the interface and the RMEP, delete the current configuration and then configure the new association.

Prerequisites

An outward-facing MEP has been created in the specified MA and the MEP has been created on the interface.

Example

# Associate Ethernet CFM with GigabitEthernet0/0/1. The MD name, MA name, and RMEP ID are md1, ma1, and 2 respectively.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] cfm md md1 ma ma1 remote-mep mep-id 2 trigger if-down
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >