SNMP::Info::Layer2::Bay - SNMP Interface to old Bay Network BayStack Switches
Max Baker (max@warped.org)
This module is Depricated. Please use Layer2::BayStack instead.
Provides abstraction to the configuration information obtainable from a Bay device through SNMP.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $bay = new SNMP::Info::Layer2::Bay(...);
Bay MIBs can be found on the CD that came with your product.
Or, if you still have a service contract they can be downloaded at www.nortelnetworks.com
They have also been seen at : http://www.inotech.com/mibs/vendor/baynetworks/synoptics/synoptics.asp
Or http://www.oidview.com/mibs/detail.html under Synoptics. Check also www.mibdepot.com
These are methods that return scalar value from SNMP
vendor()model()id() to the SYNOPTICS-MIB and returns
the results. 303s and 304s have the same ID, so we have a hack
to return depending on which it is.
Removes sreg- from the model name
cdp_id()(s5EnMsTopIpAddr)
cdp_run()(s5EnMsTopStatus)
See documentation in SNMP::Info::Layer2 for details.
These are methods that return tables of information in the form of a reference to a hash.
interfaces()Currently simply returns the ifIndex
i_ignore()Simply calls the SNMP::Info::Layer2::i_ignore() fn for this.
i_mac()Removes all entries matching '00:00:00:00:00:00' -- Certain older revisions of Bay 303 and 304 firmware report all zeros for each port mac.
All entries with port=0 are local and ignored.
c_if()c_ip()The value of each hash entry can either be a scalar or an array. A scalar value is most likely a direct neighbor to that port. It is possible that there is a non-bay device in between this device and the remote device.
An array value represents a list of seen devices. The only time you will get an array of nieghbors, is if there is a non-bay device in between two or more devices.
Use the data from the Layer2 Topology Table below to dig deeper.
port()platform()
bay_topo_slot()(s5EnMsTopNmmSlot)
bay_topo_port()(s5EnMsTopNmmPort)
bay_topo_ip()(s5EnMsTopNmmIpAddr)
bay_topo_seg()(s5EnMsTopNmmSegId)
(s5EnMsTopNmmChassisType)
bay_topo_seg() is local
(s5EnMsTopNmmLocalSeg)
See documentation in SNMP::Info::Layer2 for details.