Operation Manual - System Management
Quidway S3000-EI Series Ethernet Switches
Chapter 2 MAC Address Table Management
Huawei Technologies Proprietary
2-2
The Ethernet switch also provides the function of MAC address aging. If the switch
receives no packet for a period of time, it will delete the related entry from the MAC
address table. However, this function takes no effect on the static MAC addresses.
You can configure (add or modify) the MAC address entries manually according to the
actual networking environment. The entries can be static ones or dynamic ones.
2.2 MAC Address Table Configuration
MAC address table management includes:
z
Set MAC Address Table Entries
z
Set MAC Address Aging Time
z
Set the Max Count of MAC Address Learned by a Port
2.2.1 Set MAC Address Table Entries
Administrators can manually add, modify, or delete the entries in MAC address table
according to the actual needs. They can also delete all the (unicast) MAC address table
entries related to a specified port or delete a specified type of entries, such as dynamic
entries or static entries.
You can use the following commands to add, modify, or delete the entries in MAC
address table.
Perform the following configuration in system view.
Table 2-1
Set MAC address table entries
Operation
Command
Add/Modify an
address entry
mac-address
{
static
|
dynamic
}
hw-addr interface
{
interface-name | interface-type interface-num
}
vlan
vlan
-
id
Delete an address
entry
undo mac-address
[
static
|
dynamic
] [ [
hw-addr
]
interface
[
interface-name | interface-type interface-num
]
vlan
vlan
-
id
]
When deleting the dynamic address table entries, the learned entries will be deleted
simultaneously.
2.2.2 Set MAC Address Aging Time
The setting of an appropriate aging time can effectively implement the function of MAC
address aging. Too long or too short aging time set by subscribers will cause the
problem that the Ethernet switch broadcasts a great mount of data packets without
MAC addresses, which will affect the switch operation performance.
If aging time is set too long, the Ethernet switch will store a great number of out-of-date
MAC address tables. This will consume MAC address table resources and the switch
will not be able to update MAC address table according to the network change.