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\SNMP
Instance of the SNMP objectportRoles(int $vid, boolean $translate = false
) : array
see | |
---|---|
see | and others |
int
The RSTP VLAN ID to query port roles for
boolean
If true, return the string representation via self::$STP_X_RSTP_PORT_ROLES
array
The device's RSTP port roles (by given vlan id)setSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB
\OSS_SNMP\SNMP
the SNMP instance
\OSS_SNMP\MIB
An 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
null
OID_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