A class for performing SNMP V2 queries on Cisco devices
copyright | Copyright (c) 2012 - 2013, Open Source Solutions Limited, Dublin, Ireland |
---|---|
author | Barry O'Donovan |
getSNMP() : \OSS_SNMP\SNMP
\OSS_SNMP\SNMP
Instance of the SNMP objectmaxInstanceNumber() : string
deprecated | Use \OSS_SNMP\MIBS\Cisco\SMST::maxInstanceID() |
---|
string
The maximum MST instance numberportRoles(int $iid, boolean $translate = false
) : array
see |
---|
int
The MST instance ID to query port roles for
boolean
If true, return the string representation via RSTP::$STP_X_RSTP_PORT_ROLES
array
The device's MST port roles (by given instance id)regionName() : string
string
The operational MST region nameregionRevision() : string
deprecated | Use \OSS_SNMP\MIBS\Cisco\SMST::regionRevision() |
---|
string
The operational MST region revisionsetSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB
\OSS_SNMP\SNMP
the SNMP instance
\OSS_SNMP\MIB
An instance of this class for fluent interfaces$_snmp
null
OID_STP_X_MST_MAX_INSTANCE_NUMBER = '.1.3.6.1.4.1.9.9.82.1.11.1.0'
OID_STP_X_MST_REGION_NAME = '.1.3.6.1.4.1.9.9.82.1.11.2.0'
OID_STP_X_MST_REGION_REVISION = '.1.3.6.1.4.1.9.9.82.1.11.3.0'