SNMP::Info::Layer2::Centillion - SNMP Interface to Nortel Centillion based ATM Switches
Eric Miller (eric@jeneric.org)
# Let SNMP::Info determine the correct subclass for you.
my $centillion = 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 = $centillion->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
Provides abstraction to the configuration information obtainable from a Centillion 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 $centillion = new SNMP::Info::Layer2::centillion(...); Note: This class supports version 4.X and 5.X which are VLAN based rather than bridge group based.
See SNMP::Info::Bridge for its own MIB requirements.
See SNMP::Info::NortelStack for its own MIB requirements.
See SNMP::Info::SONMP for its own MIB requirements.
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, Centillion, Centillion C100-C50 ATM Speed Modules, Software. Filter on mibs and download the latest version's archive.
These are methods that return scalar value from SNMP
vendor()model()id() to the SYNOPTICS-MIB and returns
the results.
Removes sreg- from the model name
os()tftp_action()tftp_host()tftp_file()tftp_type()tftp_result()
layers()index_factor()slot_offset()
See documentation in SNMP::Info for details.
See documentation in SNMP::Info::Bridge for details.
See documentation in SNMP::Info::NortelStack for details.
See documentation in SNMP::Info::SONMP for details.
These are methods that return tables of information in the form of a reference to a hash.
interfaces()
Returns reference to the map between IID and physical Port.
Slot and port numbers on the Passport switches are determined by the formula:
port = index % 256
slot = int(index / 256)
The physical port name is returned as slot.port.
i_duplex()i_duplex_admin()i_ignore()fw_mac()fw_port()bp_index()i_vlan()
centillion_p_index()(cnDot3ExtnIfIndex)
centillion_p_duplex()(cnDot3ExtnIfOperConnectionType)
rc_centillion_p_duplex_admin()(cnDot3ExtnIfAdminConnectionType)
centillion_i_vlan_index()(cnVlanPortMemberIfIndex)
centillion_i_vlan()(cnVlanPortMemberVID)
centillion_i_vlan_type()(cnVlanPortMemberIngressType)
See documentation in SNMP::Info for details.
See documentation in SNMP::Info::Bridge for details.
See documentation in SNMP::Info::NortelStack for details.
See documentation in SNMP::Info::SONMP for details.