mac-address queue-emptying

Function

The mac-address queue-emptying disable command disables a device from emptying a MAC address queue. A device cannot learn MAC addresses when emptying a MAC address queue. After a device is disabled from emptying a MAC address queue, the device can learn MAC addresses and at the same time delete MAC address entries.

The undo mac-address queue-emptying disable command restores the default configuration.

By default, a device is enabled to empty a MAC address queue.

Format

mac-address queue-emptying disable

undo mac-address queue-emptying disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mac write

Usage Guidelines

Usage Scenario

When MAC address entries are deleted automatically through associating with other modules or deleted manually, a device empties the MAC address queue by default. During the emptying process, the device cannot learn new MAC addresses. To allow the device to learn new MAC addresses and at the same time delete unneeded MAC addresses, run the mac-address queue-emptying disable command.

After a device is disabled from emptying a MAC address queue, the MAC addresses in the queue may fail to be deleted. To allow a device to delete the dynamic MAC address entries, run the reset mac-address command on the device.

Example

# enable a device from emptying a MAC address queue.
<HUAWEI> system-view
[~HUAWEI] undo mac-address queue-emptying disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >