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.
Filtering · Frame Forwarding
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.
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.
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
- 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.
Operational reference
Fast context before you go deeper.
show mac address-table address 0011.2233.4455Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
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
| Situation | Switch action |
|---|---|
| Destination learned on the ingress port | Filter (drop); both stations already share that segment |
| Destination learned on another port | Forward out of that port only |
| Destination unknown | Flood within the VLAN |
| Port security, ACL or storm-control violation | Drop 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
| Control | Limits |
|---|---|
| Port security | MAC addresses per port |
| Storm control | Flooded broadcast, multicast or unicast rate |
| Spanning tree with BPDU guard | Loops that cause MAC flapping and table churn |
| Matching ARP and MAC aging | Unnecessary 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.
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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%