SNMP::Info::Layer2::Foundry - SNMP Interface to Foundry FastIron Network Devices
Max Baker
This module is Deprecated. Please use Layer3::Foundry instead.
# Let SNMP::Info determine the correct subclass for you. my $foundry = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 1 ) or die "Can't connect to DestHost.\n"; my $class = $foundry->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
This module provides support for Foundry EdgeIron Switches
See classes listed above for their required MIBs.
These are methods that return scalar value from SNMP
Returns model type.
Returns 'foundry'
Returns the software version
Returns the serial number
See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.
See documentation in "GLOBALS" in SNMP::Info::FDP for details.
These are methods that return tables of information in the form of a reference to a hash.
Returns reference to hash of interface names to iids.
Returns reference to hash of interfaces to be ignored.
Ignores interfaces with descriptions of tunnel,loopback,null
Returns reference to hash of interface link duplex status.
Crosses $foundry->sw_duplex() with $foundry->sw_index()
Returns reference to hash of interface administrative duplex status.
"The port's current state as defined by application of the Spanning Tree Protocol.
Skipped if device is an EdgeIron 24G due to reports of hangs.
(dot1dStpPortState)
dot1dStpPortState
Returns a mapping between ifIndex and the PVID or default VLAN.
ifIndex
See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.
See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.