mpls l2vpn multi-homing trigger efm

Function

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.

Format

mpls l2vpn multi-homing trigger efm

undo mpls l2vpn multi-homing trigger efm

Parameters

None

Views

100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, FlexE interface view, GE optical interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

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

  • A multi-homing site has been bound to an AC interface using the l2 binding vsi multi-homing-site command.
  • EFM has been enabled using the efm enable (interface view) command.

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.

Example

# Associate EFM with the blocked state of the AC interface GE 0/1/0.
<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
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >