H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – MAC Address Table
H3C S7500 Series Ethernet Switches Chapter 1 MAC Address Table Management
1-4
Task Remarks
Configuring a MAC Address Entry Required
Setting the Aging Time for MAC Address Entries Optional
Setting the Maximum Number of MAC Addresses a Port can Learn Optional
Disabling MAC Address Learning Optional
Configuring MAC Address Learning Synchronization Between
Board Chips
Optional
Setting the Processing Method for Specific Packets Optional
1.2.2 Configuring a MAC Address Entry
You can add, modify, or remove one MAC address entry, remove all the MAC address
entries (unicast MAC addresses only) concerning a specific port, or remove a specific
type of MAC address entries (dynamic or static).
Follow these steps to add a MAC address entry:
To do… Use the command… Remarks
Enter system view
system-view
Add a MAC
address entry
mac-address { static | dynamic }
mac-address interface interface-type
interface-number vlan vlan-id
Required
Caution:
For a MAC address entry to be added, the port specified by the interface keyword must
belong to the VLAN specified by the vlan keyword in the command. Otherwise, the
entry cannot be added.
1.2.3 Setting the Aging Time for MAC Address Entries
Setting aging time properly helps implement effective MAC address aging. The aging
time that is too long or too short results in a large amount of broadcast packets
wandering across the network and decreases the performance of the switch.
z If the aging time is too long, excessive invalid MAC address entries maintained by
the switch may fill up the MAC address table. This prevents the MAC address
table from varying with network changes in time.