DESCRIPTION

The Info::PowerEthernet class needs a per-device helper function to properly map the pethPsePortTable to ifIndex values. This class provides that helper, using CISCO-POWER-ETHERNET-EXT-MIB. It does not define any helpers for the extra values that this MIB contains.

Create or use a device subclass that inherit this class. Do not use directly.

For debugging purposes you can call this class directly as you would SNMP::Info

my $poe = new SNMP::Info::CiscoPower (...);

Inherited Classes

none.

Note that it requires that the device inherits from Info::Entity.

Required MIBs

CISCO-POWER-ETHERNET-EXT-MIB

GLOBALS

none.

TABLE METHODS

These are methods that return tables of information in the form of a reference to a hash.

Power Port Table

$poe->peth_port_ifindex()

Maps the pethPsePortTable to ifIndex by way of the ENTITY-MIB.

$poe->peth_port_power()

Power supplied by PoE ports, in milliwatts (cpeExtPsePortPwrConsumption)

CDP Port table

$poe->peth_port_neg_power()

Power negotiated using CDP, in milliwatts (cdpCachePowerConsumption)

Module Install Instructions

To install SNMP::Info::CiscoPower, simply copy and paste either of the commands in to your terminal