🔔If you experience any difficulties before or after finalizing your order, please reach out to us through email at support@ciscoforall.com

Network Switch Basics: MAC Learning, VLANs and Forwarding

in Cisco Certification Guides

A network switch connects devices in a LAN and forwards Ethernet frames based on MAC addresses. Modern switches can also support VLANs, security, monitoring, and Layer 3 routing features.

How a Layer 2 Switch Works

  1. The switch reads the source MAC address of an incoming frame.
  2. It learns that address on the incoming interface and VLAN.
  3. It looks up the destination MAC address.
  4. It forwards a known unicast frame to the matching port.
  5. It floods broadcasts and unknown unicasts only within the relevant VLAN, except the incoming port.

Collision and Broadcast Domains

Each switched Ethernet port is a separate collision domain. A VLAN defines a Layer 2 broadcast domain. Creating additional VLANs separates broadcasts, but communication between them requires Layer 3 routing.

Switch Interfaces

  • Access port: connects an end device to one access VLAN.
  • Trunk port: carries multiple VLANs using 802.1Q tagging.
  • Routed port: operates as a Layer 3 interface on supported switches.
  • SVI: a logical VLAN interface used for management or routing.

Management Access

Console access is useful for initial setup and recovery. Remote administration should normally use SSH rather than Telnet. Standard serial console settings commonly include 9600 bits per second, but always follow the platform guide.

Useful Commands

  • show interfaces status
  • show mac address-table
  • show vlan brief
  • show interfaces trunk
  • show spanning-tree

Continue Your CCNA Preparation

Try our CCNA switching practice questions. For structured practice, see the CCNA 200-301 Premium PDF with the latest available questions and answers.

CiscoForAll provides independent study and practice material. Always use official Cisco documentation as a primary preparation source.

Cart (0)

  • Your cart is empty.