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

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

        return $this->getSNMP()->translate($states, self::$VLAN_MEMBERSHIP_PORT_STATUS);
    }
public function portStatus($translate = false)
    {
        $states = $this->getSNMP()->walk1d(self::OID_VLAN_MEMBERSHIP_PORT_STATUS);

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

        return $this->getSNMP()->translate($states, self::$VLAN_MEMBERSHIP_PORT_STATUS);
    }
public function portStatus ( $ translate = false ) { $ states = $ this -> getSNMP ( ) -> walk1d ( self :: OID_VLAN_MEMBERSHIP_PORT_STATUS ) ; if ( ! $ translate ) { return $ states ; } return $ this -> getSNMP ( ) -> translate ( $ states , self :: $ VLAN_MEMBERSHIP_PORT_STATUS ) ; }
Get an array of the current status of VLAN in each device port.

.1.3.6.1.4.1.9.9.68.1.2.2.1.1.10128 = INTEGER: inactive(1)
.1.3.6.1.4.1.9.9.68.1.2.2.1.1.10129 = INTEGER: active(2)
...

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

@param bool $translate If true, return the string representation.

@return array An array with the current VLAN status of ports.
Get an array of the current status of VLAN in each device port .