SNMP::Info::Layer3::Foundry - SNMP Interface to Brocade (Foundry) Network Devices
Max Baker
# 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";
Abstraction subclass for Brocade (Foundry) Networks devices.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $foundry = new SNMP::Info::Layer3::Foundry(...);
See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
See "Required MIBs" in SNMP::Info::FDP for its own MIB requirements.
See "Required MIBs" in SNMP::Info::LLDP for its own MIB requirements.
These are methods that return scalar value from SNMP
Returns model type. Checks $foundry->id() against the FOUNDRY-SN-ROOT-MIB and removes 'sn'. EdgeIron models determined through ENTITY-MIB.
sn
Returns 'brocade'
Returns the software version
Returns MAC Address of root port.
(ifPhysAddress.1)
ifPhysAddress.1
Returns Chassis type.
(entPhysicalDescr.1)
entPhysicalDescr.1
Returns serial number of device.
Returns the chassis temperature
(snChasActualTemperature)
snChasActualTemperature
Returns the Description for the power supply
(snChasPwrSupplyDescription.1)
snChasPwrSupplyDescription.1
Returns the status of the power supply.
(snChasPwrSupplyOperStatus.1)
snChasPwrSupplyOperStatus.1
Returns the status of the chassis fan.
(snChasFanOperStatus.1)
snChasFanOperStatus.1
Returns device image version.
(snAgImgVer.0)
snAgImgVer.0
Returns chassis serial number.
(snChasSerNum.0)
snChasSerNum.0
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
See documentation in "GLOBALS" in SNMP::Info::FDP for details.
See documentation in "GLOBALS" in SNMP::Info::LLDP 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()
"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
snSwPortIfTable
Returns reference to hash. Maps Table to Interface IID.
(snSwPortIfIndex)
snSwPortIfIndex
Returns reference to hash. Current duplex status for switch ports.
(snSwPortInfoChnMode)
snSwPortInfoChnMode
Returns reference to hash. Current Port Type .
(snSwPortInfoMediaType)
snSwPortInfoMediaType
Returns reference to hash. Current Port Speed.
(snSwPortInfoSpeed)
snSwPortInfoSpeed
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
See documentation in "TABLE METHODS" in SNMP::Info::FDP for details.
See documentation in "TABLE METHODS" in SNMP::Info::LLDP 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.