The cfm trigger if-down command associates Ethernet CFM with an interface.
The undo cfm trigger if-down command disassociates Ethernet CFM from an interface.
By default, an interface is not associated with Ethernet CFM.
cfm md md-name ma ma-name remote-mep mep-id mep-id trigger if-down
undo cfm md md-name ma ma-name remote-mep mep-id mep-id trigger if-down
Parameter |
Description |
Value |
---|---|---|
md md-name |
Specifies the name of an MD in an MA. |
The value is a string of 1 to 43 case-sensitive characters without spaces, hyphens (-), and question marks (?). |
ma ma-name |
Specifies the name of an MA. |
The value is a string of 1 to 43 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. |
remote-mep mep-id mep-id |
Specifies ID of an RMEP. |
The value is an integer that ranges from 1 to 8191. |
Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view, port group view
Usage Scenario
CFM can be associated with interfaces. On a scenario with active and standby links, when CFM detects a fault on the active link, the OAM management module shuts down the interface and enables the interface 7 seconds later. This speeds up route convergence. In addition, traffic can be fast switched to the standby link.
Precautions
An interface can be bound to only one RMEP. To modify the association between the interface and the RMEP, delete the current configuration and then configure the new association.
Prerequisites
An outward-facing MEP has been created in the specified MA and the MEP has been created on the interface.