Pcornel
Networking · Network Devices › Layer 3 Switch

Switching

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

Back to the Topic

Answer

A Layer 3 switch still performs Layer 2 switching within each VLAN, learning MACs and forwarding frames, and only routes traffic that leaves the VLAN.

Remember

  • Layer 3 switches switch frames within a VLAN in hardware.
  • MAC tables and VLANs work as on any Layer 2 switch.
  • Switching and routing share the same ASICs.

First checks

  • show mac address-table — L2 switching
  • show vlan brief — VLANs

Commands

ip address
ip routing

Verify in this order

frame within VLAN → MAC lookup → forward

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

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

Confirmation

Confirm action

Continue?