< Home

oam-bind cfm md ma trigger if-down interface

Function

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

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

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

Format

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

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

Parameters

Parameter Description Value
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 an interface goes Down when Ethernet CFM on the interface detects a fault. -
interface-type interface-number Specifies the type and number of the interface bound to CFM.
  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To associate CFM with an interface, run the oam-bind cfm md ma trigger if-down interface 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 transmission of fault information 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

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

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