SNMP::Info::SONMP

SNMP::Info::SONMP is a Perl5 Interface to SynOptics Network Management Protocol (SONMP) using SNMP.
Download

SNMP::Info::SONMP Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Eric Miller
  • Publisher web site:
  • http://search.cpan.org/~emiller/SNMP-Info-1.04/Info/Airespace.pm

SNMP::Info::SONMP Tags


SNMP::Info::SONMP Description

SNMP::Info::SONMP is a Perl5 Interface to SynOptics Network Management Protocol (SONMP) using SNMP. SNMP::Info::SONMP is a Perl5 Interface to SynOptics Network Management Protocol (SONMP) using SNMP.SYNOPSIS my $sonmp = new SNMP::Info ( AutoSpecify => 1, Debug => 1, DestHost => 'router', Community => 'public', Version => 2 ); my $class = $sonmp->class(); print " Using device sub class : $classn"; $hascdp = $sonmp->hasCDP() ? 'yes' : 'no'; # Print out a map of device ports with CDP neighbors: my $interfaces = $sonmp->interfaces(); my $c_if = $sonmp->c_if(); my $c_ip = $sonmp->c_ip(); my $c_port = $sonmp->c_port(); foreach my $cdp_key (keys %$c_ip){ my $iid = $c_if->{$cdp_key}; my $port = $interfaces->{$iid}; my $neighbor = $c_ip->{$cdp_key}; my $neighbor_port = $c_port->{$cdp_key}; print "Port : $port connected to $neighbor / $neighbor_portn"; }SNMP::Info::SONMP is a subclass of SNMP::Info that provides an object oriented interface to the SynOptics Network Management Protocol (SONMP) information through SNMP.SONMP is a Layer 2 protocol that supplies topology information of devices that also speak SONMP, mostly switches and hubs. SONMP is implemented in SynOptics, Bay, and Nortel Networks devices. SONMP has been rebranded by Bay then Nortel Networks and is know by several different names.Create or use a device subclass that inherits this class. Do not use directly.Each device implements a subset of the global and cache entries. Check the return value to see if that data is held by the device. Requirements: · Perl


SNMP::Info::SONMP Related Software