SNMP::Info::NortelStack - Perl5 Interface to Nortel Stack information using SNMP
Eric Miller (eric@jeneric.org)
# Let SNMP::Info determine the correct subclass for you.
my $stack = 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 = $stack->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
SNMP::Info::NortelStack is a subclass of SNMP::Info that provides an interface
to S5-AGENT-MIB and S5-CHASSIS-MIB. These MIBs are used across the
Nortel BayStack family, as well as, older Nortel devices such as the Centillion
family of ATM switches.
Use or create in a subclass of SNMP::Info. Do not use directly.
None.
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, Java Device Manager, Software. Download the latest version. After installation, all mibs are located under the install directory under mibs and the repspective product line.
Note: Recommend versions (located in JDM\mibs\bps2000\v3100.zip) S5-AGENT-MIB s5age154.mib S5-CHASSIS-MIB s5cha135.mib
These are methods that return scalar values from SNMP
serial()os_ver()os_bin()ns_ag_ver()(s5AgInfoVer)
ns_op_mode()(s5AgSysCurrentOperationalMode)
tftp_action()(s5AgInfoFileAction)
tftp_result()(s5AgInfoFileStatus)
ns_auto_pvid()(s5AgSysAutoPvid)
tftp_file()tftp_action() object is set.
(s5AgSysBinaryConfigFilename)
tftp_host()(s5AgSysTftpServerAddress)
vlan()(s5AgSysManagementVlanId)
ch_ser()(s5ChasSerNum)
ns_cfg_chg()(s5ChasGblConfChngs)
ns_cfg_time()(s5ChasGblConfLstChng)
These are methods that return tables of information in the form of a reference to a hash.
i_cfg_file()(s5AgMyIfCfgFname)
i_cfg_host()(s5AgMyIfLdSvrAddr)
ns_com_grp_idx()(s5ChasComGrpIndx)
ns_com_ns_com_idx()(s5ChasComIndx)
ns_com_sub_idx()(s5ChasComSubIndx)
ns_com_type()(s5ChasComType)
ns_com_descr()(s5ChasComDescr)
ns_com_ver()(s5ChasComVer)
ns_com_serial()(s5ChasComSerNum)
ns_store_grp_idx()(s5ChasStoreGrpIndx)
ns_store_ns_com_idx()(s5ChasStoreComIndx)
ns_store_sub_idx()(s5ChasStoreSubIndx)
ns_store_idx()(s5ChasStoreIndx)
ns_store_type()(s5ChasStoreType)
ns_store_size()(s5ChasStoreCurSize)
ns_store_ver()(s5ChasStoreCntntVer)