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.
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
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.
|
- |
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:
Select the preceding commands in different scenarios according to Table 1.
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):
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):
|
Faults need to be transmitted unidirectionally between Ethernet CFM and an interface. | Select either of the following commands based on the transmission direction:
|
None |