240
C
13: MAC Address Table Management
HAPTER
MAC Address Table
Configuration
Setting MAC Address
Table Entries
Setting MAC Address
Aging Time
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 management includes:
Set MAC Address Table Entries
■
Set MAC Address Aging Time
■
Set the maximum count of MAC addresses learned by a port
■
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
Operation
Add/Modify an address entry mac-address { static | dynamic | blackhole
Delete an address entry
When deleting the dynamic address table entries, the learned entries will be
deleted simultaneously.
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.
Command
} mac-address interface { interface-name |
interface-type interface-num } vlan vlan-id
undo mac-address [ { static | dynamic |
blackhole } mac-address interface {
interface-name | interface-type
interface-num } vlan vlan-id ]