GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SNMP::INFO::CISCOPOWER (3)

.ds Aq ’

NAME

SNMP::Info::CiscoPower - SNMP Interface to data stored in CISCO-POWER-ETHERNET-EXT-MIB.

CONTENTS

AUTHOR

Bill Fenner

SYNOPSIS



 # Let SNMP::Info determine the correct subclass for you.
 my $poe = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          DestHost    => myswitch,
                          Community   => public,
                          Version     => 2
                        )
    or die "Cant connect to DestHost.\n";

 my $class      = $poe->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";



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)
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 INFO::CISCOPOWER (3) 2016-01-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.