A class for performing SNMP V2 queries on generic devices

copyright Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland
author Barry O'Donovan

 Methods

Utility function to identify configured but unattached LAG ports

findFailedLAGPorts() : array

Returns

arrayArray of indexed port ids (array index, not value) of configured but unattached LAG ports

Gets an associate array of LAG ports with the [id] => name of it's constituent ports

getLAGPorts() : array

E.g.: [5048] => Array ( [10111] => GigabitEthernet1/0/11 [10112] => GigabitEthernet1/0/12 )

Returns

arrayAssociate array of LAG ports with the [id] => name of it's constituent ports

Returns an associate array of port IDs with a boolean value to indicate if it's an aggregate port (true) or an individual port (false).

isAggregatePorts() : array

Returns

arrayAssociate array of port IDs with a boolean value to indicate if it's an aggregate port (true) or not

Returns an associate array of port IDs with the ID of the aggregate port that they are a member of (else 0 if not a LAG port)

portAttachedIds() : array

Returns

arrayAssociate array of port IDs with the ID of the aggregate port that they are a member of

 Constants

 

OID_LAG_AGGREGATE_OR_INDIVIDUAL

OID_LAG_AGGREGATE_OR_INDIVIDUAL 

 

OID_LAG_PORT_ATTACHED_ID

OID_LAG_PORT_ATTACHED_ID