
Configure Mac Address Aging Timer
Tech Solutions
Overview
This video demonstrates how to configure the MAC address aging timer on a Cisco switch using GNS3. It begins by explaining how to set up a virtual switch router within GNS3, including assigning IP addresses and troubleshooting interface status. The core of the video focuses on the MAC address aging process, explaining its default behavior and how to manually adjust the aging time to clear the MAC address table more quickly or slowly based on network needs. The presenter shows how to set a custom aging time and verifies its effect by observing the MAC address table.
Save this permanently with flashcards, quizzes, and AI chat
Chapters
- GNS3 can be used to simulate network devices, including Cisco switches, by converting routers into switch routers.
- The process involves selecting a compatible router image (e.g., 2691) and configuring its RAM and ports.
- An 'Idle PC' value should be set to prevent excessive CPU usage by the simulated device.
- Default configurations often place all ports in VLAN 1, and specific interfaces (e.g., 1x0 to 1x15) are used for connections.
- Connecting a PC (VPCS) to the switch requires using specific interfaces (e.g., 1x0).
- Assigning an IP address to the switch's VLAN 1 interface (e.g., 192.168.1.1) is necessary for management.
- A common issue is the line protocol remaining down, preventing communication.
- Troubleshooting involves configuring the interface as a switch port (`switchport mode access`, `switchport access vlan 1`) and using the `shutdown`/`no shutdown` sequence.
- Switches learn MAC addresses dynamically and store them in a MAC address table.
- By default, entries in the MAC address table expire (age out) after 300 seconds (5 minutes) if there is no network activity associated with that MAC address.
- This aging process prevents the table from filling up with stale or unused entries.
- The aging timer can be adjusted to be shorter or longer based on network requirements.
- The aging timer can be manually configured on a Cisco switch.
- The command `mac address table aging time <seconds>` is used in global configuration mode.
- The aging time can be set to a minimum of 10 seconds up to a very large value (1,000,000 seconds).
- After changing the timer, observing the MAC address table (`show mac address-table`) confirms the new aging behavior.
Key takeaways
- Virtual network labs using GNS3 are essential for practical network skill development.
- Troubleshooting interface status ('line protocol down') often requires specific switchport configuration and a shutdown/no shutdown cycle.
- MAC address aging is a mechanism for switches to automatically remove inactive entries from their MAC address table.
- The default MAC address aging time on Cisco switches is 5 minutes.
- The MAC address aging timer can be customized to values between 10 seconds and 1,000,000 seconds.
- Adjusting the aging timer impacts how quickly the switch forgets about inactive devices, affecting table size and convergence.
Key terms
Test your understanding
- How can you convert a router into a switch router within GNS3?
- What are the common steps to troubleshoot an interface that shows a 'line protocol down' status?
- What is the purpose of the MAC address aging timer on a switch?
- What is the default aging time for MAC addresses on a Cisco switch, and how can it be changed?
- Why might an administrator choose to decrease or increase the MAC address aging timer?