Accton Technology ES4626 Switch User Manual


 
126
ports; when the destination MAC address in a unicast frame is not found in the MAC
table, the switch will broadcast the unicast frame. When VLANs are configured, the
switch will forward unicast frame within the same VLAN. If the destination MAC
address is found in the MAC table but belonging to different VLANs, the switch can
only broadcast the unicast frame in the VLAN it belongs to.
4.2 MAC Table Configuration
4.2.1 mac-address-table aging-time
Command: mac-address-table static <mac-addr> interface <interface-name>
vlan <vlan-id > no mac-address-table [<mac-addr>] [interface
<interface-name>] [vlan <vlan-id>] [static| dynamic]
Function: Set the aging time for address mapping entries in the MAC table dynamically
learnt; the “no mac-address-table aging-time” command restores the aging time to the
default 300 seconds.
Parameter: < age> is the aging time in seconds, the valid range is 10 to 100000; 0 for no
aging.
Command mode: Global Mode
Default: The system default aging time is 300 seconds.
Usage Guide: Too short aging time results in many unnecessary broadcasts and causing
performance degradation; too long aging time will leave some obsolete entries occupying
the space of MAC table. For this reason, the user should set a reasonable aging time
according to the production conditions.
If the aging time is set to 0, addresses dynamically learned by the switch will not age in
time, the addresses learned will be kept in the MAC table permanently.
Example: Set the aging time for dynamically learned entries in the MAC table to 400
seconds.
Switch(Config)#mac-address-table aging-time 400
4.2.2 mac-address-table static
Command: mac-address-table static address <mac-addr> vlan <vlan-id> interface
<interface-name>
no mac-address-table [{static | dynamic} [address <mac-addr>] [vlan
<vlan-id>] [interface <interface-name>] ]