mac-limit since-first-packet

Function

The mac-limit since-first-packet command enables the first packet's MAC address learning of MAC address learning limit on an interface.

The undo mac-limit since-first-packet command disables the first packet's MAC address learning of MAC address learning limit on an interface.

By default, the first packet's MAC address learning of MAC address learning limit is disabled on an interface.

Format

mac-limit since-first-packet

undo mac-limit since-first-packet

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

When MAC address learning limit is configured both on an interface and in a broadcast domain, MAC address learning limit in the broadcast domain takes effect after a delay. As a result, some traffic enters downstream devices for a short time. To resolve the problem, run the mac-limit since-first-packet command to enable the first packet's MAC address learning of MAC address learning limit on an interface. After the configuration, MAC address learning limit in the broadcast domain takes effect immediately.

Example

# Enable the first packet's MAC address learning of MAC address learning limit on an interface.
<HUAWEI> system-view
[~HUAWEI] mac-limit since-first-packet
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >