A class for performing SNMP V2 queries on Cisco devices

copyright Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland
author Barry O'Donovan

 Methods

Get the device's VTP VLAN names (indexed by VLAN ID)

vlanNames() : array

Returns

arrayThe device's VTP VLAN names (indexed by VLAN ID)

Get the device's VTP VLAN States (indexed by VLAN ID)

vlanStates(boolean $translate) : array

see \$VTP_VLAN_STATES
see \VTP_VLAN_STATE_OPERATIONAL

Parameters

$translate

boolean

If true, return the string representation via self::$VTP_VLAN_TYPES

Returns

arrayThe device's VTP VLAN States (indexed by VLAN ID)

Get the device's VTP VLAN Types (indexed by VLAN ID)

vlanTypes(boolean $translate) : array

see \$VTP_VLAN_TYPES
see \VTP_VLAN_TYPE_ETHERNET

Parameters

$translate

boolean

If true, return the string representation via self::$VTP_VLAN_TYPES

Returns

arrayThe device's VTP VLAN types (indexed by VLAN ID)

 Properties

 

$VTP_VLAN_STATES

$VTP_VLAN_STATES 

 

$VTP_VLAN_TYPES

$VTP_VLAN_TYPES 

 Constants

 

OID_STP_X_RSTP_PORT_ROLE

OID_STP_X_RSTP_PORT_ROLE 

 

OID_VTP_VLAN_NAME

OID_VTP_VLAN_NAME 

 

OID_VTP_VLAN_STATUS

OID_VTP_VLAN_STATUS 

 

OID_VTP_VLAN_TYPE

OID_VTP_VLAN_TYPE 

 

VTP_VLAN_STATE_MTU_TOO_BIG_FOR_DEVICE

VTP_VLAN_STATE_MTU_TOO_BIG_FOR_DEVICE 

 

VTP_VLAN_STATE_MTU_TOO_BIG_FOR_TRUNK

VTP_VLAN_STATE_MTU_TOO_BIG_FOR_TRUNK 

 

VTP_VLAN_STATE_OPERATIONAL

VTP_VLAN_STATE_OPERATIONAL 

 

VTP_VLAN_STATE_SUSPENDED

VTP_VLAN_STATE_SUSPENDED 

 

VTP_VLAN_TYPE_DEPRECATED

VTP_VLAN_TYPE_DEPRECATED 

 

VTP_VLAN_TYPE_ETHERNET

VTP_VLAN_TYPE_ETHERNET 

 

VTP_VLAN_TYPE_FDDI

VTP_VLAN_TYPE_FDDI 

 

VTP_VLAN_TYPE_FDDI_NET

VTP_VLAN_TYPE_FDDI_NET 

 

VTP_VLAN_TYPE_TOKEN_RING

VTP_VLAN_TYPE_TOKEN_RING 

 

VTP_VLAN_TYPE_TR_NET

VTP_VLAN_TYPE_TR_NET