The mpls l2vpn multi-homing trigger efm command associates EFM with an AC interface's blocked state.
The undo mpls l2vpn multi-homing trigger efm command restores the default configuration.
By default, EFM is not associated with an AC interface's blocked state.
Usage Scenario
In VPLS multi-homing scenarios, EFM 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 EFM with the AC interface's blocked state, run the mpls l2vpn multi-homing trigger efm command on the PE. If the PE's AC interface is blocked, it sends EFM OAM packets carrying the blocked state to the CE. Upon receipt, the CE sets the protocol status of the EFM interface Down so that it will no longer send traffic to the blocked AC interface, saving forwarding resources.
Prerequisites
Precautions
In VPLS multi-homing scenarios, EFM applies only to main interfaces. Therefore, you must run the mpls l2vpn multi-homing trigger efm command on main 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 [*HUAWEI-GigabitEthernet0/1/0] l2 binding vsi multi-homing-site company1 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn multi-homing trigger efm