VLAN MIB Objects
4.2.4 GVRP Enable (VlanGVRPEnable)
If the switch is operating in 802.1Q mode, it selects whether GVRP protocol messages should be processed and VLANs configured accordingly for each port on the switch.
Each octet within the value of this object specifies a set of eight ports. This is a list of all ports within the VLAN. From right to left, the first octet specifies ports
For Example, to include ports 1 through 4 in the VLAN, you would use the octet (0x)0000000F. If you wanted to include ports 1, 5, 9 in the VLAN, you would use the octet (0x)00000111.
In this example, each port of the VLAN bridge is represented by a single bit within the value of this object. If that bit has a value of ‘1’ then that port is included in the set of ports; the port is not included if its bit has a value of ‘0.’ Writes are ignored and a value of 2 is returned on a read.
SYNTAX OCTET STRING (SIZE (1..8))
ACCESS
STATUS mandatory
::= {
The MIB OBJECT IDENTIFIER for accessing the VlanGVRPEnable is:
OID 1.3.6.1.4.1.97.9.20.4