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

S7700 and S9700 V200R011C10

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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


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.

Verifying the Configuration

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

Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 299604

Downloads: 141

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