The cfm trigger if-link-down command associates Ethernet CFM with an interface's protocol Down.
The undo cfm trigger if-link-down command restores the default configuration.
By default, Ethernet CFM is not associated with an interface's link layer.
Parameter | Description | Value |
---|---|---|
ma ma-name | Specifies the name of an MA. Different MAs in an MD cannot have the same name. |
The value is a string of 1 to 43 case-sensitive characters, hyphens (-), and question marks (?) not supported. The total length of the MA and MD names must be less than 44 characters. The character string can contain spaces if it is enclosed in double quotation marks ("). |
remote-mep | Specifies the ID of an RMEP. |
- |
mep-id mep-id | Specifies the ID of an RMEP. |
The value is an integer ranging from 1 to 8191. |
md md-name | Specifies the name of an MD. |
Each MD on a device must have a unique name.The value is a string of 1 to 43 case-sensitive characters, hyphens (-) and question marks (?) not supported. The character string can contain spaces if it is enclosed in double quotation marks ("). |
Layer 2 100GE interface view, 100ge sub-interface view, 100GE interface view, Layer 2 10GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE-L2 view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE-L2 view, 400GE sub-interface view, 400GE interface view, Layer 2 40GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, Layer 2 50GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE Layer 2 sub-interface view, Layer 2 GE interface view, GE optical interface view, GE sub-interface view, GE electrical interface view, Global-VE layer2 subinterface view, Global VE sub-interface view, VE layer2 subinterface view, VE sub-interface view, Layer 2 sub-interface view
Usage Scenario
After the cfm trigger if-link-down command is run to associate Ethernet CFM with an interface's Down, the OAM module disables the interface's link layer if the MEP in a specified MA detects a fault between itself and the RMEP. This triggers a rapid service traffic switchover.
If CFM goes Down, the associated member interface goes Down and service traffic except CFM traffic is blocked. CFM detection continues. If the link is restored, the member interface state changes to Up.Precautions
<HUAWEI> system-view [~HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma1 [*HUAWEI-md-md1-ma-ma1] mep mep-id 3 interface GigabitEthernet0/1/3 outward [*HUAWEI-md-md1-ma-ma1] mep ccm-send enable [*HUAWEI-md-md1-ma-ma1] remote-mep mep-id 4 [*HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive enable [*HUAWEI-md-md1-ma-ma1] commit [~HUAWEI-md-md1-ma-ma1] quit [~HUAWEI-md-md1] quit [~HUAWEI] interface GigabitEthernet0/1/3 [~HUAWEI-GigabitEthernet0/1/3] cfm md md1 ma ma1 remote-mep mep-id 4 trigger if-link-down