< Home

oam-bind interface cfm md ma trigger if-down

Function

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

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

By default, an interface and Ethernet CFM are not configured to report faults to each other.

Format

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

undo oam-bind interface interface-type interface-number 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 interface cfm md ma trigger if-down command.

Precautions

Before configuring CFM and an interface to report faults to each other, pay attention to the following points:

  • 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 monitored by CFM. If CFM is associated with a physical interface monitored by itself, 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 directions of fault transmission.

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

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

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