No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting the Aging Time of Dynamic MAC Address Entries

Setting the Aging Time of Dynamic MAC Address Entries


To prevent explosive increase of MAC address entries, set the aging time for dynamic MAC address entries.

Because the network topology changes frequently, the switch will learn more and more MAC addresses. Therefore, the aging time needs to be set properly for dynamic MAC address entries so that the switch can delete unneeded MAC address entries to prevent a sharp increase of MAC address entries. A shorter aging time makes the switch more sensitive to network changes and is applicable to networks where network topology changes frequently. A longer aging time makes the switch more insensitive to network changes and is only applicable to stable networks.


  1. Run system-view

    The system view is displayed.

  2. Run mac-address aging-time aging-time

    The aging time is set for dynamic MAC address entries.

    The aging time is 0 or an integer that ranges from 60 to 1000000, in seconds. The default value is 300. The value 0 indicates that dynamic MAC address entries will not be aged out.


    When the aging time is 0, MAC address entries can be fixed. To clear the fixed MAC address entries, set the aging time to a non-0 value. The system then deletes fixed MAC address entries after twice the aging time.

  3. Run commit

    The configuration is committed.

Verifying the Configuration

Run the display mac-address aging-time command to view the aging time of dynamic MAC address entries.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 127306

Downloads: 296

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next