Hands-On Lab: Power over Ethernet (PoE) Basics

This hands-on lab covers verifying PoE capability on a switch port, checking how much power is being drawn by a connected device such as an IP phone or access point, and configuring power priority to protect critical devices during a power budget shortage.

Power over EthernetPoE VerificationPower Priority Configuration

~3 min read · Updated Sep 12, 2026

Lab Objective

Verify PoE status and power consumption on a switch port connected to a powered device, and configure power priority so a critical device is protected if the switch's total power budget is exceeded.

Lab Purpose

PoE eliminates the need for separate electrical wiring to devices like IP phones, wireless access points, and security cameras, but every switch has a finite total power budget shared across all its ports. Engineers must know how to verify actual power draw and how to prioritize critical devices when that budget is tight.

Lab Topology

Switch1 ---- Gi1/0/1 ---- IP Phone
Switch1 ---- Gi1/0/2 ---- Wireless Access Point

Both devices are PoE-powered by Switch1

Task 1: Verify PoE Is Enabled on the Switch Ports

Confirm PoE is active (the default) on both Gi1/0/1 and Gi1/0/2.

Task 2: Check Power Consumption Per Port

Display how much power each connected device is actually drawing.

Task 3: Check Total Switch Power Budget

Display the switch's total available and currently used power budget.

Task 4: Configure Power Priority

Configure the IP phone's port with a higher power priority than the access point's port, so the phone remains powered first if the total budget becomes insufficient.

Task 5: Simulate a Power Shortage Response

Explain what happens if a newly connected high-power device would exceed the switch's remaining budget, given the priority configured above.

Solution and Verification

Switch1# show power inline gigabitethernet1/0/1

Interface  Admin  Oper       Power(Watts)  Device
Gi1/0/1    auto   on         6.3           IP Phone

Switch1# show power inline gigabitethernet1/0/2

Interface  Admin  Oper       Power(Watts)  Device
Gi1/0/2    auto   on         12.9          AIR-AP

Switch1# show power inline

Available:370.0(w)  Used:19.2(w)  Remaining:350.8(w)

Switch1(config)# interface gigabitethernet1/0/1
Switch1(config-if)# power inline priority high

Switch1(config)# interface gigabitethernet1/0/2
Switch1(config-if)# power inline priority low

Switch1# show power inline gigabitethernet1/0/1 | include Priority

Priority: high

-- With this priority set, if the switch's total
-- power budget were ever exceeded by a newly
-- connected device, the switch would deny power
-- to the LOWER-priority access point port first,
-- before ever removing power from the HIGH-priority
-- IP phone port -- protecting voice service
-- specifically during a power-constrained situation

Key Takeaway

show power inline is the essential command for confirming both individual port draw and the switch's overall remaining budget — and configuring power priority ensures that if the budget is ever exceeded, the switch makes a deliberate choice about which devices lose power rather than an arbitrary one, protecting genuinely critical devices like IP phones over less critical ones.

Written & researched by Dr. Shahin Siami

Related Articles

Hands-On Lab: Configuring VTP Clients and Servers on Catalyst Switches

This hands-on lab configures VLAN Trunking Protocol between a server switch and a client switch, demonstrating how VLANs created on the server automatically propagate to the client without manual configuration on every device.

Continue

Hands-On Lab: Configuring Standard VLANs on Catalyst Switches

This hands-on lab covers creating standard-range VLANs, assigning access ports to them, and verifying that devices in different VLANs are properly isolated from each other at Layer 2.

Continue

Hands-On Lab: Verifying IP Parameters on macOS (GUI)

This hands-on lab covers checking a Mac's current IP configuration using the System Settings network panel, viewing detailed TCP/IP information, and renewing a DHCP lease directly from the graphical interface.

Continue

Hands-On Lab: Verifying IP Parameters on Linux (GUI and CLI)

This hands-on lab covers checking a Linux machine's current IP configuration using both the GUI network settings panel and command-line tools, and demonstrates renewing a DHCP lease using standard Linux networking utilities.

Continue

Hands-On Lab: Verifying IP Parameters on Windows (GUI and CLI)

This hands-on lab covers checking a Windows PC's current IP configuration using both the graphical Network Connections interface and the command-line ipconfig utility, including releasing and renewing a DHCP-assigned address.

Continue

Hands-On Lab: Configuring GRE Point-to-Point Tunnels

This hands-on lab configures a GRE tunnel between two routers across an intermediate transit network, allowing routing protocols and multicast traffic to pass between sites even when the underlying transport network would not normally support them directly.

Continue