SNMP::Info::Layer3::AlteonAD - Perl5 Interface to Nortel Networks' Alteon Ace Director Series Layer 2-7 Switches.
Eric Miller (eric@jeneric.org)
eric@jeneric.org
# Let SNMP::Info determine the correct subclass for you. my $alteon = new SNMP::Info( AutoSpecify => 1, Debug => 1, # These arguments are passed directly on to SNMP::Session DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n"; my $class = $alteon->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
Abstraction subclass for Layer 2-7 load balancing switches running Nortel Networks' Alteon Web OS Traffic Control Software.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $alteon = new SNMP::Info::Layer3::AlteonAD(...);
MIBs can be found on the CD that came with your product.
Or, they can be downloaded directly from Nortel Networks regardless of support contract status. Go to http://www.nortelnetworks.com Techninal Support, Browse Technical Support, Select by Product Families, Alteon, Alteon Web OS Traffic Control Software, Software. Filter on mibs and download the latest version's archive.
See SNMP::Info for its own MIB requirements.
See SNMP::Info::Bridge for its own MIB requirements.
These are methods that return scalar value from SNMP
Returns the model extracted from sysDescr
Returns 'Nortel'
Returns 'WebOS'
Returns the software version reported by agSoftwareVersion
Returns the primary IP used to communicate with the device. Currently returns the first interfaces IP.
(agTftpAction)
(agTftpServer)
(agTftpCfgFileName)
(agTftpLastActionStatus)
See documentation in SNMP::Info for details.
See documentation in SNMP::Info::Bridge for details.
These are methods that return tables of information in the form of a reference to a hash.
Returns reference to the map between IID and physical port.
Utilizes description for network interfaces. Ports are determined by formula (ifIndex mod 256).
Returns reference to hash. Maps port operational duplexes to IIDs.
Returns reference to hash. Maps port admin duplexes to IIDs.
Returns reference to hash. Maps port VLAN ID to IIDs.
Maps (agPortCurCfgPortName) to port and returns the human set port name if exists.
Returns a mapping between ifIndex and the Bridge Table.
Returns reference to hash. Maps ARP table entries to Interface IIDs
(ipNetToMediaIfIndex)
Returns reference to hash. Maps ARP table entries to MAC addresses.
(ipNetToMediaPhysAddress)
Returns reference to hash. Maps ARP table entries to IPs
(ipNetToMediaNetAddress)
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.