Korthveil shows and controls Power over Ethernet (PoE) in one place, Network › Power over Ethernet: the PoE ports of the firewall itself, when it has any, and of your managed switches. You see what is plugged in, the power each device draws when the hardware reports it, the switches' PoE budgets, and which switch or firewall port powers each access point. Korthveil can restart a hung access point by turning its port's power off and on again, and can switch devices off at night.
The example:
| Firewall | fw-main, LAN 192.0.2.1 |
| Switch | sw1, a PoE switch with a 120 W PoE budget, added under Network › Switches with SNMPv3 and Allow changes on |
| Access points | hall-ap (192.0.2.20) and kids-ap (192.0.2.21), adopted in the Wireless add-in, both powered by sw1 |
| Camera | garage-cam (192.0.2.31, MAC 02:00:00:00:00:31) on sw1 |
| Schedule | night: 22:00 to 06:30, made under Firewall › Aliases & objects › Schedules |
What is supported. Switch PoE works with any switch that answers the standard POWER-ETHERNET-MIB (RFC 3621) over SNMP: power on or off per port, the class the device announced, the port priority (critical, high, low), the switch's PoE budget and how much of it is used. Most switches do not report the watts of each port in that MIB; Korthveil then shows the class instead and never guesses watts. PoE ports on the firewall itself work where Linux drives the PoE controller (the kernel's PSE framework: Microchip PD692x0, Skyworks Si3474, TI TPS23881 and regulator-based controllers). Most x86 firewalls have no PoE ports; those that do usually use the maker's own controller, which needs a per-model driver that Korthveil does not have yet. Every port without PoE says so plainly: this port has no PoE. No firewall or switch model is listed as PoE-supported until it has been tested on real hardware.
Step 1: Let Korthveil read your PoE switch
- Add the switch under Network › Switches (see Switch management) with SNMPv3.
- To let Korthveil turn PoE off and on, restart devices and set priorities, turn on Allow changes for the switch and commit. Without it, Korthveil only reads.
- Open Network › Power over Ethernet. The PoE ports list shows every PoE port of sw1 with the device on it, its state (delivering, searching, disabled, fault) and its class, for example delivering (class 4).
Step 2: See which access point is on which port
Korthveil finds each access point of the Wireless add-in, and each device you mark, on the switches' MAC address tables, by LLDP (the access point announces its name), or in the firewall's own neighbour table for a device on a firewall PoE port. Devices and recovery then reads, for example:
- hall-ap: powered by sw1 port 7, class 4
- kids-ap: powered by sw1 port 8, class 2
The same line appears in the Power column of Wireless › Access points.
Step 3: Restart a hung device
Press Power-cycle next to its port and confirm. The port's power goes off for 5 seconds and comes back; Korthveil checks that it is on again. Every power-cycle is in the audit log (poe.power-cycle, with who pressed it). Korthveil never turns off the switch port it reaches the switch through, nor an uplink.
Step 4: Automatic recovery
Recovery is on by default for the access points of the Wireless add-in. When one stops answering for 5 minutes while its port still has link or PoE power, Korthveil power-cycles that port once and waits 5 minutes for it to come back. Each port is power-cycled at most 3 times in 24 hours; that limit survives a restart of the firewall. You get an alert (check poe under Monitoring › Alerts) only if the device stays down: after the power-cycle did not help, when its port has no link or power (a cable problem a power-cycle does not fix), when Korthveil does not know its port, or when the daily limit is reached. A device that answers again after a power-cycle is only noted in the audit log (poe.recover).
To watch another device, for example the camera: under Marked devices press Add a device, enter garage-cam, 192.0.2.31 and 02:00:00:00:00:31, keep Power-cycle when it stops answering ticked, and press Save and apply. Under Recovery settings you can change the minutes without an answer (2 to 120) and the power-cycles a day (1 to 3), or turn recovery off.
Step 5: Switch devices off at night
- Make the schedule night under Firewall › Aliases & objects › Schedules: 22:00 to 06:30.
- Under Marked devices, add kids-ap (or pick its MAC) and choose Off during night. Press Save and apply.
At 22:00 Korthveil turns that port's PoE off and at 06:30 on again, each time in the audit log (poe.schedule). It turns a port on again only if the schedule turned it off. A device switched off by its schedule is never "recovered" and causes no alert.
Step 6: PoE ports on the firewall itself
If the firewall has PoE ports Linux drives, open Network › Interfaces, zones & routes, edit the port and tick Power over Ethernet:
| Setting | Example | Meaning |
|---|---|---|
| Power | On | On or off |
| Power limit (W) | 15.4 | The most the port gives; empty: the controller's own |
| Priority | 0 | 0 is the highest; when the budget runs out, the lowest priority goes off first (controllers with priorities only) |
| Off schedule | night | Off inside the schedule |
| Device to watch (IP) | 192.0.2.20 | Power-cycle the port when this device stops answering |
These settings are part of the configuration: they are applied on commit, and a commit that fails, or that you do not confirm in time, rolls back and puts the port back as it was. A port without PoE fails the commit with this port has no PoE. The settings are also under interfaces[].poe in the configuration (docs/CONFIG-MODEL.md).
Alerts
The poe check raises an alert only from values the hardware itself reports: a switch's PoE budget used at or above its own threshold (else 90 %), a PoE supply the switch reports as faulty, a port in fault, a rise in the switch's overload or power-denied counters, a firewall port whose device draws more than its class allows (two checks in a row, 5 % margin), and devices that stay down.
Troubleshooting
- No switch ports listed: the Switches add-in is off, the switch does not answer POWER-ETHERNET-MIB, or the SNMP view hides it. Look at the switch under Network › Switches.
- Power-cycle refused, "changes are not allowed": turn on Allow changes for the switch (SNMPv3 with write access) and commit.
- Priority cannot be set: some switches let you set PoE priority only on their own console.
- "Not found on a PoE port": the device's MAC is not in a switch MAC table yet (it has not sent anything since the switch forgot it), it is behind an unmanaged switch, or it has no IP address Korthveil knows. Mark it with its MAC address.