src/MIBS/Cisco/VlanMembership.php
public function vlanTypes($translate = false)
    {
        $states = $this->getSNMP()->walk1d(self::OID_VLAN_MEMBERSHIP_VLAN_TYPE);

        if (!$translate) {
            return $states;
        }

        return $this->getSNMP()->translate($states, self::$VLAN_MEMBERSHIP_VLAN_TYPES);
    }
public function vlanTypes($translate = false)
    {
        $states = $this->getSNMP()->walk1d(self::OID_VLAN_MEMBERSHIP_VLAN_TYPE);

        if (!$translate) {
            return $states;
        }

        return $this->getSNMP()->translate($states, self::$VLAN_MEMBERSHIP_VLAN_TYPES);
    }
public function vlanTypes ( $ translate = false ) { $ states = $ this -> getSNMP ( ) -> walk1d ( self :: OID_VLAN_MEMBERSHIP_VLAN_TYPE ) ; if ( ! $ translate ) { return $ states ; } return $ this -> getSNMP ( ) -> translate ( $ states , self :: $ VLAN_MEMBERSHIP_VLAN_TYPES ) ; }
Get an array of the type of VLAN membership of each device port.

E.g. the follow SNMP output yields the shown array:

.1.3.6.1.4.1.9.9.68.1.2.2.1.1.10128 = INTEGER: static(1)
.1.3.6.1.4.1.9.9.68.1.2.2.1.1.10129 = INTEGER: dynamic(2)
...

[10128] => 1
[10129] => 2

@return array
Get an array of the type of VLAN membership of each device port .