Subject: | LLDP is supported on Layer3/C4000.pm version 3.11 |
Date: | Fri, 07 Feb 2014 15:06:11 -0600 |
To: | bug-SNMP-Info [...] rt.cpan.org |
From: | "Baumhauer, Andy" <andy [...] baumhauer.us> |
LLDP is not enabled in the C4000.pm file. Here is a patch...
--- C4000.pm.orig 2014-02-07 15:04:05.527422194 -0600
+++ C4000.pm 2014-02-07 14:58:00.963530079 -0600
@@ -33,6 +33,7 @@
use strict;
use Exporter;
use SNMP::Info::CiscoVTP;
+use SNMP::Info::LLDP;
use SNMP::Info::CDP;
use SNMP::Info::CiscoStats;
use SNMP::Info::CiscoImage;
@@ -41,7 +42,7 @@
use SNMP::Info::MAU;
use SNMP::Info::Layer3;
-@SNMP::Info::Layer3::C4000::ISA = qw/SNMP::Info::CiscoVTP SNMP::Info::CDP
+@SNMP::Info::Layer3::C4000::ISA = qw/SNMP::Info::CiscoVTP
SNMP::Info::LLDP SNMP::Info::CDP
SNMP::Info::CiscoStats SNMP::Info::CiscoImage
SNMP::Info::CiscoPortSecurity
SNMP::Info::CiscoConfig SNMP::Info::MAU
@@ -59,6 +60,7 @@
%SNMP::Info::CiscoPortSecurity::MIBS,
%SNMP::Info::CiscoImage::MIBS,
%SNMP::Info::CiscoStats::MIBS,
+ %SNMP::Info::LLDP::MIBS,
%SNMP::Info::CDP::MIBS,
%SNMP::Info::CiscoVTP::MIBS,
'CISCO-ENVMON-MIB' => 'ciscoEnvMonMIB',
@@ -71,6 +73,7 @@
%SNMP::Info::CiscoPortSecurity::GLOBALS,
%SNMP::Info::CiscoImage::GLOBALS,
%SNMP::Info::CiscoStats::GLOBALS,
+ %SNMP::Info::LLDP::GLOBALS,
%SNMP::Info::CDP::GLOBALS,
%SNMP::Info::CiscoVTP::GLOBALS,
'ps1_type' => 'ciscoEnvMonSupplyStatusDescr.1',
@@ -86,6 +89,7 @@
%SNMP::Info::CiscoPortSecurity::FUNCS,
%SNMP::Info::CiscoImage::FUNCS,
%SNMP::Info::CiscoStats::FUNCS,
+ %SNMP::Info::LLDP::FUNCS,
%SNMP::Info::CDP::FUNCS,
%SNMP::Info::CiscoVTP::FUNCS,
'fan_state' => 'ciscoEnvMonFanState',
@@ -96,7 +100,8 @@
%SNMP::Info::Layer3::MUNGE, %SNMP::Info::MAU::MUNGE,
%SNMP::Info::CiscoConfig::MUNGE,
%SNMP::Info::CiscoPortSecurity::MUNGE,
%SNMP::Info::CiscoImage::MUNGE, %SNMP::Info::CiscoStats::MUNGE,
- %SNMP::Info::CDP::MUNGE, %SNMP::Info::CiscoVTP::MUNGE,
+ %SNMP::Info::LLDP::MUNGE, %SNMP::Info::CDP::MUNGE,
+ %SNMP::Info::CiscoVTP::MUNGE,
);
# Override Inheritance for these specific methods
@@ -171,6 +176,8 @@
=item SNMP::Info::CiscoVTP
+=item SNMP::Info::LLDP
+
=item SNMP::Info::CDP
=item SNMP::Info::CiscoStats
@@ -195,6 +202,8 @@
See L<SNMP::Info::CiscoVTP/"Required MIBs"> for its own MIB requirements.
+See L<SNMP::Info::LLDP/"Required MIBs"> for its own MIB requirements.
+
See L<SNMP::Info::CDP/"Required MIBs"> for its own MIB requirements.
See L<SNMP::Info::CiscoStats/"Required MIBs"> for its own MIB
requirements.
@@ -234,6 +243,10 @@
See documentation in L<SNMP::Info::CiscoVTP/"GLOBALS"> for details.
+=head2 Globals imported from SNMP::Info::LLDP
+
+See documentation in L<SNMP::Info::LLDP/"GLOBALS"> for details.
+
=head2 Globals imported from SNMP::Info::CDP
See documentation in L<SNMP::Info::CDP/"GLOBALS"> for details.
@@ -305,6 +318,10 @@
See documentation in L<SNMP::Info::CiscoVTP/"TABLE METHODS"> for details.
+=head2 Table Methods imported from SNMP::Info::LLDP
+
+See documentation in L<SNMP::Info::LLDP/"TABLE METHODS"> for details.
+
=head2 Table Methods imported from SNMP::Info::CDP
See documentation in L<SNMP::Info::CDP/"TABLE METHODS"> for details.