Sunday, September 12, 2021

POE Camera is drawing power - but interface is showing as down?

I have a POE camera, connected to a switch (EdgeCore AS4610-54P) running Cumulus Linux 4.3.0. Cable length is approximately 60m from the switch to the camera.

If I check the POE stats in Cumulus, that device does seem to be drawing power on port 3 (only 5W though):

cumulus@cumulus:mgmt:~$ sudo poectl -i swp1-swp48 Port Status Allocated Priority PD type PD class Voltage Current Power ----- -------------------- --------- -------- -------------- -------- ------- ------- --------- swp1 searching 0.0 W low none none 0.0 V 0 mA 0.0 W swp2 searching 0.0 W low none none 0.0 V 0 mA 0.0 W swp3 connected 31.2 W low IEEE802.3af/at 4 84.4 V 109 mA 5.9 W 

However, if I check the port status - it shows as down (it's connected to port 3)

cumulus@cumulus:mgmt:~$ net show interface all State Name Spd MTU Mode LLDP Summary ----- ------ --- ----- --------- ---------------------- -------------------------- UP lo N/A 65536 Loopback IP: 127.0.0.1/8 lo IP: ::1/128 UP eth0 1G 1500 Mgmt Master: mgmt(UP) eth0 IP: 192.168.75.60/24(DHCP) UP swp1 1G 9216 Access/L2 localhost (Ethernet28) Master: bridge(UP) DN swp2 0M 9216 Access/L2 Master: bridge(UP) DN swp3 0M 9216 Access/L2 Master: bridge(UP) DN swp4 0M 9216 Access/L2 Master: bridge(UP) DN swp5 0M 9216 Access/L2 Master: bridge(UP) DN swp6 0M 9216 Access/L2 Master: bridge(UP) DN swp7 0M 9216 Access/L2 Master: bridge(UP) 

I also checked this with a second switch (Ruckus 7150-C10ZP) - and it's similar - POE shows it as drawing power (port 3):

ICX7150-C10ZP Switch>show poe Power Capacity: Total is 240000 mWatts. Current Free is 210000 mWatts. Power Allocations: Requests Honored 11 times Port Admin Oper ---Power(mWatts)--- PD Type PD Class Pri Fault/ State State Consumed Allocated Error -------------------------------------------------------------------------- 1/1/1 On Non-PD 0 0 n/a n/a 3 n/a 1/1/2 On Off 0 0 n/a n/a 3 n/a 1/1/3 On On 6100 30000 802.3at Class 4 3 n/a 1/1/4 On Off 0 0 n/a n/a 3 n/a 1/1/5 On Non-PD 0 0 n/a n/a 3 n/a 1/1/6 On Off 0 0 n/a n/a 3 n/a 1/1/7 On Off 0 0 n/a n/a 3 n/a 1/1/8 On Off 0 0 n/a n/a 3 n/a 1/2/1 On Off 0 0 n/a n/a 3 n/a 1/2/2 On Off 0 0 n/a n/a 3 n/a -------------------------------------------------------------------------- Total 6100 30000 

But interface status shows as down (port 3):

ICX7150-C10ZP Switch>show interfaces briefTFTP session timed out Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name 1/1/1 Up Forward Full 1G None No 1 0 d4c1.9e9c.0532 1/1/2 Down None None None None No 1 0 d4c1.9e9c.0533 1/1/3 Down None None None None No 1 0 d4c1.9e9c.0534 1/1/4 Down None None None None No 1 0 d4c1.9e9c.0535 1/1/5 Up Forward Full 1G None No 1 0 d4c1.9e9c.0536 1/1/6 Down None None None None No 1 0 d4c1.9e9c.0537 1/1/7 Down None None None None No 1 0 d4c1.9e9c.0538 1/1/8 Down None None None None No 1 0 d4c1.9e9c.0539 1/2/1 Down None None None None No 1 0 d4c1.9e9c.053b 1/2/2 Down None None None None No 1 0 d4c1.9e9c.053c 1/3/1 Down None None None None No 1 0 d4c1.9e9c.053d 1/3/2 Down None None None None No 1 0 d4c1.9e9c.053e mgmt1 Down None None None None No None 0 d4c1.9e9c.0532 

I tested this previously using just a patch lead to the switch, and I could have sworn it was working fine.

Any ideas what's going on? (I believe I'm still under distance limits for POE and CAT6)

UPDATE: I did do a cable test earlier - and from what I can tell it passed (image link). However, let me know if there's something I missed.



No comments:

Post a Comment