The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SNMP::Info::Layer2::Foundry - SNMP Interface to Foundry FastIron Network Devices

AUTHOR

Max Baker

SYNOPSIS

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";

DESCRIPTION

This module is Deprecated. Please use Layer3::Foundry instead.

This module provides support for Foundry EdgeIron Switches

Inherited Classes

SNMP::Info::Layer2
SNMP::Info::FDP

Required MIBs

FOUNDRY-SN-ROOT-MIB
Inherited Classes' MIBs

See classes listed above for their required MIBs.

GLOBALS

These are methods that return scalar value from SNMP

$foundry->model()

Returns model type.

$foundry->vendor()

Returns 'foundry'

$foundry->os()

Returns 'foundry'

$foundry->os_ver()

Returns the software version

$foundry->serial()

Returns the serial number

Globals imported from SNMP::Info::Layer2

See documentation in "GLOBALS" in SNMP::Info::Layer2 for details.

Globals imported from SNMP::Info::FDP

See documentation in "GLOBALS" in SNMP::Info::FDP for details.

TABLE METHODS

These are methods that return tables of information in the form of a reference to a hash.

Overrides

$foundry->interfaces()

Returns reference to hash of interface names to iids.

$foundry->i_ignore()

Returns reference to hash of interfaces to be ignored.

Ignores interfaces with descriptions of tunnel,loopback,null

$foundry->i_duplex()

Returns reference to hash of interface link duplex status.

Crosses $foundry->sw_duplex() with $foundry->sw_index()

$foundry->i_duplex_admin()

Returns reference to hash of interface administrative duplex status.

$foundry->stp_p_state()

"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)

$foundry->i_vlan()

Returns a mapping between ifIndex and the PVID or default VLAN.

Table Methods imported from SNMP::Info::Layer2

See documentation in "TABLE METHODS" in SNMP::Info::Layer2 for details.

Table Methods imported from SNMP::Info::FDP

See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.