oam-bind cfm trigger if-down

Function

The oam-bind cfm trigger if-down command configures fault message transmission between Ethernet connectivity fault management (CFM) and its bound interface.

The undo oam-bind cfm trigger if-down command cancels fault message transmission between Ethernet CFM and its bound interface.

By default, no fault messages are transmitted between Ethernet CFM and its bound interface.

Format

oam-bind ingress cfm md md-name ma ma-name trigger if-down egress interface { interface-name | interface-type interface-number }

oam-bind ingress interface { interface-name | interface-type interface-number } egress cfm md md-name ma ma-name trigger if-down

oam-bind cfm md md-name ma ma-name trigger if-down interface { interface-name | interface-type interface-number }

oam-bind interface { interface-name | interface-type interface-number } cfm md md-name ma ma-name trigger if-down

undo oam-bind ingress cfm md md-name ma ma-name trigger if-down egress interface { interface-name | interface-type interface-number }

undo oam-bind ingress interface { interface-name | interface-type interface-number } egress cfm md md-name ma ma-name trigger if-down

undo oam-bind cfm md md-name ma ma-name trigger if-down interface { interface-name | interface-type interface-number }

undo oam-bind interface { interface-name | interface-type interface-number } cfm md md-name ma ma-name 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 case-sensitive characters, spaces not supported.

egress

Indicates the egress transmission.

-

interface interface-type interface-number

Specifies the type and number of an interface.

-

ingress

Indicates the ingress transmission.

-

md md-name

Specifies the name of an MD.

The value is a string of 1 to 43 case-sensitive characters, spaces not supported.

Views

OAM management view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
oammgr write

Usage Guidelines

Usage Scenario

On the network Ethernet CFM is deployed between the PEs. If a fault occurs on the link between the PEs, a CE needs to detect the fault. Additionally, if a fault occurs between a PE and CE, the PE needs to notify the remote PE of the fault to ensure reliable service transmission. To meet the needs, deploy fault message transmission between Ethernet CFM and its bound interface on a PE. Table 1 describes configurations for fault message transmission between Ethernet CFM and its bound interface.

Prerequisites

An MD and MA have been created.

  • cfm enable (system view)
  • cfm md
  • ma

Precautions

After you configure fault message transmission between Ethernet CFM and its bound interface:

  • Disabling Ethernet CFM cancels fault message transmission between Ethernet CFM and its bound interface.
  • Deleting the specified MA or MD cancels fault message transmission between Ethernet CFM and its bound interface.

Example

# Configure GigabitEthernet 0/1/17 bound with Ethernet CFM to transmit fault messages to Ethernet CFM.
<HUAWEI> system-view
[~HUAWEI] cfm enable
[*HUAWEI] cfm md md1
[*HUAWEI] ma ma1
[*HUAWEI] oam-mgr
[*HUAWEI-oam-mgr] oam-bind ingress interface GigabitEthernet0/1/17 egress cfm md md1 ma ma1 trigger if-down
# Configure Ethernet CFM to transmit fault messages to its bound interface GigabitEthernet 0/1/17.
<HUAWEI> system-view
[~HUAWEI] cfm enable
[*HUAWEI] cfm md md1
[*HUAWEI] ma ma1
[*HUAWEI] oam-mgr
[*HUAWEI-oam-mgr] oam-bind ingress cfm md md1 ma ma1 trigger if-down egress interface GigabitEthernet0/1/17
# Configure bidirectional fault message transmission between Ethernet CFM and its bound interface GigabitEthernet 0/1/17.
<HUAWEI> system-view
[~HUAWEI] cfm enable
[*HUAWEI] cfm md md1
[*HUAWEI] ma ma1
[*HUAWEI] oam-mgr
[*HUAWEI-oam-mgr] oam-bind cfm md md1 ma ma1 trigger if-down interface GigabitEthernet0/1/17
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >