240 CHAPTER 13: MAC Address Table Management
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.
MAC Address Table
Configuration
MAC address table management includes:
â– Set MAC Address Table Entries
â– Set MAC Address Aging Time
â– Set the maximum count of MAC addresses learned by a port
Setting 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 entry,
such as dynamic entries or static entries.
You can use the following commands to add, modify, or delete the entries in the
MAC address table.
Perform the following configuration in System View.
Table 259 Set MAC Address Table Entries
When deleting the dynamic address table entries, the learned entries will be
deleted simultaneously.
Setting MAC Address
Aging Time
Setting an appropriate aging time implements MAC address aging. Too long or
too short an aging time set by subscribers will cause the Ethernet switch to flood a
large amount of data packets. This affects the Switch operation performance.
If the aging time is set too long, the 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 the MAC address table according to the
network change.
If the aging time is set too short, the Switch may delete valid MAC address table
entries.
You can use the following commands to set the MAC address aging time for the
system.
Perform the following configuration in System View.
Operation Command
Add/Modify an address entry mac-address { static | dynamic | blackhole
} mac-address interface { interface-name |
interface-type interface-num } vlan vlan-id
Delete an address entry undo mac-address [ { static | dynamic |
blackhole } mac-address interface {
interface-name | interface-type
interface-num } vlan vlan-id ]