Managing MAC Address Table
Address Configurations
Configuration Guide
139
Step 2
mac address-table aging-time
aging-time
Set your desired length of address aging time for dynamic address entries.
aging-time:
Set the length of time that a dynamic entry remains in the MAC address table after
the entry is used or updated. The valid values are from10 to 630. When 0 is entered, the Auto
Aging function is disabled. The default value is 300 and we recommend you keep the default
value if you are unsure about settings in your case.
Step 3
end
Return to privileged EXEC mode.
Step 4
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to modify the aging time to 500 seconds. A dynamic
entry remains in the MAC address table for 500 seconds after the entry is used or updated.
Switch#configure
Switch(config)# mac address-table aging-time
500
Switch(config)#show mac address-table aging-time
Aging time is 500 sec.
Switch(config)#end
Switch#copy running-config startup-config
2.2.3 Adding MAC Filtering Address Entries
Follow these steps to add MAC filtering address entries:
Step 1
configure
Enter global configuration mode.
Step 2
mac address-table filtering
mac-addr
vid
vid
Add the filtering address to the VLAN.
mac-addr:
Specify a MAC address to configure the switch to drop packets which include this
MAC address as the source address or destination address. The format is xx:xx:xx:xx:xx:xx, for
example, 00:00:00:00:00:01.
vid:
Specify an existing VLAN in which packets with the specific MAC address are dropped.
Step 3
end
Return to privileged EXEC mode.