7-2
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
OL-6392-01
Chapter 7 Configuring Bridging Parameters and ARP Inspection
Customizing the MAC Address Table
Note For multiple context mode, you can limit the maximum number of mac address table entries in the
context class. See the “Configuring a Class” section on page 5-14 for more information.
Adding a Static MAC Address
Normally, MAC addresses are added to the MAC address table dynamically as traffic from a particular
MAC address enters an interface. You can add static MAC addresses to the MAC address table if desired.
To add a static MAC address to the MAC address table, enter the following command:
FWSM/contexta(config)# mac-address-table static
interface_name mac_address
The interface_name is the source interface.
Setting the MAC Address Timeout
The default timeout value for dynamic MAC address table entries is 5 minutes, but you can change the
timeout.
To change the timeout, enter the following command:
FWSM/contexta(config)# mac-address-table aging-time
timeout_value
The timeout_value (in minutes) is between 5 and 720 (12 hours). 5 minutes is the default.
Disabling MAC Address Learning
By default, each interface automatically learns the MAC addresses of entering traffic, and the FWSM
adds corresponding entries to the MAC address table. You can disable MAC address learning if desired.
To disable MAC address learning, enter the following command:
FWSM/contexta(config)# mac-learn
interface_name
disable
The no form of this command reenables MAC address learning.