diff --git a/Changes b/Changes index 0b6d19b3..c35e0db3 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,7 @@ Version 3.69 (2019-xx-xx) * #352 duplex support for ciscosb * #353 report all vendor names in lowercase * #353 sprinkle "use warnings" and "use strict" around + * poe power usage & mac address for ciscosb [BUG FIXES] diff --git a/lib/SNMP/Info/Layer2/CiscoSB.pm b/lib/SNMP/Info/Layer2/CiscoSB.pm index 2dcc4f81..ac58b145 100644 --- a/lib/SNMP/Info/Layer2/CiscoSB.pm +++ b/lib/SNMP/Info/Layer2/CiscoSB.pm @@ -58,6 +58,7 @@ $VERSION = '3.68'; %SNMP::Info::CiscoConfig::GLOBALS, %SNMP::Info::CDP::GLOBALS, 'descr' => 'sysDescr', + 'mac' => 'rndBasePhysicalAddress', ); %FUNCS = ( @@ -66,6 +67,7 @@ $VERSION = '3.68'; %SNMP::Info::CiscoStats::FUNCS, %SNMP::Info::CiscoConfig::FUNCS, %SNMP::Info::CDP::FUNCS, + 'peth_port_power' => 'rlPethPsePortOutputPower', ); %MIBS = ( @@ -74,6 +76,8 @@ $VERSION = '3.68'; %SNMP::Info::CiscoStats::MIBS, %SNMP::Info::CiscoConfig::MIBS, %SNMP::Info::CDP::MIBS, + 'CISCOSB-POE-MIB' => 'rlPethPsePortOutputPower', + 'CISCOSB-DEVICEPARAMS-MIB' => 'rndBasePhysicalAddress', ); %MUNGE = ( @@ -214,6 +218,10 @@ managed switches. [i.e. those matching enterprises(1).cisco(9).otherEnterprises( =over +=item F + +=item F + =item Inherited Classes MIBs required by the inherited classes listed above. @@ -226,6 +234,10 @@ These are methods that return scalar value from SNMP. =over +=item $ciscosb->mac() + +Returns mac from (C) + =item $ciscosb->os_ver() Returns software version (C) @@ -267,6 +279,11 @@ See documentation in L for details. =over +=item $ciscosb->peth_port_power() + +Power supplied by PoE ports, in milliwatts. +(C) + =item $ciscosb->i_duplex() Return duplex based upon the result of EtherLike->el_duplex().