Day 2: Interfaces and Cables

Interfaces and Cables

Overview

Switches provide multiple ports for device connectivity—typically 24 ports on a standard switch.

These ports are RJ-45 (Registered Jack) connectors, the standard connection point for network devices.

 


 

Ethernet: The Standard

What is Ethernet?

Ethernet is a collection of standardized network protocols and hardware specifications that define how devices communicate over wired networks.

Why Standards Matter

Network protocols and standards serve two critical purposes:

  1. Communication standards — Enable devices from different manufacturers to communicate reliably

  2. Hardware standards — Ensure physical compatibility between devices and cables

Speed and Measurement

Connections between devices operate at specific speeds, measured in bits per second (bps).

Speed Conversions:

Unit

Bits

1 kilobit (Kb)

1,000

1 megabit (Mb)

1,000,000

1 gigabit (Gb)

1,000,000,000

1 terabit (Tb)

1,000,000,000,000

Ethernet Standards

 


 

Copper Ethernet Cables (UTP)

Ethernet Standards by Speed

Speed

Common Name

Standard

Cable Type

Max Distance

10 Mbps

Ethernet

802.3i

10BASE-T

100m

100 Mbps

Fast Ethernet

802.3u

100BASE-T

100m

1 Gbps

Gigabit Ethernet

802.3ab

1000BASE-T

100m

10 Gbps

10 Gigabit Ethernet

802.3an

10GBASE-T

100m

Notation:

UTP Cables (Unshielded Twisted Pair)

What it is:

Why twist the wires?

Wire Count by Speed:

 


 

Cable Pinout and Device Communication

RJ-45 Connector Pin Layout

An RJ-45 plug has 8 pins numbered 1–8 at each end of the cable.

Devices use specific pins to transmit (TX) and receive (RX) data:

Device Type

TX Pins

RX Pins

Router

1, 2

3, 6

Firewall

1, 2

3, 6

PC

1, 2

3, 6

Switch

3, 6

1, 2

Full-Duplex Transmission

The pin arrangement enables full-duplex communication—devices can transmit and receive simultaneously because they use different pin pairs.

 


 

Cable Types: Straight-Through vs. Crossover

Straight-Through Cables

When to use:

Why it works:

Crossover Cables

When to use:

How it works:

Crossover Pin Mapping:

End A → End B

PIN 1 → PIN 3

PIN 2 → PIN 6

PIN 3 → PIN 1

PIN 6 → PIN 2


Auto MDI-X

Modern equipment simplifies this:

 


 

Fiber-Optic Cables

When to Use Fiber

Fiber-optic cables are used for high-speed, long-distance connections between network devices.

Standard: IEEE 802.3ae (and 802.3z for 1 Gbps)

SFP Transceiver

SFP (Small Form-Factor Pluggable):

Fiber Cable Structure

A fiber-optic cable has 4 main components:

  1. Core (glass or plastic)

  2. Cladding (surrounds and protects core)

  3. Buffer (protective layer)

  4. Jacket (outer protective sheath)

Two Types of Fiber

Single-Mode Fiber

Characteristics:

Use case: Long-distance backbone connections between buildings or data centers

Multimode Fiber

Characteristics:

Use case: Medium-distance connections within a data center or building

Fiber-Optic Standards

Standard

Speed

Mode

Max Distance

1000BASE-LX

1 Gbps

Multimode / Single

550m (MM) / 5km (SM)

10GBASE-SR

10 Gbps

Multimode

400m

10GBASE-LR

10 Gbps

Single

10km

10GBASE-ER

10 Gbps

Single

30km

 


 

UTP vs. Fiber-Optic: Comparison

UTP (Unshielded Twisted Pair)

Advantages:

Disadvantages:

Fiber-Optic

Advantages:

Disadvantages:

 


 

Quick Reference: When to Use What

Situation

Media

Reason

PC to Switch (same building)

UTP

Cost-effective, sufficient distance

Switch to Switch (same building)

UTP or Fiber

UTP for short runs; Fiber for long runs or security

Router to Router (different buildings)

Fiber

Longer distances, EMI immunity

Data center backbone

Fiber

Long distances, high throughput, security

Home/office network

UTP

Cost, simplicity, Auto MDI-X


Revision #2
Created 2026-03-14 19:10:17 UTC by Tony Utter
Updated 2026-09-16 04:54:12 UTC by Tony Utter