54
Korenix Feature | Korenix
5-4
Poecfg
program name
poecfg
Description
Get/Set POE Device Configuration
Usage
:
poecfg -g PORT_NUM - get PoE status
poecfg -s PORT_NUM [0|1] - set PoE [OFF|ON]
poecfg -S Save Config
poecfg -r Read Config
poecfg -c Clean Config
Example:
Get POE status on port 1 (without PD on port 1)
# poecfg -g 1
PoE Port 1
control status is On
power delivery status is Off
Get POE status on port 4 (PD on port 4, and power is 48 voltage)
# poecfg -g 4
PoE Port 4
control status is On
power delivery status is On
Voltage 46.2V
Current 74mA
Power 3.41W
Turn off POE on port 1
# poecfg -s 1 0
Set PoE Port 1 to Off
# poecfg -g 1
PoE Port 1
control status is Off
power delivery status is Off