mac
Commands for MAC Address Table Configuration
207
name for forwarding the MAC packets; <vlan-id> VLAN ID.
Command mode: Admin mode.
Usage Guide: Delete all dynamic address entries which exist in MAC address table,
except application, system entries. MAC address entries can be classified according to
different sources, the types are as follows: DYNAMIC, STATIC, APPLICATION, SYSTEM.
DYNAMIC is the dynamic MAC address entries learned by switch, it can be aged by
switch automatically.
Example: Delete all dynamic MAC.
Switch#clear mac-address-table dynamic
16.1.4 mac-address-learning cpu-control
Command: mac-address-learning cpu-control
no mac-address-learning cpu-control
Function: Enable MAC learning through CPU control, the no command restores that the
chip automatically learn MAC address.
Parameter: None.
Command Mode: Global mode.
Default: Chip automatically learn MAC address.
Usage Guide: If enable port-security, private-vlan, mac-notification, mac-limit, etc., it
should enable MAC learning through CPU first.
Example: Enable MAC learning through CPU.
Switch(Config)#mac-address-learning cpu-control
16.1.5 mac-address-table aging-time
Command: mac-address-table aging-time <0 | aging-time>
no mac-address-table aging-time
Function: Sets the aging-time for the dynamic entries of MAC address table.
Parameter: <aging-time> is the aging-time seconds, range from 10 to 1000000; 0 to
disable aging.
Command Mode: Global Mode.
Default: Default aging-time is 300 seconds.
Usage Guide: If no destination address of the packets is same with the address entry in
aging-time, the address entry will get aged. The user had better set the aging-time
according to the network condition, it usually use the default value.
Example: Set the aging-time to 600 seconds.
Switch(config)#mac-address-table aging-time 600










