[ 1577927 ] Add EIGRP Neighbor Tables (Andrew Herrick)

This commit is contained in:
Eric Miller
2007-04-15 03:39:01 +00:00
parent d9c87bdfbd
commit 93c54da5ba

View File

@@ -59,6 +59,7 @@ $VERSION = '1.05';
%SNMP::Info::CiscoStats::MIBS, %SNMP::Info::CiscoStats::MIBS,
%SNMP::Info::CDP::MIBS, %SNMP::Info::CDP::MIBS,
%SNMP::Info::CiscoVTP::MIBS, %SNMP::Info::CiscoVTP::MIBS,
'CISCO-EIGRP-MIB' => 'cEigrpAsRouterId',
); );
%GLOBALS = ( %GLOBALS = (
@@ -70,6 +71,7 @@ $VERSION = '1.05';
%SNMP::Info::CiscoStats::GLOBALS, %SNMP::Info::CiscoStats::GLOBALS,
%SNMP::Info::CDP::GLOBALS, %SNMP::Info::CDP::GLOBALS,
%SNMP::Info::CiscoVTP::GLOBALS, %SNMP::Info::CiscoVTP::GLOBALS,
'eigrp_id' => 'cEigrpAsRouterId',
); );
%FUNCS = ( %FUNCS = (
@@ -81,6 +83,8 @@ $VERSION = '1.05';
%SNMP::Info::CiscoStats::FUNCS, %SNMP::Info::CiscoStats::FUNCS,
%SNMP::Info::CDP::FUNCS, %SNMP::Info::CDP::FUNCS,
%SNMP::Info::CiscoVTP::FUNCS, %SNMP::Info::CiscoVTP::FUNCS,
# EIGRP
'eigrp_peers' => 'cEigrpPeerAddr',
); );
%MUNGE = ( %MUNGE = (
@@ -92,6 +96,7 @@ $VERSION = '1.05';
%SNMP::Info::CiscoStats::MUNGE, %SNMP::Info::CiscoStats::MUNGE,
%SNMP::Info::CDP::MUNGE, %SNMP::Info::CDP::MUNGE,
%SNMP::Info::CiscoVTP::MUNGE, %SNMP::Info::CiscoVTP::MUNGE,
'eigrp_peers' => \&SNMP::Info::munge_ip,
); );
1; 1;
@@ -152,6 +157,8 @@ Subclass for Generic Cisco Routers running IOS
=over =over
=item CISCO-EIGRP-MIB
=item Inherited Classes' MIBs =item Inherited Classes' MIBs
See L<SNMP::Info::CiscoVTP/"Required MIBs"> for its own MIB requirements. See L<SNMP::Info::CiscoVTP/"Required MIBs"> for its own MIB requirements.
@@ -182,6 +189,10 @@ These are methods that return scalar value from SNMP
Returns 'cisco' Returns 'cisco'
=item $cisco->eigrp_id()
(B<cEigrpAsRouterId>)
=back =back
=head2 Global Methods imported from SNMP::Info::CiscoVTP =head2 Global Methods imported from SNMP::Info::CiscoVTP
@@ -221,6 +232,16 @@ See documentation in L<SNMP::Info::Layer3/"GLOBALS"> for details.
These are methods that return tables of information in the form of a reference These are methods that return tables of information in the form of a reference
to a hash. to a hash.
=over
=item $cisco->eigrp_peers()
Returns EIGRP peer IP addresses
(B<cEigrpPeerAddr>)
=back
=head2 Table Methods imported from SNMP::Info::CiscoVTP =head2 Table Methods imported from SNMP::Info::CiscoVTP
See documentation in L<SNMP::Info::CiscoVTP/"TABLE METHODS"> for details. See documentation in L<SNMP::Info::CiscoVTP/"TABLE METHODS"> for details.