Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Aging

Direct answer

MAC aging removes dynamic entries that have not been seen for the aging time (300 seconds by default on Catalyst, mac address-table aging-time), keeping the table current.

When to use this

Use it when hosts are flooded to or disappear from the MAC table after a period of silence.

First 30 seconds

1. Dynamic MACs age out after 300 s idle by default.

2. Shorter aging causes more flooding.

3. ARP timeout (4 h) longer than MAC aging causes unknown unicast flooding in asymmetric designs.

4. Tune carefully.

5. Static entries don't age.

Operational verification

idle MAC → aging timer expires → removed → relearn on next frame

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandshow mac address-table aging-time
Scope / prerequisiteUse it when hosts are flooded to or disappear from the MAC table after a period of silence.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Commands Verify boundary
show mac address-table aging-time
mac address-table aging-time 600 vlan 10

Documented example, not captured output.

Step 2 Layered verification and original-test closure Verify boundary

Aging — Observe the entry before and after a controlled idle interval, then send one frame and confirm relearning on the expected interface without excessive MAC moves.

Step 3 Verification & troubleshooting Narrow the fault

1. Confirm ingress VLAN and STP forwarding state.

2. Verify source MAC learning.

3. Inspect destination MAC entry/type/age.

4. Trace trunk VLAN allowance to egress.

Step 4 Observation → implication → next check Narrow the fault

Aging — If a MAC disappears unexpectedly, compare aging timer with actual traffic cadence and look for topology/port changes. If the entry never ages, determine whether it is static/sticky or continuously refreshed.

Step 5 Common mistakes Narrow the fault
  • Very short aging causing extra flooding.
  • Aging longer than ARP timeout in asymmetric designs.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • Source MAC is learned on ingress; destination MAC drives egress selection
  • Known unicast is forwarded to one learned port; unknown unicast and broadcast are flooded within the VLAN
  • A frame received on the learned destination port is filtered
  • Dynamic entries age; static entries remain until removed.
Key checks
  • show mac address-table aging-time — aging timer
  • show mac address-table dynamic — entries present
ReferenceHow it works1 section · depth on demand

Operational mechanics and ownership

Aging — Dynamic MAC entries age out after inactivity so stale endpoint locations do not persist indefinitely. Aging is per learned entry and can differ from static/sticky/control-plane-learned state. The MAC table owns the timer; endpoint silence, topology changes and control-plane mechanisms can all change when entries disappear. An aged-out entry causes flooding until the source is relearned.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Aging removes MAC entries that have not been seen for a while

The Catalyst 9300 guide gives a default aging time of 300 seconds, configured with mac address-table aging-time. The range is 10 to 1,000,000 seconds, and 0 disables aging. The setting can also be applied per VLAN.

C9300# show mac address-table aging-time
Global Aging Time:  300
Vlan    Aging Time
----    ----------
C9300(config)# mac address-table aging-time 14400 vlan 50
C9300# show mac address-table aging-time vlan 50
Vlan    Aging Time
----    ----------
  50     14400

Why the aging time matters

Too shortToo long
More unknown-unicast flooding for quiet hostsStale entries after a host moves, until it sends again
More learning churnTable fills faster in VLANs with many transient hosts

The ARP and MAC aging mismatch

On a routed SVI, the ARP entry lives much longer (IOS default 4 hours) than the MAC entry (300 s). If a host only receives traffic, its MAC entry ages out while the router keeps sending to it using the cached ARP entry. The switch then floods that unicast traffic to every port in the VLAN.

FixCommand
Longer MAC aging in the affected VLANmac address-table aging-time 14400 vlan 50
Shorter ARP timeout on the SVIinterface Vlan50 → arp timeout 300

Keep the MAC aging time at least as long as the ARP timeout in VLANs with routed traffic to quiet hosts.

Topology changes

When STP detects a topology change, Rapid PVST+ and MST flush the affected MAC entries so hosts are relearned on the new path. Frequent topology-change notifications therefore cause flooding. Check show spanning-tree detail | include ieee|occur|from to find their source.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

MAC aging removes entries not seen for the aging time (default 300 seconds).

show mac address-table aging-time
mac address-table aging-time 1800 vlan 20

Short aging + long router ARP cache = unknown unicast flooding on asymmetric paths. Static entries (mac address-table static) never age; sticky secure MACs (port security) persist in the running config.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Switching → Ethernet Switching → MAC Learning → Aging. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?