These are methods that return tables of information in the form of a reference to a hash.
Selected values from the pethPsePortTable
$poe->peth_port_admin() Administrative status: is this port permitted to deliver power?
$poe->peth_port_status() Current status: is this port delivering power, searching, disabled, etc?
$poe->peth_port_class() Device class: if status is delivering power, this represents the 802.3af class of the device being powered.
$poe->peth_port_ifindex() A mapping function from the pethPsePortTable INDEX of module.port to an ifIndex. The default mapping ignores the module (returning undef if there are any module values greater than 1) and returns the port number, assuming that there is a 1:1 mapping.
This mapping is more or less left up to the device vendor to implement; the MIB gives only very weak guidance. A given device class may implement its own version of this function (e.g., see Info::CiscoPower).
$poe->peth_port_neg_power() The power, in milliwatts, that has been committed to this port. This value is derived from the 802.3af class of the device being powered, but may be overridden by a subclass that has information from another source (e.g., if a different protocol, such as CDP, was used to negotiate the power level.)
$poe->peth_power_watts() The power supplys capacity, in watts.
$poe->peth_power_status() The power supplys operational status.
$poe->peth_power_consumption() How much power, in watts, this power supply has been committed to deliver. (Note: certain devices seem to supply this value in milliwatts, so be cautious interpreting it.)
$poe->peth_power_threshold() The threshold (in percent) of consumption required to raise an alarm.
|perl v5.20.3||INFO::POWERETHERNET (3)||2016-01-22|