Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Computer Networks  Module 2 – Switching, performance and the physical layer

Transmission media: copper, fibre and radio

Twisted pair, coax, multimode and single-mode fibre and radio compared by reach, rate and interference, with Ethernet PHY names and port counters decoded.

  • Beginner
  • 25 minutes
  • Examples run with Python 3.14.8 and Pyodide 314.0.7
  • By MySmartCoPilot
Free lesson, Pro answers: 25 minutes
Free: the whole lesson. With a pass: the model answers to its 2 interview questions.

What you will learn

  • Compare twisted pair, coaxial cable, multimode fibre, single-mode fibre and radio by reach, rate and interference
  • Read Ethernet physical-layer names such as 1000BASE-T and 10GBASE-LR
  • Choose the next diagnostic check from interface counter changes

Before you start

What you’ll learn · Before you start

What you will learn

  • Compare twisted pair, coaxial cable, multimode fibre, single-mode fibre and radio by reach, rate and interference
  • Read Ethernet physical-layer names such as 1000BASE-T and 10GBASE-LR
  • Choose the next diagnostic check from interface counter changes

Before you start

On this page

Two buildings 2 km apart need a medium that can reach them; a typical 100 m twisted-pair Ethernet channel cannot span that distance directly. A transmission medium carries the signal between devices: copper wires, glass fibre or radio waves in the air. The choice decides how far a link can reach, how fast it can run and what can disturb it. Twisted-pair copper is easy to install and can power compatible devices; the named conventional copper Ethernet channels reach up to 100 m. Coaxial cable shields its signal and still carries cable broadband. Fibre carries light, reaches hundreds of metres on multimode glass and tens of kilometres on single-mode glass, and electrical interference cannot touch it. Radio needs no cable at all, but everyone in range shares the same air and the signal fades quickly with distance. Compare the five media, read PHY names and use counter changes to select the next investigation.

Copper trades convenient installation for a limited reach

A twisted pair is two insulated wires twisted around each other. The signal is sent as the difference between the two wires. Twisting helps outside interference couple similarly to both, and the differential receiver rejects much of that common-mode pickup; imbalance and other coupling can still introduce noise. Office and home Ethernet cables hold four such pairs. The named conventional copper Ethernet channels are specified for runs of up to 100 m with appropriate cabling: IEEE 802.3an, for example, specifies 10GBASE-T over twisted-pair cabling runs of up to 100 m. 100BASE-TX uses two of the four pairs and 1000BASE-T all four, which matters when one pair is broken. The same cable can also deliver power: IEEE 802.3 includes the powering of devices through twisted-pair links, and IEEE 802.3bt raised the power available by using all four pairs. That is how a desk phone, a camera or an access point can run without a power socket of its own.

A coaxial cable has one centre conductor inside a cylindrical shield. The shield reduces radiation and outside coupling, so coax can carry high frequencies over useful distances. Shielding and connector quality still matter. The first Ethernets ran on it (10BASE5 and 10BASE2, whose names hold their segment lengths of about 500 m and 185 m), and cable broadband still does: CableLabs specifies DOCSIS 4.0 for hybrid fibre-coax networks at up to 10 Gb/s downstream and 6 Gb/s upstream, figures from the specification rather than measured service.

Compare the four-pair gigabit channel with the two-pair 100BASE-TX mode in the scene. It explains why a lower negotiated rate can suggest a cabling check without proving which pair is faulty:

Interactive · stage by stage A rate change suggests several checks Compare the pair requirements of the named copper modes, then inspect the peer and cable separately.
A rate change suggests several checks, step 4 of 4. Showing 1000BASE-T, 100BASE-TX, The observed rate, Next evidence. In focus: Next evidence.1000BASE-Tfour working pairs100BASE-TXtwo working pairsThe observed rate100 Mb/sNext evidencepeer modes, then cable test

The drawing shows the whole scene; its 4 steps are listed below.

Every step as text
  1. 1000BASE-T. The named gigabit mode uses all four cable pairs. The channel must also meet its specified electrical performance.
  2. 100BASE-TX. The named 100 Mb/s mode uses two pairs. A PHY with an enabled downshift feature can select a lower mode after failed gigabit attempts.
  3. The observed rate. This rate is consistent with several cases: a cabling problem, a configured limit or a peer whose supported modes stop at 100 Mb/s. It is not proof of a broken pair.
  4. Next evidence. Read both peers' supported and advertised modes and configuration. Test or substitute the cable using a known compatible channel, then observe negotiation again.

Read the peer’s supported and advertised modes too. A 100 Mb/s result is also consistent with a configured limit or a 100 Mb/s-only peer; the negotiated rate alone cannot select among those causes.

Checkpoint

Check: Copper modes and pair requirements

  1. One question A 100 Mb/s-only peer joins a four-pair cable to a gigabit-capable port. Does the negotiated 100 Mb/s prove a broken pair?

    Choose one answer.

    Show the answer: One question

    Answer: No; the peer's supported modes explain that rate

    Negotiated rate is evidence about the agreed mode, rather than an isolated cable diagnosis.

Fibre reach depends on modes, optics and a loss budget

An optical fibre is a glass core inside a glass cladding of slightly lower refractive index, which keeps the light in the core by total internal reflection. Light is immune to electrical interference and glass does not conduct, so fibre suits noisy machine rooms and links between buildings. The signal travels at about 5 µs a kilometre, the planning value of ITU-T G.114.

  • multimode fibre: Optical fibre that supports several spatial propagation modes at the stated wavelength. has a wide core, 50 or 62.5 µm. Light takes many paths (modes) of slightly different lengths, so a short pulse spreads out as it travels, and the faster the link, the shorter the distance before pulses blur. Cisco’s data sheet for its 10GBASE-SR optics (850 nm) gives 33 m on OM1 fibre, 82 m on OM2, 300 m on OM3 and 400 m on OM4: enough for links inside a building or a data centre.
  • single-mode fibre: Optical fibre designed to support one spatial propagation mode at its operating wavelength. supports one spatial mode at its operating wavelength. G.652.D gives nominal mode field diameter: A measure of the transverse optical-field distribution in a fibre; it is distinct from the glass core’s physical diameter. of 8.6 to 9.2 µm at 1310 nm. This describes the optical field, rather than specifying the glass core diameter. Removing multimode dispersion does not remove chromatic dispersion or every reach limit. The same data sheet gives 10 km for 10GBASE-LR at 1310 nm and 40 km for 10GBASE-ER at 1550 nm. G.652.D cable loses at most 0.40 dB per kilometre from 1310 to 1625 nm and 0.30 dB at 1530 to 1565 nm; short indoor cables may lose up to 1.0 dB per kilometre.

A fibre link needs compatible optics and fibre within their specified operating conditions. One budget checks whether the received light exceeds the receiver’s sensitivity; that margin alone cannot establish a working link. The example adds up the losses of a 2 km run between two buildings, with example figures for the connectors, splices and optics:

Loss budget and delay of a fibre run Python · loss-budget-study/loss_budget.py
# A loss budget for a 2 km single-mode fibre run between two buildings, and the delay of
# copper and fibre runs. Cable loss is the ITU-T G.652.D maximum; the connector and splice
# losses and the transceiver figures are example values: use your parts' data sheets.

KM = 2.0
FIBRE_DB_PER_KM = 0.4  # G.652.D: at most 0.40 dB/km from 1310 to 1625 nm
CONNECTORS, CONNECTOR_DB = 2, 0.5  # example figures
SPLICES, SPLICE_DB = 2, 0.1  # example figures

loss = KM * FIBRE_DB_PER_KM + CONNECTORS * CONNECTOR_DB + SPLICES * SPLICE_DB
print(f"fibre {KM * FIBRE_DB_PER_KM:.2f} dB + connectors {CONNECTORS * CONNECTOR_DB:.2f} dB + splices {SPLICES * SPLICE_DB:.2f} dB = {loss:.2f} dB")

TX_DBM, RX_SENSITIVITY_DBM = -8.0, -14.0  # an example transceiver pair
received = TX_DBM - loss
print(f"received: {TX_DBM} dBm - {loss:.2f} dB = {received:.2f} dBm; margin {received - RX_SENSITIVITY_DBM:.2f} dB")

# Delay: light in fibre about 5 us per km (ITU-T G.114); in twisted pair the signal moves at
# roughly two-thirds of the speed of light (an example figure; cables state their own value).
C = 299_792_458
print(f"2 km of fibre: {KM * 5:.1f} us")
for metres in (90, 100):
    print(f"{metres} m of twisted pair at 0.66 c: {metres / (0.66 * C) * 1e9:.0f} ns")

Output

fibre 0.80 dB + connectors 1.00 dB + splices 0.20 dB = 2.00 dB
received: -8.0 dBm - 2.00 dB = -10.00 dBm; margin 4.00 dB
2 km of fibre: 10.0 us
90 m of twisted pair at 0.66 c: 455 ns
100 m of twisted pair at 0.66 c: 505 ns

Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 loss_budget.py

Change KM from 2 to 3 and compare the fibre loss and sensitivity margin with the same assumed parts.

Decibel Calculator (dB, dBm, dBV, dBu) Turn dBm into milliwatts and back to check a transmitter, a receiver and the margin between them.

The fibre itself costs only 0.8 dB over 2 km; the connectors cost more than the glass. The 4 dB to spare leave room for a dirty connector or a tight bend, which is why loss budgets keep a margin. The delay row shows the other side of the comparison: 2 km of fibre adds 10 µs, while a full 100 m copper run adds about half a microsecond.

Follow the same transmitter, cable, connectors, splices and receiver. Every subtraction uses an explicitly assumed part value; the actual parts’ specifications and a loss measurement decide an installed link:

Interactive · stage by stage An assumed 2 km single-mode link budget Subtract the same assumed loss figures as the recorded program, then compare received power with the assumed sensitivity.
An assumed 2 km single-mode link budget, step 5 of 5. Showing Transmit, Fibre, Connectors and splices, Receive, Sensitivity margin. In focus: Sensitivity margin.Transmit−8 dBm assumedFibre2 km × 0.4 = 0.8 dBConnectors and splices1.0 + 0.2 = 1.2 dBReceive−8 − 2 = −10 dBmSensitivity margin−10 − (−14) = 4 dB

The drawing shows the whole scene; its 5 steps are listed below.

Every step as text
  1. Transmit. The example transmitter emits −8 dBm. An installed design uses the specified minimum transmitter output for the required operating conditions.
  2. Fibre. The budget assigns 0.4 dB/km to this run, for a total of 0.8 dB. Use the cable's wavelength-specific specification.
  3. Connectors and splices. Two assumed 0.5 dB connectors and two assumed 0.1 dB splices add 1.2 dB. The total path loss is 2.0 dB.
  4. Receive. Subtracting 2 dB of path loss from −8 dBm gives −10 dBm at the receiver. Loss is a ratio; dBm is an absolute power level.
  5. Sensitivity margin. Against an assumed −14 dBm sensitivity the margin is 4 dB. The installed cable, connectors, splices and compatible parts need their actual specifications and loss measurements.

For this example, −8 dBm minus 2 dB is −10 dBm at the receiver, four dB above its −14 dBm sensitivity. The assumed values explain the arithmetic; the installed parts and measured losses still decide the actual margin.

Checkpoint

Check: Fibre modes and optical budget

  1. One question A −8 dBm transmitter has a 2 dB path loss. What received power does this assumed budget give?

    Type a number.

    Show the answer: One question

    Answer: -10 dBm

    Subtract the loss ratio in dB from the absolute dBm power: −8 − 2 = −10 dBm.

Radio trades cabling for a shared and variable channel

Radio links send the signal through the air, so they need no cable and allow movement, while antenna patterns determine where power is radiated. The free-space model below specifies ideal isotropic-antenna assumptions. ITU-R P.525 gives the loss between two ideal antennas in free space:

Lbf=32.4+20log10⁡fMHz+20log10⁡dkm dBL_{bf} = 32.4 + 20\log_{10} f_{\text{MHz}} + 20\log_{10} d_{\text{km}}\ \text{dB}

The units are MHz and kilometres. At 2,437 MHz over 10 m, d = 0.010 km and the result is about 60.1 dB; using 10 as kilometres would add 60 dB to the answer by mistake.

Free-space loss in the three Wi-Fi bands Python · free-space-study/free_space.py
# Free-space loss between ideal antennas (ITU-R P.525): L = 32.4 + 20 log10(f MHz) + 20 log10(d km).
# Walls, bodies and other radios come on top; this is only the loss of spreading out.
from math import log10


def free_space_db(mhz, metres):
    return 32.4 + 20 * log10(mhz) + 20 * log10(metres / 1000)


bands = {"2.4 GHz": 2_437, "5 GHz": 5_500, "6 GHz": 6_500}  # a channel in each band
print("distance  " + "".join(f"{b:>10}" for b in bands))
for metres in (1, 10, 30):
    print(f"{metres:>5} m  " + "".join(f"{free_space_db(f, metres):>7.1f} dB" for f in bands.values()))
print(f"6 GHz against 2.4 GHz at any distance: {free_space_db(6_500, 10) - free_space_db(2_437, 10):.1f} dB more")
print(f"three times the distance: {20 * log10(3):.1f} dB more")

Output

distance     2.4 GHz     5 GHz     6 GHz
    1 m     40.1 dB   47.2 dB   48.7 dB
   10 m     60.1 dB   67.2 dB   68.7 dB
   30 m     69.7 dB   76.7 dB   78.2 dB
6 GHz against 2.4 GHz at any distance: 8.5 dB more
three times the distance: 9.5 dB more

Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 free_space.py

Tripling the distance costs 9.5 dB, and a channel in the 6 GHz band loses 8.5 dB more than one at 2.4 GHz over the same distance, before walls, furniture and people add their own losses. Wi-Fi uses all three bands, 2.4, 5 and 6 GHz, and the Wi-Fi Alliance presents 6 GHz as the band for wide channels: Wi-Fi 7’s 320 MHz channels sit there. In this equal-antenna free-space comparison the lower frequency has less path loss. Higher bands can offer room for wider channels, while achievable rate also depends on signal quality, coding and airtime.

Radio is also a shared medium. Receivers that can detect a transmission share a channel; hidden nodes may not hear one another. Nearby same-channel networks can contend or interfere, and signals arriving by several paths (reflections off walls) can partly cancel each other. Lower S/N reduces the ideal channel-capacity bound; the implementation’s rate adaptation, retries and scheduling determine measured throughput, and devices must take turns, which a later lesson on Wi-Fi covers.

RF Wavelength, Antenna & Path Loss Calculator Work out wavelengths, antenna sizes and free-space path loss for any frequency and distance.

Walk through the same 10 m path in two frequency bands, then lengthen it to 30 m. The scene changes one input at a time and retains the ideal-antenna, unobstructed-path assumptions:

Interactive · stage by stage Frequency and distance in the ideal free-space model Change one input at a time, with MHz, kilometres and ideal-antenna assumptions kept explicit.
Frequency and distance in the ideal free-space model, step 4 of 4. Showing Initial path, Change frequency, Change distance, Measure real coverage. In focus: Measure real coverage.Initial path2,437 MHz over 10 mChange frequency6,500 MHz over 10 mChange distance2,437 MHz over 30 mMeasure real coveragewalls and contention differ

The drawing shows the whole scene; its 4 steps are listed below.

Every step as text
  1. Initial path. Convert 10 m to 0.010 km. The P.525 free-space formula gives about 60.1 dB for this frequency and distance.
  2. Change frequency. The same path at 6,500 MHz has about 68.7 dB of ideal free-space loss. The difference is about 8.5 dB before other impairments.
  3. Change distance. Tripling the initial distance adds 20 log₁₀3, about 9.5 dB. The rounded recorded loss is 69.7 dB.
  4. Measure real coverage. Walls, antenna characteristics, reflections and other transmitters are outside this ideal loss calculation. They require evidence from the actual link.

Checkpoint

Check: Radio loss and shared-channel assumptions

  1. One question The ideal free-space result differs from an indoor measurement. Which omitted conditions should be checked?

    Choose one answer.

    Show the answer: One question

    Answer: Walls, antennas, reflections and competing transmitters

    The simple formula is a specified model, not a prediction of every indoor channel.

Distance and installation needs narrow the media choice

The two tables put the media side by side: copper and radio first, then the two kinds of fibre.

Twisted pair, coaxial cable and radio
Criterion Twisted pairCoaxial cableRadio (Wi-Fi)
Example link 10GBASE-T: 10 Gb/s over up to 100 mDOCSIS 4.0: up to 10 Gb/s downstream on hybrid fibre-coaxA shared channel; its rate follows the channel width and the signal-to-noise ratio
Interference Twisting and differential signalling cancel most of itThe shield keeps it outShares the air with every nearby radio
Strengths Easy to fit; the cable can carry powerRobust, and already in place in cable networksNo cable; devices can move
Weak points About 100 m per runBulky; old Ethernet segments were 185 to 500 mLoss grows with distance, frequency and walls
When to choose Desks, access points and cameras within 100 mCable broadbandMobile devices and places without cabling
Multimode or single-mode fibre
Criterion Multimode fibreSingle-mode fibre
Modes and dimensions 50 or 62.5 µm core; several spatial modesOne spatial mode; G.652.D nominal mode field diameter 8.6–9.2 µm at 1310 nm
Example link 10GBASE-SR: 10 Gb/s over 300 m of OM3 or 400 m of OM4, at 850 nm10GBASE-LR: 10 Gb/s over 10 km at 1310 nm; 10GBASE-ER: 40 km at 1550 nm
What limits it Pulses spread as the paths differ, more at higher ratesLoss: at most 0.40 dB per km for G.652.D cable
Interference Immune to electrical interferenceImmune to electrical interference
When to choose Links inside a building or a data centreLinks between buildings and across cities

For a camera 80 m from a switch, a supported twisted-pair channel can also carry power, so it addresses two installation needs. For the 2 km inter-building example, the named 100 m copper channel and 300–400 m 10GBASE-SR options are too short. The cited 10GBASE-LR option fits the distance, subject to matching optics, specified fibre and an acceptable measured loss budget.

Radio avoids a cable route but adds a different set of requirements: a supported band, interference conditions, an antenna and path plan, and sufficient measured capacity. Coax remains useful where a compatible cable system already exists. These are example choices within the named interfaces’ specifications, rather than a claim that every copper, fibre or radio system has one universal rate or reach.

Checkpoint

Check: Media choice for the stated installation

  1. One question Which listed 10 Gb/s option fits a 2 km run after compatibility and budget checks?

    Choose one answer.

    Show the answer: One question

    Answer: Single-mode fibre with the specified 10GBASE-LR optics

    Filter by the named interface's specified reach, then verify its actual optics and loss budget.

A PHY name points to a specific interface specification

IEEE 802.3 names each physical layer by its rate, its signalling and its medium. The number is the rate in Mb/s, or in Gb/s when a G follows it. BASE identifies Ethernet’s baseband signaling family; the complete name selects a PHY: A physical-layer interface specification or the hardware that implements it. specification. The letters after the dash name the medium and sometimes the coding (T for twisted pair, S, L and E for short, long and extended reach on fibre, R for the 64B/66B coding family), and a final digit counts the lanes or wavelengths used side by side. In the oldest coax names the digit was the segment length in hundreds of metres.

100GBASE-LR4 split into its parts: 100G is the rate, BASE baseband, L long wavelength, R 64B/66B coding, 4 the lanes.100Grate: 100 Gb/s(no G: Mb/s)BASEbasebandsignallingLlong wavelength,single-mode fibreR64B/66B coding(the R family)4four lanes orwavelengths

Reading an Ethernet PHY name

Text description of the diagram

The diagram reads the name 100GBASE-LR4 in five parts, each beside its meaning.

  1. 100G: the data rate, 100 Gb/s. Without the G the number is in Mb/s, as in 100BASE-TX.
  2. BASE: the Ethernet baseband signaling family. The complete name selects one particular physical-layer specification.
  3. L: the medium, here long-wavelength light on single-mode fibre. S means short wavelength on multimode fibre, E extended reach, T twisted-pair copper.
  4. R: the coding family, here 64B/66B.
  5. 4: the four parallel optical lanes of this specified interface. Suffixes have their meaning in each physical-layer specification; they are not a universal parser for every Ethernet name.
Decoding ten Ethernet PHY names Python · phy-names-study/phy_names.py
# Reading Ethernet physical-layer names: <rate>BASE-<medium and coding>. The rate is in Mb/s
# (or Gb/s with a G), BASE means baseband signalling, and the letters after the dash name the
# medium; a trailing digit counts lanes or wavelengths. Reaches are the ones the lesson cites.
import re

MEDIUM = {
    "T": "twisted-pair copper",
    "TX": "twisted-pair copper, 4B/5B coding",
    "SR": "short wavelength (850 nm), multimode fibre, 64B/66B coding",
    "LR": "long wavelength (around 1310 nm), single-mode fibre, 64B/66B coding",
    "ER": "extended reach (1550 nm), single-mode fibre, 64B/66B coding",
}
REACH = {
    "10BASE5": "500 m segment of thick coax",
    "10BASE2": "185 m segment of thin coax",
    "10BASE-T": "100 m",
    "100BASE-TX": "100 m",
    "1000BASE-T": "100 m, all four pairs",
    "10GBASE-T": "100 m",
    "10GBASE-SR": "300 m on OM3, 400 m on OM4",
    "10GBASE-LR": "10 km",
    "10GBASE-ER": "40 km",
}


def decode(name):
    m = re.fullmatch(r"(\d+)(G?)BASE-?([A-Z]*?)(\d?)", name)
    if not m:
        raise ValueError(f"{name}: not an Ethernet PHY name")
    rate, giga, medium, lanes = m.groups()
    speed = f"{rate} {'Gb/s' if giga else 'Mb/s'}"
    if not medium:  # the oldest names: the digit is the segment length in hundreds of metres
        return speed, "coaxial cable", REACH.get(name, "")
    what = MEDIUM.get(medium, medium)
    if lanes:
        what += f", {lanes} lanes"
    return speed, what, REACH.get(name, "")


for name in ("10BASE5", "10BASE2", "10BASE-T", "100BASE-TX", "1000BASE-T", "10GBASE-T",
             "10GBASE-SR", "10GBASE-LR", "10GBASE-ER", "100GBASE-LR4"):
    speed, medium, reach = decode(name)
    print(f"{name:13} {speed:9} {medium}" + (f"; reach {reach}" if reach else ""))

Output

10BASE5       10 Mb/s   coaxial cable; reach 500 m segment of thick coax
10BASE2       10 Mb/s   coaxial cable; reach 185 m segment of thin coax
10BASE-T      10 Mb/s   twisted-pair copper; reach 100 m
100BASE-TX    100 Mb/s  twisted-pair copper, 4B/5B coding; reach 100 m
1000BASE-T    1000 Mb/s twisted-pair copper; reach 100 m, all four pairs
10GBASE-T     10 Gb/s   twisted-pair copper; reach 100 m
10GBASE-SR    10 Gb/s   short wavelength (850 nm), multimode fibre, 64B/66B coding; reach 300 m on OM3, 400 m on OM4
10GBASE-LR    10 Gb/s   long wavelength (around 1310 nm), single-mode fibre, 64B/66B coding; reach 10 km
10GBASE-ER    10 Gb/s   extended reach (1550 nm), single-mode fibre, 64B/66B coding; reach 40 km
100GBASE-LR4  100 Gb/s  long wavelength (around 1310 nm), single-mode fibre, 64B/66B coding, 4 lanes

Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 phy_names.py

Use the diagram and the recorded name table as a reading aid for the listed interfaces. The suffix is defined by each PHY specification, so the table is not a generic decoder for every possible Ethernet name. In particular, 10BASE2’s 185 m segment is an historical naming convention, rather than exactly two hundred metres.

For 100GBASE-LR4 the four parallel optical lanes belong to one interface, not four separate 100 Gb/s links. Matching the advertised aggregate rate without matching the specified fibre, optics and lane arrangement does not establish compatibility.

Checkpoint

Check: Reading a specified PHY name

  1. One question What does the 4 in the listed 100GBASE-LR4 interface describe?

    Choose one answer.

    Show the answer: One question

    Answer: Four parallel optical lanes in the aggregate 100 Gb/s interface

    The suffix belongs to a specific PHY definition rather than one universal digit rule.

Counter changes choose an investigation, not a proven cause

When a link is slow or drops packets, read the port’s counters before changing the software: their pattern can narrow the investigation, although a counter alone cannot prove a physical cause. On Linux, ip -s -s link show dev <name> prints the interface statistics that the kernel’s documentation describes: rx_crc_errors counts frames received with a bad CRC, collisions counts collisions while sending, and tx_window_errors counts late collisions, those after the first 64 bytes of a frame. The ethtool interface reports the negotiated speed and duplex. Switches show the same counters under their own names. Three symptoms are worth knowing by heart:

  • Late collisions on a half-duplex port make a duplex mismatch one hypothesis to check: the other end is set to full duplex and sends whenever it likes. In Cisco’s guide to duplex settings, the end set to half duplex shows late collisions and a fast-rising count of FCS and alignment errors, while the full duplex: Communication in both directions simultaneously; each direction has its own transmission capacity. end can show runts; a full-duplex port should never count collisions at all.
  • CRC errors on a full-duplex link without collisions point at the cable, a connector or interference: frames arrive damaged although nobody is colliding.
  • A gigabit port that links at 100 Mb/s without errors warrants checking the supported modes and cable pairs. Texas Instruments’ DP83867 data sheet, for example, describes a “speed optimization” that falls back to 100 Mb/s after failed gigabit attempts when only two pairs are connected.

The first example compares two synthetic snapshots of a 100 Mb/s port taken a minute apart. Its output names the next check rather than claiming a confirmed fault:

Which counters grew? Python · diagnose-study/diagnose.py
# Reading interface counters before blaming software. Two snapshots of a port, taken one
# minute apart (example readings): what grew tells you which layer to look at.

before = {"speed_mbps": 100, "duplex": "half", "rx_crc_errors": 112, "late_collisions": 40,
          "collisions": 900, "runts": 0, "link_changes": 2}
after = {"speed_mbps": 100, "duplex": "half", "rx_crc_errors": 351, "late_collisions": 133,
         "collisions": 2_310, "runts": 0, "link_changes": 2}


def changes(a, b):
    return {k: b[k] - a[k] for k in a if isinstance(a[k], int) and b[k] != a[k]}


grew = changes(before, after)
print("grew in one minute:", grew)

if after["duplex"] == "half" and grew.get("late_collisions"):
    print("late collisions on this half-duplex 100 Mb/s port: inspect peer duplex and configuration")
    print("confirm the cause, use consistent supported settings, then compare fresh counters")
elif grew.get("rx_crc_errors") and not grew.get("collisions"):
    print("CRC errors without observed collisions: inspect the cable, connectors and interference")
elif grew.get("link_changes"):
    print("the link keeps going up and down: reseat or replace the cable, then the port")
else:
    print("none of the listed counter patterns is present; this does not prove link health")

Output

grew in one minute: {'rx_crc_errors': 239, 'late_collisions': 93, 'collisions': 1410}
late collisions on this half-duplex 100 Mb/s port: inspect peer duplex and configuration
confirm the cause, use consistent supported settings, then compare fresh counters

Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 diagnose.py

The decision core below uses the same increases and two contrast cases. It asks first about half-duplex late collisions, then CRC increases without collisions, then a rate below the expected mode. Its outcome is a next inspection step; other causes remain possible.

One program · 14 languages Counter patterns choose the next inspection O(1) decisions per fixed-size reading

Python 3.14 · main.py

"""Choose a next investigation from authored counter increases."""

Reading = tuple[int, bool, int, int, int]


def next_check(reading: Reading) -> str:
    speed, half_duplex, crc, late, collisions = reading
    if half_duplex and late > 0:
        return "inspect-peer-duplex"
    if crc > 0 and collisions == 0:
        return "inspect-cable-or-optics"
    if speed < 1000:
        return "inspect-supported-modes"
    return "no-listed-symptom"


readings: list[Reading] = [
    (100, True, 239, 93, 1410),
    (1000, False, 12, 0, 0),
    (100, False, 0, 0, 0),
    (1000, False, 0, 0, 0),
]
for number, reading in enumerate(readings, start=1):
    print(f"Case {number}: {next_check(reading)}")

Recorded with CPython 3.14.8 on macOS 26 arm64. It runs in your browser with Pyodide 314.0.7 (CPython 3.14.2). To run it yourself: python3 main.py

JavaScript Node 24 · main.mjs

function nextCheck([speed, halfDuplex, crc, late, collisions]) {
  if (halfDuplex && late > 0) return "inspect-peer-duplex";
  if (crc > 0 && collisions === 0) return "inspect-cable-or-optics";
  if (speed < 1000) return "inspect-supported-modes";
  return "no-listed-symptom";
}

const readings = [
  [100, true, 239, 93, 1410],
  [1000, false, 12, 0, 0],
  [100, false, 0, 0, 0],
  [1000, false, 0, 0, 0],
];
for (const [index, reading] of readings.entries()) {
  console.log(`Case ${index + 1}: ${nextCheck(reading)}`);
}

Recorded with Node.js 24.21.0 LTS (V8 13.6) on macOS 26 arm64. It runs in your browser with QuickJS (quickjs-emscripten 0.32.0). To run it yourself: node main.mjs

Java 25 LTS · Main.java

public class Main {
  record Reading(int speed, boolean halfDuplex, int crc, int late, int collisions) {}

  static String nextCheck(Reading reading) {
    if (reading.halfDuplex() && reading.late() > 0) return "inspect-peer-duplex";
    if (reading.crc() > 0 && reading.collisions() == 0) return "inspect-cable-or-optics";
    if (reading.speed() < 1000) return "inspect-supported-modes";
    return "no-listed-symptom";
  }

  public static void main(String[] args) {
    Reading[] readings = {
      new Reading(100, true, 239, 93, 1410),
      new Reading(1000, false, 12, 0, 0),
      new Reading(100, false, 0, 0, 0),
      new Reading(1000, false, 0, 0, 0)
    };
    for (int index = 0; index < readings.length; index++) {
      System.out.println("Case " + (index + 1) + ": " + nextCheck(readings[index]));
    }
  }
}

Recorded with OpenJDK 25.0.4.1 LTS (Eclipse Temurin) on macOS 26 arm64. It runs in your browser with a TeaVM 0.16.0 build in QuickJS (quickjs-emscripten 0.32.0). To run it yourself: java Main.java

C++23 · main.cpp

#include <array>
#include <cstdint>
#include <print>
#include <string_view>

struct Reading {
  std::int32_t speed;
  bool half_duplex;
  std::int32_t crc, late, collisions;
};

std::string_view next_check(const Reading &reading) {
  if (reading.half_duplex && reading.late > 0)
    return "inspect-peer-duplex";
  if (reading.crc > 0 && reading.collisions == 0)
    return "inspect-cable-or-optics";
  if (reading.speed < 1000)
    return "inspect-supported-modes";
  return "no-listed-symptom";
}

int main() {
  const std::array<Reading, 4> readings{{{100, true, 239, 93, 1410},
                                         {1000, false, 12, 0, 0},
                                         {100, false, 0, 0, 0},
                                         {1000, false, 0, 0, 0}}};
  for (std::size_t index = 0; index < readings.size(); ++index)
    std::println("Case {}: {}", index + 1, next_check(readings[index]));
}

Recorded with Apple clang 21.0.0 (C++23) and GCC 16.2.0 on macOS 26 arm64. It runs in your browser with Clang in WebAssembly (YoWASP) 22.0.0-git20542-10. To run it yourself: clang++ -std=c++23 -O2 -Wall -Wextra -Werror -pedantic -fsanitize=address,undefined main.cpp -o main && ./main

C# 14 · .NET 10 · app.cs

(int Speed, bool HalfDuplex, int Crc, int Late, int Collisions)[] readings =
[
    (100, true, 239, 93, 1410),
    (1000, false, 12, 0, 0),
    (100, false, 0, 0, 0),
    (1000, false, 0, 0, 0),
];
for (int index = 0; index < readings.Length; index++)
{
    Console.WriteLine(FormattableString.Invariant(
        $"Case {index + 1}: {NextCheck(readings[index])}"));
}

static string NextCheck(
    (int Speed, bool HalfDuplex, int Crc, int Late, int Collisions) reading)
{
    if (reading.HalfDuplex && reading.Late > 0) return "inspect-peer-duplex";
    if (reading.Crc > 0 && reading.Collisions == 0) return "inspect-cable-or-optics";
    if (reading.Speed < 1000) return "inspect-supported-modes";
    return "no-listed-symptom";
}

Recorded with C# 14 on .NET 10.0.12 (SDK 10.0.401) on macOS 26 arm64. It runs in your browser with the .NET runtime for WebAssembly 10.0.12. To run it yourself: dotnet run app.cs

C23 · main.c

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>

typedef struct {
  int32_t speed;
  bool half_duplex;
  int32_t crc, late, collisions;
} Reading;

static const char *next_check(Reading reading) {
  if (reading.half_duplex && reading.late > 0)
    return "inspect-peer-duplex";
  if (reading.crc > 0 && reading.collisions == 0)
    return "inspect-cable-or-optics";
  if (reading.speed < 1000)
    return "inspect-supported-modes";
  return "no-listed-symptom";
}

int main(void) {
  static const Reading readings[] = {{100, true, 239, 93, 1410},
                                     {1000, false, 12, 0, 0},
                                     {100, false, 0, 0, 0},
                                     {1000, false, 0, 0, 0}};
  for (size_t index = 0; index < sizeof readings / sizeof readings[0]; ++index)
    printf("Case %zu: %s\n", index + 1, next_check(readings[index]));
}

In C: The half_duplex flag encodes the observed port mode; fixed-width fields hold these authored nonnegative counter increases.

Recorded with Apple clang 21.0.0 (C23) and GCC 16.2.0 on macOS 26 arm64. It runs in your browser with Clang in WebAssembly (YoWASP) 22.0.0-git20542-10. To run it yourself: clang -std=c23 -O2 -Wall -Wextra -Werror -pedantic -fsanitize=address,undefined main.c -o main && ./main

PHP 8.5 · main.php

<?php

declare(strict_types=1);

/** @param array{int, bool, int, int, int} $reading */
function nextCheck(array $reading): string
{
    [$speed, $halfDuplex, $crc, $late, $collisions] = $reading;
    if ($halfDuplex && $late > 0) {
        return 'inspect-peer-duplex';
    }
    if ($crc > 0 && $collisions === 0) {
        return 'inspect-cable-or-optics';
    }
    if ($speed < 1000) {
        return 'inspect-supported-modes';
    }
    return 'no-listed-symptom';
}

$readings = [
    [100, true, 239, 93, 1410],
    [1000, false, 12, 0, 0],
    [100, false, 0, 0, 0],
    [1000, false, 0, 0, 0],
];
foreach ($readings as $index => $reading) {
    printf("Case %d: %s\n", $index + 1, nextCheck($reading));
}

Recorded with PHP 8.5.11 (CLI) on macOS 26 arm64. It runs in your browser with php-wasm 0.2.0 (PHP 8.5.2). To run it yourself: php main.php

Rust 1.99 · main.rs

struct Reading {
    speed: i32,
    half_duplex: bool,
    crc: i32,
    late: i32,
    collisions: i32,
}

fn next_check(reading: &Reading) -> &'static str {
    if reading.half_duplex && reading.late > 0 {
        return "inspect-peer-duplex";
    }
    if reading.crc > 0 && reading.collisions == 0 {
        return "inspect-cable-or-optics";
    }
    if reading.speed < 1000 {
        return "inspect-supported-modes";
    }
    "no-listed-symptom"
}

fn main() {
    let readings = [
        Reading {
            speed: 100,
            half_duplex: true,
            crc: 239,
            late: 93,
            collisions: 1410,
        },
        Reading {
            speed: 1000,
            half_duplex: false,
            crc: 12,
            late: 0,
            collisions: 0,
        },
        Reading {
            speed: 100,
            half_duplex: false,
            crc: 0,
            late: 0,
            collisions: 0,
        },
        Reading {
            speed: 1000,
            half_duplex: false,
            crc: 0,
            late: 0,
            collisions: 0,
        },
    ];
    for (index, reading) in readings.iter().enumerate() {
        println!("Case {}: {}", index + 1, next_check(reading));
    }
}

In Rust: A borrowed Reading supplies the decision fields; the returned static string names an inspection step, rather than a confirmed cause.

Recorded with rustc 1.99.0 (edition 2024) on macOS 26 arm64. It runs in your browser with a WebAssembly build on the WASI runner (browser_wasi_shim 0.4.2). To run it yourself: rustc --edition 2024 -O main.rs && ./main

TypeScript 6.0 · main.ts

type Reading = readonly [number, boolean, number, number, number];

function nextCheck([speed, halfDuplex, crc, late, collisions]: Reading): string {
  if (halfDuplex && late > 0) return "inspect-peer-duplex";
  if (crc > 0 && collisions === 0) return "inspect-cable-or-optics";
  if (speed < 1000) return "inspect-supported-modes";
  return "no-listed-symptom";
}

const readings: Reading[] = [
  [100, true, 239, 93, 1410],
  [1000, false, 12, 0, 0],
  [100, false, 0, 0, 0],
  [1000, false, 0, 0, 0],
];
for (const [index, reading] of readings.entries()) {
  console.log(`Case ${index + 1}: ${nextCheck(reading)}`);
}

Recorded with TypeScript 6.0.3 (strict), run by Node.js 24.21.0 on macOS 26 arm64. It runs in your browser with QuickJS (quickjs-emscripten 0.32.0) after Sucrase 3.35.1. To run it yourself: npx -p typescript@6.0.3 tsc --noEmit --strict main.ts && node main.ts

Go 1.27 · main.go

package main

import "fmt"

type Reading struct {
	Speed                 int32
	HalfDuplex            bool
	CRC, Late, Collisions int32
}

func nextCheck(reading Reading) string {
	if reading.HalfDuplex && reading.Late > 0 {
		return "inspect-peer-duplex"
	}
	if reading.CRC > 0 && reading.Collisions == 0 {
		return "inspect-cable-or-optics"
	}
	if reading.Speed < 1000 {
		return "inspect-supported-modes"
	}
	return "no-listed-symptom"
}

func main() {
	readings := []Reading{
		{100, true, 239, 93, 1410}, {1000, false, 12, 0, 0},
		{100, false, 0, 0, 0}, {1000, false, 0, 0, 0},
	}
	for index, reading := range readings {
		fmt.Printf("Case %d: %s\n", index+1, nextCheck(reading))
	}
}

Recorded with Go 1.27.1 on macOS 26 arm64. It runs in your browser with the Go compiler in WebAssembly 1.27.1. To run it yourself: go run main.go

Swift 6.4 · main.swift

struct Reading {
  let speed: Int
  let halfDuplex: Bool
  let crc: Int
  let late: Int
  let collisions: Int
}

func nextCheck(_ reading: Reading) -> String {
  if reading.halfDuplex && reading.late > 0 { return "inspect-peer-duplex" }
  if reading.crc > 0 && reading.collisions == 0 { return "inspect-cable-or-optics" }
  if reading.speed < 1000 { return "inspect-supported-modes" }
  return "no-listed-symptom"
}

let readings = [
  Reading(speed: 100, halfDuplex: true, crc: 239, late: 93, collisions: 1410),
  Reading(speed: 1000, halfDuplex: false, crc: 12, late: 0, collisions: 0),
  Reading(speed: 100, halfDuplex: false, crc: 0, late: 0, collisions: 0),
  Reading(speed: 1000, halfDuplex: false, crc: 0, late: 0, collisions: 0),
]
for (index, reading) in readings.enumerated() {
  print("Case \(index + 1): \(nextCheck(reading))")
}

Recorded with Apple Swift 6.4 on macOS 26 arm64. It runs in your browser with a WebAssembly build on the WASI runner (browser_wasi_shim 0.4.2). To run it yourself: swiftc -O main.swift -o main && ./main

Ruby 4.0 · main.rb

# frozen_string_literal: true

def next_check(reading)
  speed, half_duplex, crc, late, collisions = reading
  return 'inspect-peer-duplex' if half_duplex && late.positive?
  return 'inspect-cable-or-optics' if crc.positive? && collisions.zero?
  return 'inspect-supported-modes' if speed < 1000

  'no-listed-symptom'
end

readings = [
  [100, true, 239, 93, 1410],
  [1000, false, 12, 0, 0],
  [100, false, 0, 0, 0],
  [1000, false, 0, 0, 0]
]
readings.each_with_index do |reading, index|
  puts "Case #{index + 1}: #{next_check(reading)}"
end

Recorded with CRuby 4.0.7 on macOS 26 arm64. It runs in your browser with ruby.wasm 2.10.1 (Ruby 4.0.0). To run it yourself: ruby main.rb

Kotlin 2.4 · Main.kt

data class Reading(
    val speed: Int,
    val halfDuplex: Boolean,
    val crc: Int,
    val late: Int,
    val collisions: Int,
)

fun nextCheck(reading: Reading): String =
    when {
        reading.halfDuplex && reading.late > 0 -> "inspect-peer-duplex"
        reading.crc > 0 && reading.collisions == 0 -> "inspect-cable-or-optics"
        reading.speed < 1000 -> "inspect-supported-modes"
        else -> "no-listed-symptom"
    }

fun main() {
    val readings =
        listOf(
            Reading(100, true, 239, 93, 1410),
            Reading(1000, false, 12, 0, 0),
            Reading(100, false, 0, 0, 0),
            Reading(1000, false, 0, 0, 0),
        )
    for ((index, reading) in readings.withIndex()) {
        println("Case ${index + 1}: ${nextCheck(reading)}")
    }
}

Recorded with Kotlin 2.4.20 on Java 25.0.4.1 on macOS 26 arm64. It runs in your browser with a WebAssembly build on the WASI runner (browser_wasi_shim 0.4.2). To run it yourself: kotlinc Main.kt -include-runtime -d main.jar && java -jar main.jar

Dart 3.13 · main.dart

typedef Reading = (int, bool, int, int, int);

String nextCheck(Reading reading) {
  final (speed, halfDuplex, crc, late, collisions) = reading;
  if (halfDuplex && late > 0) return 'inspect-peer-duplex';
  if (crc > 0 && collisions == 0) return 'inspect-cable-or-optics';
  if (speed < 1000) return 'inspect-supported-modes';
  return 'no-listed-symptom';
}

void main() {
  const readings = <Reading>[
    (100, true, 239, 93, 1410),
    (1000, false, 12, 0, 0),
    (100, false, 0, 0, 0),
    (1000, false, 0, 0, 0),
  ];
  for (var index = 0; index < readings.length; index++) {
    print('Case ${index + 1}: ${nextCheck(readings[index])}');
  }
}

Recorded with Dart 3.13.5 on macOS 26 arm64. It runs in your browser with a WebAssembly build by dart2wasm 3.13.5. To run it yourself: dart run main.dart

What every language printed

Case 1: inspect-peer-duplex
Case 2: inspect-cable-or-optics
Case 3: inspect-supported-modes
Case 4: no-listed-symptom

In an editable tab, change case 1’s late-collision increase from 93 to 0. Follow the stated decision order and distinguish its next-check label from a confirmed diagnosis.

Late collisions grew by 93 on a port set to half duplex, together with CRC errors and collisions. That pattern warrants a peer-duplex check. Inspect both ends to establish the cause. For the illustrated 10/100 Mb/s case, consistent supported negotiation or matching manual settings address a confirmed mismatch; a counter pattern alone cannot prove that the cable is healthy.

Step through the 239 CRC errors and 93 late collisions. Read the peer’s duplex before calling the mismatch confirmed, change one suspected factor, and compare a fresh busy-period measurement:

Interactive · stage by stage From counter increases to the next investigation Use the two synthetic 100 Mb/s, half-duplex snapshots; confirm the peer before naming the cause.
From counter increases to the next investigation, step 4 of 4. Showing First snapshot, Second snapshot, Inspect both ends, Confirm and remeasure. In focus: Confirm and remeasure.First snapshotCRC 112, late 40Second snapshotCRC 351, late 133Inspect both endshalf duplex on this endConfirm and remeasurematching supported settings

The drawing shows the whole scene; its 4 steps are listed below.

Every step as text
  1. First snapshot. The first synthetic snapshot reports 112 received CRC errors and 40 late collisions. Lifetime counts alone do not say when the faults occurred.
  2. Second snapshot. One minute later the counts are 351 and 133. Their increases are 239 CRC errors and 93 late collisions.
  3. Inspect both ends. Late collisions on this half-duplex 100 Mb/s port suggest checking the peer's duplex and configuration. The pattern supports an investigation rather than proving a mismatch.
  4. Confirm and remeasure. If the peers disagree, configure a consistent supported mode. Observe both ends and fresh counters during traffic; investigate the cable or other causes if errors persist.

Checkpoint

Check: Counters and next evidence

  1. One question The late-collision counter rose by 93. What is still needed to call a duplex mismatch confirmed?

    Choose one answer.

    Show the answer: One question

    Answer: Actual peer settings and supporting fresh behavior after a consistent supported configuration

    Use the counter change to select an investigation and verify its causal hypothesis.

Practise: apply a stated symptom classifier

Practice that adapts to you

Practise this lesson

12 questions about 6 ideas of this lesson. Each answer is explained at once, and what you get right is kept in this browser.

  1. Question 1 of 12 What does the name 10GBASE-LR tell you?

    Choose one answer.

    Show the answer: Question 1 of 12

    Answer: The specified 10 Gb/s long-wavelength, single-mode fibre PHY in the BASE-R family

    The number and G give the rate, BASE means baseband, L means long wavelength (around 1310 nm) on single-mode fibre and R the 64B/66B coding family. 10GBASE-LR reaches 10 km; its short-wavelength sibling 10GBASE-SR uses multimode fibre and reaches 300 m on OM3.

  2. Question 2 of 12 A synthetic 100 Mb/s half-duplex port has rising late collisions and CRC errors. Which next step is supported by that pattern?

    Choose one answer.

    Show the answer: Question 2 of 12

    Answer: Inspect both peers' duplex and configuration, then confirm any mismatch

    A half-duplex late-collision pattern calls for reading the other end's supported settings. Cabling and other causes may still need investigation; the counter pattern is not a complete diagnosis.

  3. Question 3 of 12 A 3 km single-mode run is budgeted at 0.4 dB per km, with two connectors of 0.5 dB each. What is the total loss, in dB?

    Type a number.

    Show the answer: Question 3 of 12

    Answer: 2.2 dB (anything from 2.199 to 2.201 counts)

    3 km x 0.4 dB/km = 1.2 dB of fibre, plus 2 x 0.5 dB = 1.0 dB of connectors: 2.2 dB. Subtract it from the transmitter's power and compare the result with the receiver's sensitivity to find the margin.

  4. Question 4 of 12 A gigabit-capable port negotiates 100 Mb/s without errors. Which physical explanation is possible, but still needs confirmation?

    Choose one answer.

    Show the answer: Question 4 of 12

    Answer: A pair fault on a PHY that downshifts after failed gigabit attempts

    1000BASE-T uses four pairs and 100BASE-TX uses two. A supported downshift feature makes a pair fault plausible, but a configured limit or a 100 Mb/s-only peer must also be checked.

  5. Question 5 of 12 By the free-space formula of ITU-R P.525, how many dB more does a 6,500 MHz signal lose than a 2,437 MHz signal over the same distance? Give one decimal place.

    Type a number.

    Show the answer: Question 5 of 12

    Answer: 8.5 dB (anything from 8.45 to 8.55 counts)

    Only the 20 log10(f) term differs: 20 x log10(6,500 / 2,437) = 20 x log10(2.667) = 8.5 dB, at every distance. Walls, furniture and people add their own losses on top, so measure real coverage rather than trusting the formula alone.

  6. Question 6 of 12 How many cable pairs do the named 1000BASE-T and 100BASE-TX modes use?

    Choose one answer.

    Show the answer: Question 6 of 12

    Answer: Four and two, respectively

    The physical requirements belong to each named interface specification.

  7. Question 7 of 12 What does G.652.D's mode field diameter describe?

    Choose one answer.

    Show the answer: Question 7 of 12

    Answer: The transverse optical-field distribution

    Do not use a mode-field specification as a measured core diameter.

  8. Question 8 of 12 Which units belong in the displayed P.525 free-space formula?

    Choose one answer.

    Show the answer: Question 8 of 12

    Answer: Frequency in MHz and distance in kilometres

    Formula constants and input units must be used together.

  9. Question 9 of 12 Which listed medium can carry both Ethernet data and power to a compatible 80 m camera installation?

    Choose one answer.

    Show the answer: Question 9 of 12

    Answer: A supported twisted-pair channel with compatible power-delivery equipment

    Installation needs include power, supported interfaces and distance.

  10. Question 10 of 12 Two candidate fibre installations fit their nominal reach. What additional evidence should decide whether the named interface fits the actual run?
    Show the answer: Question 10 of 12

    Answer: Specified fibre and optics compatibility, plus the actual connector, splice and cable loss budget

    The lesson’s two-kilometre choice includes the named interface’s reach, required fibre and optics, and a complete loss budget; the nominal distance alone cannot establish those facts.

  11. Question 11 of 12 What should a complete Ethernet PHY name lead you to?

    Choose one answer.

    Show the answer: Question 11 of 12

    Answer: The specified medium, coding and compatibility details of that interface

    A name is a pointer to a concrete specification rather than a compatibility proof by itself.

  12. Question 12 of 12 A CRC counter moves from 112 to 351 without reset. How many new CRC errors were observed?

    Choose one answer.

    Show the answer: Question 12 of 12

    Answer: 239

    Compare counter changes over an interval and account for resets before inferring event rates.

Interview questions

What is the difference between multimode and single-mode fibre? (warm-up)

Multimode fibre has a wide core, 50 or 62.5 µm, so light travels along many paths of slightly different lengths and a pulse spreads out as it goes. That limits its reach as the rate rises: 10GBASE-SR covers 300 m on OM3 and 400 m on OM4. It suits links inside buildings and data centres when matched to the specified optics. Single-mode fibre supports one spatial mode at its operating wavelength; its mode field diameter describes the optical field, not the physical core. 10GBASE-LR reaches 10 km at 1310 nm and 10GBASE-ER 40 km at 1550 nm on the specified single-mode fibre. Chromatic dispersion and loss still limit it. Select fibre and optics from their compatibility, reach and budget specifications, rather than assuming that any multimode and single-mode combination works.

Model answers open with any pass: ₹79 for 1 week ($2.99), one payment that never renews.

  1. Fresher to mid

    A user says file copies are slow. Their desk port has linked at 100 Mb/s instead of 1 Gb/s, and the port's CRC error counter rises during copies. How do you find the cause, step by step?

    Model answer, Pro. Model answers open with any pass; prices are in the notice on this page. First step and follow-ups

  2. Fresher to mid

    Two buildings 2 km apart need a 10 Gb/s link. Which medium and optics would you choose, how would you check the link budget, and what could make the link fail months later?

    Model answer, Pro. First step and follow-ups

Key takeaways

  • Twisted pair reduces common-mode interference by twisting and differential signalling; the named channels reach up to 100 m, and the cable can carry power.
  • Coax shields its signal; it carried the first Ethernet and still carries cable broadband over hybrid fibre-coax.
  • The cited multimode 10GBASE-SR options reach hundreds of metres; single-mode 10GBASE-LR and ER reach 10 to 40 km. G.652.D’s nominal 8.6–9.2 µm mode field diameter is not its core diameter, and its stated cable loss is at most 0.4 dB per km over 1310–1625 nm, with separate short-cable provisions.
  • Radio needs no cable but shares the air; free-space loss grows by 20 dB per tenfold distance and with frequency.
  • Ethernet PHY names read as rate, BASE, medium and coding, and lanes: 100GBASE-LR4 is 100 Gb/s, long wavelength, 64B/66B coding, four lanes.
  • Read the counters first: late collisions, CRC errors and a gigabit port at 100 Mb/s suggest hypotheses; confirm peer settings, cabling and supported link modes before calling the cause.

Terms in this lesson

full duplex
Communication in both directions simultaneously; each direction has its own transmission capacity.
mode field diameter
A measure of the transverse optical-field distribution in a fibre; it is distinct from the glass core’s physical diameter.
multimode fibre
Optical fibre that supports several spatial propagation modes at the stated wavelength.
PHY
A physical-layer interface specification or the hardware that implements it.
single-mode fibre
Optical fibre designed to support one spatial propagation mode at its operating wavelength.

Corrections

  • Distinguished noise reduction from perfect cancellation, sensitivity margin from full link compatibility, and synthetic investigation buckets from proven faults.
  • Kept mode field diameter distinct from core diameter and treated interface counters, radio behavior and negotiated speeds as scoped diagnostic evidence.

References

Related tools

Report a problem with this lesson

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.