GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SNMP::INFO::EDP (3)

.ds Aq ’

NAME

SNMP::Info::EDP - SNMP Interface to the Extreme Discovery Protocol (EDP)

CONTENTS

AUTHOR

Eric Miller

SYNOPSIS



 my $edp = new SNMP::Info (
                             AutoSpecify => 1,
                             Debug       => 1,
                             DestHost    => router,
                             Community   => public,
                             Version     => 2
                           );

 my $class = $edp->class();
 print " Using device sub class : $class\n";

 $haslldp   = $edp->hasLLDP() ? yes : no;

 # Print out a map of device ports with LLDP neighbors:
 my $interfaces    = $edp->interfaces();
 my $edp_if       = $edp->edp_if();
 my $edp_ip       = $edp->edp_ip();
 my $edp_port     = $edp->edp_port();

 foreach my $edp_key (keys %$edp_ip){
    my $iid           = $edp_if->{$edp_key};
    my $port          = $interfaces->{$iid};
    my $neighbor      = $edp_ip->{$edp_key};
    my $neighbor_port = $edp_port->{$edp_key};
    print "Port : $port connected to $neighbor / $neighbor_port\n";
 }



DESCRIPTION

SNMP::Info::EDP is a subclass of SNMP::Info that provides an object oriented interface to EDP information through SNMP.

EDP is a Layer 2 protocol that allows a network device to advertise its identity and capabilities on the local network providing topology information.

Create or use a device subclass that inherits this class. Do not use directly.

    Inherited Classes

None.

    Required MIBs

EXTREME-EDP-MIB

GLOBAL METHODS

These are methods that return scalar values from SNMP
$edp->hasEDP() Is EDP is active in this device?

TABLE METHODS

These are methods that return tables of information in the form of a reference to a hash.
$edp->edp_id() Returns the string value used to identify the chassis component associated with the remote system.

(extremeEdpNeighborName)

$edp->edp_if() Returns the mapping to the SNMP Interface Table.
$edp->edp_ip() Returns remote IPv4 address.
$edp->edp_port() Returns remote port ID
$edp->edp_ver() Returns the operating system version of the remote system.

Nulls are removed before the value is returned.

(extremeEdpNeighborSoftwareVersion)

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 INFO::EDP (3) 2016-01-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.