Configuring PoE
NOTE: The following PoE CLI commands are available starting in FortiSwitchOS 3.3.0.
This section covers the following topics:
- Enabling PoE on the port
- Enabling PoE pre-standard detection
- Configuring PoE port settings
- Resetting the PoE port
- Displaying general PoE status
Enabling PoE on the port
config switch-controller managed-switch
edit <FortiSwitch_serial_number>
config ports
edit <port_name>
set poe-status {enable | disable}
end
end
For example:
config switch-controller managed-switch
edit S524DF4K15000024
config ports
edit port1
set poe-status enable
end
end
Enabling PoE pre-standard detection
Depending on the FortiSwitch model, you can manually change the PoE pre-standard detection setting on the global level or on the port level. Starting with FortiOS 6.4.5, the factory default setting for poe-pre-standard-detection
is disable
.
PoE pre-standard detection is a global setting for the following FortiSwitch models: FSR-112D-POE, FS-548DFPOE, FS-524D-FPOE, FS-108D-POE, FS-224D-POE, FS-108E-POE, FS-108E-FPOE, FS-124E-POE, and FS-124EFPOE. For the other FortiSwitch PoE models, PoE pre-standard detection is set on each port. |
On the global level, set poe-pre-standard-detection
with the following commands:
config switch-controller managed-switch
edit <FortiSwitch_serial_number>
set poe-pre-standard-detection {enable | disable}
next
end
On the port level, set poe-pre-standard-detection
with the following commands:
config switch-controller managed-switch
edit <FortiSwitch_serial_number>
config ports
edit <port_name>
set poe-pre-standard-detection {enable | disable}
next
end
next
end
Configuring PoE port settings
Starting in FortiOS 7.2.4 with FortiSwitchOS 7.2.3, you can configure the following PoE port settings on managed switches:
-
Port mode—You can set the port mode to IEEE802.3 AF or IEEE802.3 AT.
-
Port priority—You can set the port priority to critical, high, medium, or low. If there is not enough power, power is allotted first to critical-priority ports, then to high-priority ports, then to medium-priority ports, and then to low-priority ports. Medium priority is available only on the following models: FS-224D-FPOE, FS-224E-POE, FS-248E-POE, FS-248E-FPOE, FS-424E-POE, FS-424E-FPOE, FS-M426E-FPOE, FS-448E-POE, FS-448E-FPOE, FS-524D-FPOE, and FS-548D-FPOE.
-
Port power—You can set the port to use normal, power, perpetual power, or perpetual-fast power. Refer to the FortiSwitchOS feature matrix to see which FortiSwitch models support this feature.
Port power setting |
Description |
---|---|
normal |
PoE power is not provided while a switch restarts. |
perpetual |
PoE power is provided during a soft reboot (switch is restarted while powered up). |
perpetual-fast |
PoE power is provided during a hard reboot (the switchʼs power is physically turned off and then on again). |
To configure the PoE port settings:
config switch-controller managed-switch
edit <FortiSwitch_serial_number>
config ports
edit <port_name>
set poe-port-mode {IEEE802_3AF | IEEE802_3AT}
set poe-port-priority {critical-priority | high-priority | low-priority | medium-priority}
set poe-port-power {normal | perpetual | perpetual-fast}
next
end
next
end
Resetting the PoE port
Power over Ethernet (PoE) describes any system that passes electric power along with data on twisted pair Ethernet cabling. Doing this allows a single cable to provide both data connection and electric power to devices (for example, wireless access points, IP cameras, and VoIP phones).
The following command resets PoE on the port:
execute switch-controller poe-reset <FortiSwitch_serial_number> <port_name>
Displaying general PoE status
get switch-controller <FortiSwitch_serial_number> <port_name>
The following example displays the PoE status for port 6 on the specified switch:
# get switch-controller poe FS108D3W14000967 port6
Port(6) Power:3.90W, Power-Status: Delivering Power
Power-Up Mode: Normal Mode
Remote Power Device Type: IEEE802.3AT PD
Power Class: 4
Defined Max Power: 30.0W, Priority:3
Voltage: 54.00V
Current: 78mA