< Home

oam-bind ingress interface egress cfm md ma trigger if-down

Function

The oam-bind ingress interface egress cfm md ma trigger if-down command configures an interface to report faults to Ethernet CFM.

The undo oam-bind ingress interface egress cfm md ma trigger if-down command cancels the configuration.

By default, an interface is not configured to report faults to Ethernet CFM.

Format

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

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

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-
md md-name

Specifies the name of an MD.

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

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

ma ma-name

Specifies the name of an MA.

The value is a string of 1 to 43 case-sensitive 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.

if-down

Indicates that the OAM management module notifies Ethernet CFM of the fault and Ethernet CFM notifies the remote end of the fault when an interface goes Down.

-

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To associate an interface with CFM, run the oam-bind ingress interface egress cfm md ma trigger if-down command.

Precautions

If CFM is associated with an interface on a device and a device interface goes Down, the OAM management module notifies Ethernet CFM of the fault and Ethernet CFM notifies the remote end of the fault.

Prerequisites

Unidirectional fault transmission from an interface to Ethernet CFM can be configured only when the following requirements are met:

  • The MD and MA related to the Ethernet CFM module must have been created.

  • The binding between an Ethernet CFM module and an interface is one-to-one. That is, when an Ethernet CFM module is bound to an interface, the Ethernet CFM module cannot be bound to other interfaces.

  • A physical interface associated with CFM cannot be the one that CFM monitors. If CFM is associated with a physical interface that it monitors, the link is locked.

Configure unidirectional or bidirectional fault transmission between Ethernet CFM and an interface. You may use the following commands when associating Ethernet CFM with an interface:

  • oam-bind cfm md ma trigger if-down interface
  • oam-bind interface cfm md ma trigger if-down
  • oam-bind ingress cfm md ma egress interface
  • oam-bind ingress interface egress cfm md ma trigger if-down

Select the preceding commands in different scenarios according to Table 1.

Table 1 Association between Ethernet CFM and an interface

Scenario

Configuration Solution 1

Configuration Solution 2

Faults need to be transmitted bidirectionally between Ethernet CFM and an interface.

Select either of the following commands (the two commands have the same function):

  • If you prefer to specify the MD and MA before the interface, use the oam-bind cfm md ma trigger if-down interface command.

  • If you prefer to specify the interface before the MD and MA, use the oam-bind interface cfm md ma trigger if-down command.

NOTE:

After configuring Ethernet CFM and an interface to report faults to each other, run the display current-configuration command to check the configuration. The command output displays the oam-bind ingress cfm md ma egress interface and oam-bind ingress interface egress cfm md ma trigger if-down commands, but does not display the oam-bind cfm md ma trigger if-down interface or oam-bind interface cfm md ma trigger if-down command. The displayed commands configure reverse transmission directions of fault information.

Run the following commands at a random order (each command configures fault transmission in a single direction):

  • oam-bind ingress cfm md ma egress interface

  • oam-bind ingress interface egress cfm md ma trigger if-down

Faults need to be transmitted unidirectionally between Ethernet CFM and an interface.

Select either of the following commands based on the transmission direction:

  • To configure Ethernet CFM to report faults to an interface, use the oam-bind ingress cfm md ma egress interface command.

  • To configure an interface to report faults to Ethernet CFM, use the oam-bind ingress interface egress cfm md ma trigger if-down command.

None

Example

# Configure Ethernet CFM to report faults to the GigabitEthernet0/0/1.

<HUAWEI> system-view
[HUAWEI] oam-mgr
[HUAWEI-oam-mgr] oam-bind ingress interface gigabitethernet 0/0/1 egress cfm md md1 ma ma1 trigger if-down
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >