You can configure one of the following thresholds:
Example
Suppose slots A, B, and C each have a PoE module installed. In this case, executing the following command sets the global notification threshold to 70% of available PoE power.
(HP_Switch_name#) power-over-ethernet threshold 70
With this setting, if module B is allocated 100 watts of PoE power and is using 68 watts, and then another PD is connected to the module in slot B that uses 8 watts, the 70% threshold of 70 watts is exceeded. The switch sends an SNMP trap and generates this Event Log message:
Slot B POE usage has exceeded threshold of 70%.
If the switch is configured for debug logging, it also sends the Event Log message to the configured debug destinations.
On any PoE module, if an increasing PoE power load (1) exceeds the configured power threshold—which triggers the log message and SNMP trap—and then (2) later decreases and drops below the threshold again, the switch generates another SNMP trap, plus a message to the Event Log and any configured Debug destinations.
Example
To continue the preceding example, if the PoE power usage on the PoE module in slot B drops below 70%, another SNMP trap is generated and you will see this message in the Event Log:
Slot B POE usage is below threshold of 70%.
By using the [slot
option, you can specify different notification thresholds for different PoE modules installed in the switch. For example, you could set the power threshold for a PoE module in slot "A" to 75% and the threshold for the module in slot "B" to 68% by executing the following two commands:SLOT-ID-RANGE
]
(HP_Switch_name#) power-over-ethernet slot a threshold 75 (HP_Switch_name#) power-over-ethernet slot b threshold 68
The last threshold
command affecting a given slot supersedes the previous threshold command affecting the same slot. Thus, executing the following two commands in the order shown sets the threshold for the PoE module in slot "D" to 75%, but leaves the thresholds for any PoE modules in the other slots at 90%:
(HP_Switch_name#) power-over-ethernet threshold 90 (HP_Switch_name#) power-over-ethernet slot d threshold 75
(If you reverse the order of the above two commands, all PoE modules in the switch will have a threshold of 90%.)
Without the [slot
option, the switch applies one power threshold setting on all PoE modules installed in the switch.SLOT-ID-RANGE
]