Pcornel
Networking · Switching › Ethernet Switching › Frame Forwarding

Filtering

Cheat sheet · https://pcornel.dk/topic.php?topic=968

Back to the Topic

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.

Remember

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.

First 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.

Commands

show tech-support

Verify in this order

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

Where it usually breaks

media/optics → administrative state → carrier/line protocol → negotiation → error/drop counters → neighbor discovery → upper-layer adjacency

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=968

Confirmation

Confirm action

Continue?