Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Filtering · Frame Forwarding

Direct answer

Filtering means a switch does not forward a frame out of a port: never out of the port it arrived on, and not out of other ports when the destination MAC is known on a different port.

When to use this

Use it to explain why a host does not see other hosts' unicast traffic, or why traffic to a host on the same port as the sender is dropped.

First 30 seconds

1. show mac address-table address <dest-mac> — learned on which port?

2. Same port as the source → frame filtered (expected).

3. Different port but not delivered → check port ACLs, private VLAN or protected port.

4. show port-security interface <if> — violations?

5. Capture with SPAN if needed.

Operational verification

frame arrives → source MAC learned with VLAN and port → destination looked up → known: forwarded out one port; unknown: flooded in the VLAN → entry refreshed while traffic continues

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common problems
  • Unknown unicast flooding when MAC entries age out.
  • Port security or static MACs filtering legitimate devices.
  • Expecting filtering to provide security — flooded and broadcast frames still reach all ports in the VLAN.
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 address 0011.2233.4455
Scope / prerequisiteUse it to explain why a host does not see other hosts' unicast traffic, or why traffic to a host on the same port as th…
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.

1 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 address 0011.2233.4455
show mac address-table dynamic interface Gi1/0/5

The switch filters (does not forward) a frame when the destination MAC is on the same port it arrived on.

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

If the destination MAC is learned on the same port the frame came in on, the frame is dropped — normal when two hosts sit behind the same hub or unmanaged switch. Port ACLs, private VLANs and port security also filter frames.

Key checks
  • show mac address-table address <mac> — VLAN and port the MAC is learned on.
  • show mac address-table interface <if> — MACs learned on a port.
  • show mac address-table vlan <id> — MACs in a VLAN.
  • show mac address-table count — table usage.
  • show mac address-table aging-time — aging timer.
  • show logging | include MACFLAP — MAC flapping messages.
ReferenceWhat it is1 section · depth on demand

How filtering works

If the destination MAC is known on the same port the frame arrived on (for example two hosts behind a hub or an unmanaged switch), the switch drops it, because the destination already received it on that segment. Frames are also dropped when:

  • the destination port is in a different VLAN,
  • the port is in STP blocking/discarding state,
  • port security or a VLAN ACL rejects the source.
ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

Filtering, table limits and what happens when learning fails

Filtering is the switch's decision not to forward a frame, either because the destination is on the same port it came from or because policy says so. That decision depends on a correct MAC table. Cisco's MATM technote for Catalyst 9000 shows the capacity limits behind it: 32,768 MAC entries on a C9300 and about 82,000 on a C9500H. It recommends checking TCAM utilisation for 95 % or more. When the table is full, the syslog message MATM-3-MAX_ENTRIES appears and no more addresses can be learned.

Filtering decisions

SituationSwitch action
Destination learned on the ingress portFilter (drop); both stations already share that segment
Destination learned on another portForward out of that port only
Destination unknownFlood within the VLAN
Port security, ACL or storm-control violationDrop by policy

When the table is exhausted (technote)

New MACs can't be learned, so traffic to them is flooded. That increases load on every port in the VLAN and can expose traffic to hosts that shouldn't see it. The technote's fixes are to remove the source of the excess learning, for example a loop, or to move to hardware with more capacity.

SW1# show mac address-table count vlan 110
Dynamic Address Count  : 412
Static  Address Count  : 0
Total Mac Addresses    : 412
SW1# show platform hardware fed switch active fwd-asic resource tcam utilization
Table                  Subtype  Dir  Max     Used    %Used
Mac Address Table      EM       I    32768   31455   95.99%
SW1# show logging | include MATM
%MATM-3-MAX_ENTRIES: ...
SW1(config)# interface GigabitEthernet1/0/14
SW1(config-if)# switchport port-security maximum 3
SW1(config-if)# storm-control unicast level 5.00

Protective controls

ControlLimits
Port securityMAC addresses per port
Storm controlFlooded broadcast, multicast or unicast rate
Spanning tree with BPDU guardLoops that cause MAC flapping and table churn
Matching ARP and MAC agingUnnecessary unknown-unicast flooding

If mis-programming persists, the technote recommends collecting show tech-support, tracelogs and MATM debug output, then opening a TAC case.

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.

Why filtering matters

Filtering keeps traffic local: frames between two hosts on the same segment behind an unmanaged switch never cross the uplink. It also means a capture on the uplink will not see that traffic — use SPAN at the right place or capture on the hosts themselves.

Quick reference

Filtering: the switch drops a frame when the destination MAC is learned on the same port it arrived on (both hosts behind the same hub/downstream switch) — no need to forward.

Other "filtering" on switches: VLAN boundaries, ACLs (PACL/VACL), port security violations, and STP blocking state discarding frames.

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 → Frame Forwarding → Filtering. 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?