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

Returns an associate array of STP port IDs (key) to interface IDs (value)

basePortIfIndexes() : array
e.g. [22] => 10122

Returns

arrayAssociate array of STP port IDs (key) to interface IDs (value)

Get the SNMP instance

getSNMP() : \OSS_SNMP\SNMP

Returns

\OSS_SNMP\SNMPInstance of the SNMP object

Set the SNMP instance

setSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB

Parameters

$snmp

\OSS_SNMP\SNMP

the SNMP instance

Returns

\OSS_SNMP\MIBAn instance of this class for fluent interfaces

 Properties

 

Instance for the SNMP object

$_snmp 

Default

null

 Constants

 

OID_BRIDGE_BASE_PORT_IF_INDEX

OID_BRIDGE_BASE_PORT_IF_INDEX = '.1.3.6.1.2.1.17.1.4.1.2'