Configure VLAN via DHCP Option when CDP-LLDP is Not Allowed

AudioCodes Android devices can configure VLAN via a DHCP Option when CDP/LLDP is not allowed in the organization. The following DHCP Options offer a VLAN ID: Option 43, 132, 128, 129, 144, 157, 191. If the device gets more than one of these DHCP Options, it will apply only one according to the aforementioned order of priority.

Administrators can automatically configure VLAN Discovery Mode to CDP/LLDP/CDP+LLDP to get VLAN via a DHCP Option, or manually as described below. If VLAN Discovery Mode is disabled, the devices will not get VLAN via a DHCP Option.

When CDP/LLDP is allowed in the organization, devices will get VLAN via CDP/LLDP Discovery; they will not get it from a DHCP Option. LLDP/CDP Discovery takes precedence over a DHCP Option.
Valid range of VLAN ID values: 0~4094.

The following table specifies the syntax to use for the different DHCP options.

DHCP Option Syntax

DHCP Option Syntax
DHCP Option 43 (vendor-encapsulated-options)

DHCP Server, for MSCPEClient Vendor Class, 010 VLANID (VLAN identifier) has two types:

VLANID=544(string), packet: 0a0400353434, VLANID=544
VLANID=0x10(Hex), packet: 0x0a 0x02 0x00 0x10, VLANID=16

DHCP Option 128/129/144/157/191

Syntax: VLAN-A=<value>;(value=hex, octal or decimal).

Examples:

VLAN-A=12

VLAN ID is decimal 12.

VLAN-A=0xc

VLAN ID is Hex 0xc (i.e., decimal 12).

VLAN-A=014

VLAN ID is octal 014 (i.e., decimal 12).

DHCP Option 132

Syntax: <value>; only supports a decimal value.

Example: 5

VLAN ID is 5.