🔌

Understanding Switch Interfaces in Networking

May 15, 2025

CCNA Lecture: Switch Interfaces

Introduction

  • Free course by Jeremy’s IT Lab for CCNA certification.
  • Importance of subscribing, liking, commenting, and using Anki flashcards.
  • Focus of the video: Switch interfaces, differing from router interfaces.

Key Topics Covered

  1. Interface Speed and Duplex

    • Speed: Data rate in bits/sec (10, 100, 1000 Mbps).
    • Duplex: Ability to send/receive simultaneously (Full vs. Half).
  2. Autonegotiation

    • Allows devices to negotiate speed and duplex settings.
  3. Interface Status

    • Checking Layer 1 and Layer 2 status using commands.
  4. Interface Counters and Errors

    • Cisco devices track traffic statistics and errors.

Differences Between Routers and Switches

  • Router interfaces default to administratively down; need shutdown command to enable.
  • Switch interfaces default to up/up if connected; down/down if not.
  • Layer 2 switchports don’t need IP addresses (covered in future lessons).

Network Topology

  • Single LAN: 192.168.1.0/24 with 1 router, 2 switches, 4 PCs.
  • Focus on configuring SW1's interfaces.

Commands and Configuration

  • Show Commands:
    • show ip interface brief: Displays Layer 1 and 2 status.
    • show interfaces status: Shows interface details like status, VLAN, duplex, speed, type.
  • Configuration Examples:
    • Set speed and duplex manually if autonegotiation fails.
    • Use interface range to configure multiple ports simultaneously.
    • Disabled interfaces for security using shutdown.

Full vs. Half Duplex

  • Full Duplex:
    • Allows simultaneous send/receive.
    • Preferred in modern networks with switches.
  • Half Duplex:
    • One-way communication at a time.
    • Used in older networks with hubs.

Autonegotiation Details

  • Speed and Duplex:
    • Default settings: speed auto, duplex auto.
    • Devices advertise capabilities and negotiate settings.
    • Without autonegotiation, mismatch can occur leading to collisions.

Common Interface Errors

  • Counters for Errors:
    • Runts: Frames < 64 bytes.
    • Giants: Frames > 1518 bytes.
    • CRC errors: Failed CRC check.
    • Input errors: Various errors detected.
    • Output errors: Failed frame transmissions.

Quiz Summary

  • Question 1: Duplex mismatch results in collisions.
  • Question 2: CSMA/CD used for collision detection/avoidance in half-duplex.
  • Question 3: show interfaces command shows error counters.
  • Question 4: Runts, Giants, CRC are interface errors.
  • Question 5: Duplex mismatch occurs when only one side autonegotiates speed.

Conclusion

  • Use Anki flashcards and packet tracer labs for practice.
  • Importance of staying engaged with content and community support.