A class for performing SNMP V2 queries on Cisco devices
| copyright | Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland |
|---|---|
| author | Barry O'Donovan |
getSNMP() : \OSS_SNMP\SNMP
\OSS_SNMP\SNMPInstance of the SNMP objectportRoles(int $vid, boolean $translate = false) : array
| see | |
|---|---|
| see | and others |
intThe RSTP VLAN ID to query port roles for
booleanIf true, return the string representation via self::$STP_X_RSTP_PORT_ROLES
arrayThe device's RSTP port roles (by given vlan id)setSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB
\OSS_SNMP\SNMPthe SNMP instance
\OSS_SNMP\MIBAn instance of this class for fluent interfaces$STP_X_RSTP_PASSING_PORT_ROLES : Array
array(self::STP_X_RSTP_PORT_ROLE_ROOT => 'root', self::STP_X_RSTP_PORT_ROLE_DESIGNATED => 'designated')$STP_X_RSTP_PORT_ROLES : array
array(self::STP_X_RSTP_PORT_ROLE_DISABLED => 'disabled', self::STP_X_RSTP_PORT_ROLE_ROOT => 'root', self::STP_X_RSTP_PORT_ROLE_DESIGNATED => 'designated', self::STP_X_RSTP_PORT_ROLE_ALTERNATE => 'alternate', self::STP_X_RSTP_PORT_ROLE_BACKUP => 'backUp', self::STP_X_RSTP_PORT_ROLE_BOUNDARY => 'boundary', self::STP_X_RSTP_PORT_ROLE_MASTER => 'master')$_snmp
nullOID_STP_X_RSTP_PORT_ROLE = '.1.3.6.1.4.1.9.9.82.1.12.2.1.3'
STP_X_RSTP_PORT_ROLE_DESIGNATED = 3