SNMP::Info::CiscoPower man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Info::CiscoPower(3)   User Contributed Perl Documentation  Info::CiscoPower(3)

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

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 "Can't 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 milliwats
	   ("cdpCachePowerConsumption")

perl v5.14.1			  2011-09-28		   Info::CiscoPower(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net