Operation Manual - System Management
Quidway S3000-EI Series Ethernet Switches
Chapter 2 MAC Address Table Management
Huawei Technologies Proprietary
2-3
If aging time is set too short, the Ethernet switch may delete valid MAC address table.
You can use the following commands to set the MAC address aging time for the
system.
Perform the following configuration in system view.
Table 2-2
Set the MAC address aging time for the system
Operation
Command
Set the dynamic MAC address aging
time
mac-address timer
{
aging
age
|
no-aging
}
Restore the default MAC address
aging time
undo mac-address timer
aging
In addition, this command takes effect on all the ports. However the address aging only
functions on the dynamic addresses (the learned or configured as age entries by the
user).
By default, the
aging-time
is 300 seconds. With the
no
-
aging
parameter, the command
performs no aging on the MAC address entries.
2.2.3 Set the Max Count of MAC Address Learned by a Port
With the address learning function, an Ethernet switch can learn new MAC addresses.
After received a packet destined some already learned MAC address, the switch will
forward it directly with the hardware, instead of broadcasting. But Too many MAC
address items learned by a port will affect the switch operation performance.
User can control the MAC address items learned by a port through setting the max
count of MAC address learned by a port. If user set the max count value of a port as
count
, the port will not learn new MAC address items when the count of MAC address
items reaches
count
.
You can use the following commands to set the max count of MAC address learned by
a port.
Perform the following configuration in Ethernet port view.
Table 2-3
Set the Max Count of MAC Address Learned by a Port
Operation
Command
Set the Max Count of MAC Address Learned by a
Port
mac-address
max-mac-count count
Restore the default Max Count of MAC Address
Learned by a Port
undo mac-address
max-mac-count
By default, there is no limit to the MAC addresses learned via the Ethernet port.