SNMP::Info::Layer3::Contivity - Perl5 Interface to Nortel Networks' Contivity Extranet Switches (CES).
Eric Miller (eric@jeneric.org)
# Let SNMP::Info determine the correct subclass for you.
my $contivity = 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 = $contivity->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
Abstraction subclass for Nortel Networks' Contivity Extranet Switch (CES).
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $contivity = new SNMP::Info::Layer3::Contivity(...);
See SNMP::Info::Entity for its own MIB requirements.
These are methods that return scalar value from SNMP
vendor()model()(entPhysicalModelName.1)
os()os_ver()serial()(entPhysicalSerialNum.1)
mac()root_ip()
layers()
See documentation in SNMP::Info for details.
See documentation in SNMP::Info::Entity for details.
These are methods that return tables of information in the form of a reference to a hash.
interfaces()
at_index()(ipNetToMediaIfIndex)
at_paddr()(ipNetToMediaPhysAddress)
at_netaddr()(ipNetToMediaNetAddress)
See documentation in SNMP::Info for details.
See documentation in SNMP::Info::Entity for details.