How Power over Ethernet (PoE) Works: 802.3af/at/bt Explained

Power over Ethernet (PoE) is a set of IEEE standards that allow electrical power to be delivered alongside data over standard Ethernet copper cabling. Instead of running separate power cables to every access point, IP camera, VoIP phone, and IoT sensor in a building, PoE lets a single Cat5e or Cat6 cable carry both the network connection and the power supply. The technology has evolved through four generations -- 802.3af, 802.3at, 802.3bt Type 3, and 802.3bt Type 4 -- increasing the available power from 15.4 watts to nearly 100 watts per port.

PoE is foundational to modern network infrastructure. It simplifies deployment (no electrician needed at each device location), enables centralized power management (UPS at the switch protects all connected devices), and makes it practical to install network equipment in locations where AC power outlets do not exist -- ceilings, outdoor poles, elevator shafts, and factory floors. Understanding how PoE works requires knowledge of the electrical characteristics of Ethernet cabling, the negotiation protocols between power-sourcing equipment and powered devices, and the practical constraints of power budgeting across a switch.

Fundamentals: PSE and PD

Every PoE system has two components:

Before applying power, the PSE must determine whether the device at the other end of the cable is a legitimate PD (and not a non-PoE device like a laptop that would be damaged by unexpected voltage on the data pins). This detection and classification process is a critical safety mechanism.

PoE Standards Evolution

IEEE Power over Ethernet Standards Standard PSE Power PD Power Pairs Used Voltage Min Cable 802.3af Type 1 (2003) 15.4 W 12.95 W 2 pairs 44-57 V Cat3 802.3at Type 2 / PoE+ (2009) 30.0 W 25.50 W 2 pairs 50-57 V Cat5 802.3bt T3 Type 3 / 4PPoE (2018) 60.0 W 51.00 W 4 pairs 50-57 V Cat5e 802.3bt T4 Type 4 / PoE++ (2018) 99.9 W 71.30 W 4 pairs 52-57 V Cat5e PD Power = PSE Power minus cable resistance losses (up to 100m Cat5e/Cat6)

The gap between PSE output power and PD available power is due to resistive losses in the cable. A 100-meter Cat5e run has approximately 12.5 ohms of loop resistance per pair, and at the currents involved in PoE, the I2R losses are significant. This is why PoE standards specify both the PSE output and the guaranteed minimum at the PD end.

How Power Is Delivered Over Ethernet Cables

An Ethernet cable (Cat5e or better) contains four twisted pairs of copper wire, for a total of eight conductors. In 10/100 Mbps Ethernet (10BASE-T, 100BASE-TX), only two pairs are used for data -- pairs on pins 1-2 and 3-6. The other two pairs (pins 4-5 and 7-8) are spare. In Gigabit Ethernet (1000BASE-T) and above, all four pairs carry data.

PoE can deliver power in two ways, called "modes" or "alternatives":

Alternative A: Power on Data Pairs

Power is applied as a common-mode voltage on the same pairs that carry data (pins 1-2 and 3-6). This works because Ethernet data signals are differential: the data is encoded as the voltage difference between the two wires in a pair, and any voltage that appears equally on both wires (common-mode) is ignored by the Ethernet transceiver. The PSE applies +48V DC on one data pair's center tap and return on the other pair's center tap. The magnetic isolation transformers in the Ethernet port separate the DC power from the AC data signal.

Alternative A is the mandatory mode for endpoint PSEs (PoE switches) under 802.3af and 802.3at. It allows PoE to work even with only two connected pairs, making it compatible with legacy Cat3 wiring that only has two pairs.

Alternative B: Power on Spare Pairs

Power is applied on the two spare pairs (pins 4-5 and 7-8) that are not used for data in 10/100 Mbps Ethernet. One pair carries the positive voltage, the other carries the return. This mode does not interfere with data at all, since the power and data travel on physically separate conductors.

Alternative B is the mandatory mode for midspan injectors (since they cannot access the data pairs' center taps without being inline with the Ethernet transceivers). For 802.3bt (Type 3 and Type 4), both alternatives are used simultaneously -- power is delivered on all four pairs to achieve the higher wattage levels.

PoE Power Delivery on Ethernet Cable Pairs Pin T568B Color 10/100 Data Alt A (Data Pairs) Alt B (Spare Pairs) 1 Wht/Orange TX+ DC+ (via center tap) -- 2 Orange TX- DC+ (via center tap) -- 3 Wht/Green RX+ DC- (via center tap) -- 4 Blue spare -- DC+ or DC- 5 Wht/Blue spare -- DC+ or DC- 6 Green RX- DC- (via center tap) -- 7 Wht/Brown spare -- DC- or DC+ 8 Brown spare -- DC- or DC+ 802.3bt Type 3/4 uses both Alt A and Alt B simultaneously (4-pair PoE)

Detection: Is This a PoE Device?

The most critical safety feature in PoE is the detection phase. A PSE must never apply 48-57V DC to a port unless it has confirmed that a compliant PD is connected. Applying power to a non-PoE device -- a laptop's Ethernet port, a printer, or a bare cable -- could damage the device's Ethernet transceiver or create a safety hazard.

Detection works by applying a small test voltage (2.8-10V) to the cable and measuring the current that flows. A compliant PD contains a 25 kohm "signature resistor" between its power input pins. The PSE applies at least two voltage levels and measures the resulting current. If the I-V relationship matches a 25 kohm resistance (within tolerance), the PSE knows a valid PD is connected. If the resistance is too low (a short circuit or a non-PoE device), too high (an open circuit or no device), or non-linear (a capacitive load like some legacy equipment), the PSE does not apply power.

The detection voltage is low enough that it cannot damage non-PoE equipment. Even if a device does not have the 25 kohm signature resistor, the 2.8-10V test signal is within the common-mode tolerance of standard Ethernet transceivers.

Classification: How Much Power Does It Need?

After detection confirms a valid PD, the PSE performs classification to determine how much power the PD requires. During classification, the PSE applies a voltage between 14.5V and 20.5V, and the PD draws a specific current to indicate its power class:

Class   PD Current     Max PD Power     Typical Use Case
  0     0-4 mA         12.95 W          Default (full 802.3af budget)
  1     9-12 mA        3.84 W           VoIP phones
  2     17-20 mA       6.49 W           IP cameras (basic)
  3     26-30 mA       12.95 W          Wireless APs, PTZ cameras
  4     36-44 mA       25.50 W          High-power APs (802.3at)
  5     (via LLDP)     40.0 W           802.3bt Type 3
  6     (via LLDP)     51.0 W           802.3bt Type 3
  7     (via LLDP)     62.0 W           802.3bt Type 4
  8     (via LLDP)     71.3 W           802.3bt Type 4

Classes 0-4 use the physical-layer current-based classification described above. Classes 5-8 (introduced in 802.3bt) require LLDP (Link Layer Discovery Protocol) negotiation after the link is established, because the physical classification mechanism cannot distinguish classes beyond 4.

Power Negotiation via LLDP

LLDP-MED (Media Endpoint Discovery) and the 802.3bt power negotiation extensions allow the PSE and PD to exchange detailed power information over the data link after the Ethernet connection is established. This provides capabilities that physical-layer classification alone cannot:

Cisco devices also support CDP (Cisco Discovery Protocol) for PoE negotiation, which predates the LLDP-based standards. In mixed-vendor environments, LLDP is the interoperable choice, but Cisco-to-Cisco deployments often use CDP for richer negotiation features.

Endpoint PSE vs Midspan Injectors

Power can be sourced from two types of equipment:

Endpoint PSE (PoE Switch)

An endpoint PSE is an Ethernet switch with integrated PoE power supplies. Each port has a PSE controller that performs detection, classification, and power management. The switch's internal power supply must be sized to handle the aggregate PoE load across all ports. A 48-port 802.3bt Type 4 switch could theoretically need to supply up to 48 x 99.9W = 4,795W of PoE power, though in practice, most deployments use a fraction of this due to power budgeting and the fact that most PDs draw far less than the maximum.

Endpoint PSEs can use either Alternative A or Alternative B for power delivery. They have direct access to the data pairs' magnetic transformers, so they can inject power on the center taps of the data pairs (Alternative A) or on the spare pairs (Alternative B) or both (802.3bt).

Midspan Injector

A midspan injector is a standalone device that sits between a non-PoE switch and the PDs. It has two Ethernet ports per channel: one connects to the switch (data in) and one connects to the PD (data + power out). The midspan passes data through transparently while injecting power onto the spare pairs (Alternative B only). Midspan injectors cannot use Alternative A because they do not have access to the data pairs' center taps -- they would need to break the data path and add isolation transformers, which is impractical.

Midspan injectors are useful when upgrading an existing non-PoE network: you keep your current switch and add a midspan in the wiring closet to provide PoE to new devices. They are also used in scenarios where a higher-power PoE standard is needed than the switch supports (e.g., adding 802.3bt to a network with 802.3af switches).

Power Budgeting

One of the most common operational challenges with PoE is power budgeting -- ensuring that the total power demanded by all PDs does not exceed the PSE's power supply capacity. A 48-port PoE switch does not necessarily have enough internal power to run all 48 ports at maximum power simultaneously.

Consider a typical enterprise access switch: a Cisco Catalyst 9300-48P has a PoE budget of 740W. If all 48 ports connect 802.3at (30W) devices, the total demand would be 1,440W -- nearly double the budget. The switch must either deny power to some ports or negotiate lower power allocations.

Network administrators manage PoE budgets through several mechanisms:

Cable Length and Power Loss

PoE is specified for cable runs up to 100 meters, the same maximum as Ethernet data. However, power loss increases linearly with cable length due to the DC resistance of the copper conductors. A Cat5e cable has a maximum DC loop resistance of about 12.5 ohms per pair for a 100-meter run. With 802.3af delivering 350 mA per pair, the I2R loss is approximately:

P_loss = I^2 x R = (0.350)^2 x 12.5 = 1.53 W per pair
Total loss (2 pairs) = ~3.06 W

With 802.3bt Type 4 at ~600 mA per pair (4 pairs):
P_loss per pair = (0.600)^2 x 12.5 = 4.50 W
Total loss (4 pairs) = ~18 W

This is why the PD available power is significantly less than the PSE output power, and why cable quality matters for high-power PoE. Cat6A cable has lower DC resistance than Cat5e (approximately 7 ohms per 100m pair), reducing losses. For 802.3bt deployments, Cat6A is strongly recommended.

For runs shorter than 100 meters, the losses are proportionally lower. A 30-meter cable run loses only about 30% of the power lost by a 100-meter run, which means more power is available at the PD.

Disconnection and Safety

PoE includes multiple safety mechanisms to prevent hazards:

PoE for Network Infrastructure

PoE has become the standard power delivery method for several categories of network infrastructure devices:

PoE and Network Design

PoE affects network design in ways that go beyond simply adding power to cables. When every access point, camera, and phone depends on the switch for both connectivity and power, the switch becomes a single point of failure for a much larger portion of the infrastructure. Key design considerations include:

Try It Yourself

The network switches, access points, and cameras powered by PoE all connect to the internet through Ethernet links that carry IP traffic routed by BGP. Use the god.ad BGP Looking Glass to trace the routes from your network to any destination on the internet and explore the infrastructure that connects PoE-powered devices to the global routing table.

See BGP routing data in real time

Open Looking Glass
More Articles
What is DNS? The Internet's Phone Book
What is an IP Address?
IPv4 vs IPv6: What's the Difference?
What is a Network Prefix (CIDR)?
How Does Traceroute Work?
What is a CDN? Content Delivery Networks Explained