09-09-2016 07:23 AM - edited 03-08-2019 07:21 AM
Hello,
Could someone just confirm some details about Cisco switch PoE configuration please? In particular on C2960X running 15.2
I have read the info on PoE at:
But I'm not 100% clear on the differences between setting 'static' and 'consumption' max values, is this summary correct?:
If I set a static value then the value I set is allocated to that port whether or not there is a device attached, and the port gets priority when PoE is allocated on switch start-up. I can also set a maximum value which, if breached, will result in power to that port being withdrawn. But this is only measured at the point of allocation and is according to the IEEE class of the device.
If I set a consumption value then if a device exceeds this value at any point then power is withdrawn (or if I set policing to 'log' then power is granted and the event is logged).
I think my confusion is made worse by the involvement of LLDP/CDP - assuming LLDP/CDP is not turned off then is it used whether either static or consumption values are set? So is it the case that in both static or consumption scenarios LLDP can be used by the device to negotiate power. It is only by switching LLDP off manually that negotiation with the switch is stopped?
Thanks for any help! It seems like this should be simple but somehow isn't!
09-09-2016 04:01 PM
Exactly what are you trying to do?
09-10-2016 03:21 AM
Well mainly I just want to understand! The reason this comes up quite regularly in my work is that we run a wireless service and the APs often have little niggles in the way they negotiate power, if I can understand the switch behaviour then i can suggest workarounds if there are bugs that affect the APs that we send out.
09-10-2016 04:30 AM
Are the APs Cisco-branded?
09-10-2016 07:34 AM
No, we use Aruba.
09-10-2016 02:27 PM
There are three PoE modes:
Switch(config-if)# power inline auto
Switch(config-if)# power inline never
Why static?
considering IEEE Power Classifications table below:
Class |
Maximum Power Level Required from the Switch |
---|---|
0 (class status unknown) |
15.4 W |
1 |
4 W |
2 |
7 W |
3 |
15.4 W |
4 |
30 W (For IEEE 802.3at Type 2 powered devices) |
Switch(config-if)# power inline auto max max-wattage
Switch(config-if)# power inline static max max-wattage
Switch(config)# power inline consumption default wattage value
"By using the power inline consumption wattage interface configuration command or the power inline consumption default wattage global configuration command, you can override the default power requirement specified by the IEEE classification. The difference between what is mandated by the IEEE classification and what is actually needed by the device is reclaimed into the global power budget for use by additional devices. You can then extend the switch power budget and use it more effectively."
SideNotes:
Source: http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960xr/software/15-0_2_EX1/int_hw_components/configuration_guide/b_int_152ex1_2960-xr_cg/b_int_152ex1_2960-xr_cg_chapter_01000.html#con_1874624
Please rate, if helpful.
Thank you.
09-10-2016 02:46 PM
"I think my confusion is made worse by the involvement of LLDP/CDP - assuming LLDP/CDP is not turned off then is it used whether either static or consumption values are set? So is it the case that in both static or consumption scenarios LLDP can be used by the device to negotiate power. It is only by switching LLDP off manually that negotiation with the switch is stopped?"
I hope this is a direct answer.
CDP with power consumption—The powered device notifies the switch of the amount of power it is consuming. The switch does not reply to the power-consumption messages. The switch can only supply power to or remove power from the PoE port.
Cisco intelligent power management—The powered device and the switch negotiate through power-negotiation CDP messages for an agreed-upon power-consumption level. The negotiation allows a high-power Cisco powered device, which consumes more than 7 W, to operate at its highest power mode. The powered device first boots up in low-power mode, consumes less than 7 W, and negotiates to obtain enough power to operate in high-power mode. The device changes to high-power mode only when it receives confirmation from the switch.
High-power devices can operate in low-power mode on switches that do not support power-negotiation CDP.
Cisco intelligent power management is backward-compatible with CDP with power consumption; the switch responds according to the CDP message that it receives. CDP is not supported on third-party powered devices; therefore, the switch uses the IEEE classification to determine the power usage of the device.
IEEE 802.3af—The major features of this standard are powered-device discovery, power administration, disconnect detection, and optional powered-device power classification. For more information, see the standard.
same source:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960xr/software/15-0_2_EX1/int_hw_components/configuration_guide/b_int_152ex1_2960-xr_cg/b_int_152ex1_2960-xr_cg_chapter_01000.html#con_1874624
Please rate, if helpful.
Thank you.
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