09-24-2023 07:24 AM
Hi.
Is i possible to configure a Cisco switchport to deliver PoE only? No data?
I need to power up a device that does not need data, but if I just plug it in, the switch log gets filled up with Poe Device connected / disconnected messages
Thanks
Solved! Go to Solution.
09-24-2023 08:28 AM
Hello Dal,
it's possible to configure a Cisco switchport to deliver PoE (Power over Ethernet) only without providing data. You can achieve this by configuring the switchport as an "access" port with the "power inline" command and disabling data transmission using the "switchport mode access" and "switchport access vlan" commands.
interface <interface-type> <interface-number>
switchport mode access
switchport access vlan <VLAN-number> # Assign a VLAN for the port
power inline static # Enables PoE without data
This configuration will deliver PoE to the connected device without allowing any data transmission on the port, reducing log entries related to data connectivity.
09-24-2023 08:28 AM
Hello Dal,
it's possible to configure a Cisco switchport to deliver PoE (Power over Ethernet) only without providing data. You can achieve this by configuring the switchport as an "access" port with the "power inline" command and disabling data transmission using the "switchport mode access" and "switchport access vlan" commands.
interface <interface-type> <interface-number>
switchport mode access
switchport access vlan <VLAN-number> # Assign a VLAN for the port
power inline static # Enables PoE without data
This configuration will deliver PoE to the connected device without allowing any data transmission on the port, reducing log entries related to data connectivity.
09-24-2023 09:58 AM
Hi.
Thanks for answering.
But the solution didn't help
The log is still full of:
16:53:52.821: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:53:53.793: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:53:54.837: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:53:54.839: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:53:55.792: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:53:56.831: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:53:56.833: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:53:57.801: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:53:58.842: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:53:58.843: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:53:59.798: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:54:00.840: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:54:00.842: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:54:01.794: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:54:02.834: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:54:02.836: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:54:03.817: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:54:04.831: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:54:04.833: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:54:05.825: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:54:06.813: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:54:06.815: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:54:07.804: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
16:54:08.843: %ILPOWER-5-PD_ENTRY_REMOVAL: Interface GigabitEthernet1/0/26: power device entry removed, admin_state=STATIC oper_state=ON
16:54:08.845: %ILPOWER-5-IEEE_DISCONNECT: Interface Gi1/0/26: PD removed
16:54:10.801: %ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
This is the port config:
switchport access vlan 1098
switchport mode access
power inline static
09-24-2023 03:22 PM
What is this PD and how much power is it meant to draw?
Post the complete output to the command "sh interface Gi1/0/26".
11-21-2024 05:07 AM
not sure, how this would block data traffic. this is essentially the config to have data connectivity. acces mode and access a vlan.
11-21-2024 05:15 AM
Assign the Data VLAN that does not exist in the VLAN DB.
11-21-2024 06:11 AM
Sure, a blackhole vlan is a solution as well but this will still generate traffic though. The packet counter will still have activity.
11-21-2024 03:11 PM
@both.g.alexander wrote:
Sure, a blackhole vlan is a solution as well but this will still generate traffic though. The packet counter will still have activity.
Any data originating from that wire goes nowhere. So getting PoE off a wire but data goes nowhere is no different to plugging an injector instead. At the end of the day, the data coming from the downstream client is discarded by the switch because the VLAN does not exist in the VLAN DB.
11-22-2024 01:31 AM
only if you delete the vlan from the DB. but yeah thats ok also.
09-27-2023 08:45 AM - edited 09-27-2023 08:46 AM
Never mind, the solution from @guruvignesh works as intended as soon as I connected something that actually draws power.
No more excessive logging; just three entries, and that was when I plugged the device in:
%ILPOWER-5-DETECT: Interface Gi1/0/26: Power Device detected: IEEE PD
%LINK-3-UPDOWN: Interface GigabitEthernet1/0/26, changed state to down
%ILPOWER-5-POWER_GRANTED: Interface Gi1/0/26: Power granted
Excellent!
This is the switchport config:
interface GigabitEthernet1/0/26
switchport access vlan 1098
switchport mode access
power inline static
end
As for the device I wanted powered, it is a PoE to Micro USB adapter
But in my case, I just need the power to power up a HAN meter in my fuse box
Thanks!
11-21-2024 05:06 AM
Just force it into err-dis state. Works best.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide