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 objectsetSNMP(\OSS_SNMP\SNMP $snmp) : \OSS_SNMP\MIB
\OSS_SNMP\SNMP
the SNMP instance
\OSS_SNMP\MIB
An instance of this class for fluent interfacesvlanNames() : array
array
The device's VTP VLAN names (indexed by VLAN ID)vlanStates(boolean $translate = false
) : array
see | |
---|---|
see | and others |
boolean
If true, return the string representation via self::$VTP_VLAN_TYPES
array
The device's VTP VLAN States (indexed by VLAN ID)vlanTypes(boolean $translate = false
) : array
see | |
---|---|
see | and others |
boolean
If true, return the string representation via self::$VTP_VLAN_TYPES
array
The device's VTP VLAN types (indexed by VLAN ID)$VTP_VLAN_STATES : array
array(self::VTP_VLAN_STATE_OPERATIONAL => 'operational', self::VTP_VLAN_STATE_SUSPENDED => 'suspended', self::VTP_VLAN_STATE_MTU_TOO_BIG_FOR_DEVICE => 'mtuTooBigForDevice', self::VTP_VLAN_STATE_MTU_TOO_BIG_FOR_TRUNK => 'mtuTooBigForTrunk')
$VTP_VLAN_TYPES : array
array(self::VTP_VLAN_TYPE_ETHERNET => 'ethernet', self::VTP_VLAN_TYPE_FDDI => 'fddi', self::VTP_VLAN_TYPE_TOKEN_RING => 'tokenRing', self::VTP_VLAN_TYPE_FDDI_NET => 'fddiNet', self::VTP_VLAN_TYPE_TR_NET => 'trNet', self::VTP_VLAN_TYPE_DEPRECATED => 'deprecated')
$_snmp
null
OID_STP_X_RSTP_PORT_ROLE = '.1.3.6.1.4.1.9.9.82.1.12.2.1.3'
OID_VTP_VLAN_NAME = '.1.3.6.1.4.1.9.9.46.1.3.1.1.4.1'
OID_VTP_VLAN_STATUS = '.1.3.6.1.4.1.9.9.46.1.3.1.1.2.1'
OID_VTP_VLAN_TYPE = '.1.3.6.1.4.1.9.9.46.1.3.1.1.3.1'