05-04-2017 05:28 AM - edited 03-05-2019 08:28 AM
I've gotten very odd behavior with one of my switches. When a device that uses PoE is connected to port 1, the switch reports that it detected the device on port 25:
Jan 8 03:05:12.208: %ILPOWER-7-DETECT: Interface Gi1/0/25: Power Device detected: IEEE PD
Jan 8 03:05:13.371: %ILPOWER-5-POWER_GRANTED: Interface Gi1/0/25: Power granted
Jan 8 03:05:16.650: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/1, changed state to up
Jan 8 03:05:17.650: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/1, changed state to up
The show output from show power inline and show ip int brief contradict each other:
sw2#show power inline
Module Available Used Remaining
(Watts) (Watts) (Watts)
------ --------- -------- ---------
1 740.0 7.0 733.0
Interface Admin Oper Power Device Class Max
(Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Gi1/0/1 auto off 0.0 n/a n/a 30.0
Gi1/0/25 auto on 7.0 Ieee PD 2 30.0
sw2#show ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 10.0.0.14 YES NVRAM up up
FastEthernet0 unassigned YES NVRAM down down
GigabitEthernet1/0/1 unassigned YES unset up up
GigabitEthernet1/0/25 unassigned YES unset down down
The ports from 1-24 are all reporting as power detected on the interface that is +24 ports from the numbered physical port. So port 1 reports 25, port 2 report 26, port 3 reports 27, etc. When I plug a PoE device in to the switch on ports 25-48, they all show as power detected on the interface that is -24 ports from the numbered physical port:
Jan 8 03:12:50.690: %ILPOWER-7-DETECT: Interface Gi1/0/24: Power Device detected: IEEE PD
Jan 8 03:12:52.372: %ILPOWER-5-POWER_GRANTED: Interface Gi1/0/24: Power granted
Jan 8 03:12:55.629: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/48, changed state to up
I only have one device in the switch that I am experimenting with since there is something causing this switch to report incorrectly. Has anyone run in to something like this?