The mpls l2vpn multi-homing trigger cfm command associates CFM with an AC interface's blocked state.
The undo mpls l2vpn multi-homing trigger cfm command restores the default configuration.
By default, CFM is not associated with any AC interface's blocked state.
Usage Scenario
In VPLS multi-homing scenarios, CFM is generally deployed between a CE and a PE. If the PE's AC interface is blocked, the CE cannot detect the blocked state and continues sending traffic to the PE, causing a waste of forwarding resources. To associate CFM with the AC interface's blocked state, run the mpls l2vpn multi-homing trigger cfm command on the PE. If the PE's AC interface is blocked, it sends CCMs carrying the blocked state to the CE. Upon receipt, the CE with the cfm md md-name ma ma-name trigger clear-arp command will clear the ARP entries learned from the PE, saving forwarding resources.
Prerequisites
Precautions
In VPLS multi-homing scenarios, CFM applies only to sub-interfaces. Therefore, you must run the mpls l2vpn multi-homing trigger cfm command on sub-interfaces.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] pwsignal bgp multi-homing [*HUAWEI-vsi-vsi1-bgp] route-distinguisher 192.168.1.1:1 [*HUAWEI-vsi-vsi1-bgp] site name company1 [*HUAWEI-vsi-vsi1-bgp-site-company1] site-id 20 [*HUAWEI-vsi-vsi1-bgp-site-company1] quit [*HUAWEI-vsi-vsi1-bgp] quit [*HUAWEI-vsi-vsi1] quit [*HUAWEI] interface GigabitEthernet 0/1/0.1 [*HUAWEI-GigabitEthernet0/1/0.1] l2 binding vsi multi-homing-site company1 [*HUAWEI-GigabitEthernet0/1/0.1] mpls l2vpn multi-homing trigger cfm md md1 ma ma1