< Home

Configuring the Aging Time of a MAC Address Table

After the network topology changes, dynamic MAC address entries are not automatically updated in time. As a result, a device cannot learn new MAC addresses and thus user traffic cannot be normally forwarded. To address this problem, you need to configure the aging time of MAC address entries.

Context

After the aging time of MAC address entries is configured, the dynamic MAC address entries are automatically deleted if the aging time expires.

Procedure

  1. Access the system view.

    system-view

  2. Set the aging time of a MAC address table.

    mac-address aging-time seconds [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ]

    In a MAC address table, only dynamic entries age.

    The aging time 0 means that no MAC address entry is aged.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >