efm trigger mac-renew

Function

The efm trigger mac-renew command configures the system to clear the MAC address table on a physical interface.

The undo efm trigger mac-renew command disables the system from clearing the MAC address table on a physical interface.

By default, the MAC address table is not cleared on an interface.

Format

efm trigger mac-renew

undo efm trigger mac-renew

Parameters

None

Views

Layer 2 100GE interface view, 100GE interface view, Layer 2 10GE interface view, 10GE interface view, 25GE-L2 view, 25GE interface view, 400GE-L2 view, 400GE interface view, Layer 2 40GE interface view, 40GE interface view, Layer 2 50GE interface view, 50GE interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
efm write

Usage Guidelines

Usage Scenario

To detect faults in a VLL configured on the PE connected to a CE and perform PW switching by clearing the MAC address table, you can run the efm trigger mac-renew command on the relevant interface of the CE.

Prerequisites

EFM OAM has been enabled using the efm enable command in the interface view.

Precautions

Both the efm trigger mac-renew and efm trigger if-down commands cannot be configured on the same interface.

Example

# Configure the system to clear the MAC address table after GE 0/1/0 receives a fault notification.
<HUAWEI> system-view
[*HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] efm enable
[*HUAWEI-GigabitEthernet0/1/0] efm trigger mac-renew
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >