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.
After the aging time of MAC address entries is configured, the dynamic MAC address entries are automatically deleted if the aging time expires.
system-view
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.