Operation Manual –
MAC
Address
Forwarding
Table
Quidway S3100 Series Ethernet Switches
Chapter 1 MAC Address Table Management
Huawei Technologies Proprietary
1-4
Note:
z
The total number of static MAC addresses and blackhole MAC addresses that can
be configured for a switch is 1,024.
z
The number of static MAC addresses and blackhole MAC addresses depends on
the maximum number of MAC address entries configured for a switch. For S3100
series switches, the maximum number of MAC addresses entries is 8,192.
1.2 MAC Address Table Management
The configuration to manage a MAC address table includes:
z
Configuring a MAC Address Entry and the Aging Time
z
Setting the Maximum Number of MAC Addresses a Port can Learn
1.2.1 Configuring a MAC Address Entry and the Aging Time
You can add, modify, or remove one MAC address entry, remove all MAC address
entries concerning a specific port (unicast MAC addresses only), or remove specific
type of MAC address entries (such as dynamic or static MAC address entries).
Table 1-2
Configure a MAC address entry
Operation
Command
Description
Enter system view
system-view
—
Add/modify a MAC
address entry
mac
-
address
{
static
|
dynamic
|
blackhole
}
mac
-
address
interface
interface
-
type
interface-number
vlan
vlan
-
id
Required
Set the aging time
for dynamic MAC
address entries
mac
-
address timer
{
aging
seconds
|
no
-
aging
}
Optional
The default aging time is 300
seconds.
The
no-aging
keyword
specifies that dynamic MAC
address entries do not age
out.
1.2.2 Setting the Maximum Number of MAC Addresses a Port can Learn
A MAC address table too big in size may decrease the forwarding performance of the
switch. By setting the maximum number of MAC addresses each port can learn, you