*/ class Bridge extends \OSS_SNMP\MIB { const OID_BRIDGE_BASE_PORT_IF_INDEX = '.1.3.6.1.2.1.17.1.4.1.2'; /** * Returns an associate array of STP port IDs (key) to interface IDs (value) * * e.g. [22] => 10122 * * * @return array Associate array of STP port IDs (key) to interface IDs (value) */ public function basePortIfIndexes() { return $this->getSNMP()->walk1d( self::OID_BRIDGE_BASE_PORT_IF_INDEX ); } }