< Home

efm trigger mac-renew

Function

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

The undo efm trigger mac-renew command cancels the configuration.

By default, an interface is not enabled to clear the MAC address table.

Format

efm trigger mac-renew

undo efm trigger mac-renew

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, port group view

The efm trigger mac-renew command takes effect only on Layer 2 Ethernet interfaces.

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When you need to configure the device to clear the MAC address table on a physical interface, run the efm trigger mac-renew command.

Precautions

EFM has been enabled globally and on an interface using the efm enable command.

The efm trigger mac-renew and efm trigger if-down commands cannot be used simultaneously on an interface.

Example

# Configure GigabitEthernet0/0/1 to delete the corresponding MAC entry after a fault notification is received.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] efm enable
[HUAWEI-GigabitEthernet0/0/1] efm trigger mac-renew
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >