Troubleshooting Tip: Diagnosing a PoE fault on a FortiSwitch
Description
This article describes various ways to detect a PoE fault on a FortiSwitch.
Scope
FortiSwitch-424D-POE v6.2.0 build0200.
A POE error is seen as follows:
FW1 # exec ssh admin@x.x.x.x
get switch poe inline
Unit Power Budget: 240.00W
Unit Guard Band: 19.00W
Unit Power Consumption: 0.00W
Unit Temperature: 0.00 Centigrade
Unit Poe Power Mode : Priority Based.
Interface Status State Max-Power(W) Power-consumption(W) Priority Class Error
------------------------------------------------------------------------------------------------------------
port1 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4
port2 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4
port3 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4
port4 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4
port5 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4
port6 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4
port7 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4
port8 Enabled Fault:4 N/A N/A N/A N/A Power Fault: Error Type 4 all_ports_switch_poe_status:err bad index:4

Solution
- Verify if the FortiSwitch Model and switchport support PoE. Certain FortiSwitch models may only partially support PoE or not support PoE at all.Check the FortiSwitch model datasheet for PoE support information.
- Consider whether this is a new unit or if, before this issue, FortiSwitch PoE has worked as expected.
- Consider whether, before this issue, there was any change made on the FortiSwitch or if there was a power outage that affected it.
- Try resetting PoE on the FortiSwitch port with the following command (change 'X' with the port number), then test PoE again:
- Try the following test on the FortiSwitch during a maintenance window and check the PoE status after:
- Try factory-resetting the Switch once:
- Check if the FortiSwitch port shows a Power Status fault:
- Check if the FortiSwitch hardware status shows an invalid PoE firmware version 0.0.0.0 or 15.15.15.15.
- Check if the PSU status is bad.
- Check if running execute log display in FortiSwitch shows PoE warnings as shown below:
- Consider upgrading the affected FortiSwitch to the latest firmware in v6.4. x, v7.0. x, or v7.2.x. After that, check if the issue persists.
- Disable 'poe-pre-standard-detection' if it is not in use.
The purpose of 'poe-pre-standard-detection' (also called legacy detection or capacitor detection) is to support old PD like the Cisco 794x phone, which was released decades ago. If the user does not have any of these old PDs, keep pre-standard detection disabled (the default option).
There was a bug in FortiSwitchOS v7.0.3 GA where 'poe-pre-standard-detection' is always enabled.
The issue is fixed in FortiSwitchOS v7.0.4 GA. From FortiSwitchOS v7.0.4 and up, 'poe-pre-standard-detection' is disabled by default.
FortiGate CLI (for Managed FortiSwitch units):
config switch-controller managed-switch
edit <FortiSwitch_serial_number>
set poe-pre-standard-detection disable
next
end
FortiSwitch CLI (For Standalone FortiSwitch units):
config switch global
show full
set poe-pre-standard-detect disable
end
- Verify that there are no PSE-PSE port connections on the FortiSwitch.
- Check errors related to the temp sensor in the PoE module.
- If the issue persists, log a ticket with Fortinet Support and attach the following logs from the affected FortiSwitch:
