02-16-2022 08:35 AM - edited 02-16-2022 08:39 AM
Hello,
I need to automate the VLAN ID configuration for Cisco CP 6851 model devices.
On the device I set to use DHCP Option 132 to obtain the VLAN ID.
On the DHCP Server I configured this same option, sending a string with the value 20 (vlan ID).
Through wireshark I see this string being sent to the device, however the configuration is not being applied and the vlan id field remains unchanged.
How should I configure the string on the DHCP Server? Should I really just send the VLAN ID?
02-16-2022 08:49 AM - edited 02-16-2022 09:08 AM
I got confused with the TFTP option.
02-16-2022 09:07 AM - edited 02-16-2022 09:16 AM
But the administration guide recommends to use the option 132.
02-16-2022 09:30 AM - edited 02-16-2022 09:31 AM
Dynamic Host Configuration Protocol (DHCP) |
DHCP dynamically allocates and assigns an IP address to network devices. DHCP enables you to connect an IP phone into the network and have the phone become operational without the need to manually assign an IP address or to configure additional network parameters. |
DHCP is enabled by default. If disabled, you must manually configure the IP address, subnet mask, and gateway on each phone locally. We recommend that you use the DHCP custom option 160, 159. |
02-16-2022 10:08 AM
This document only says that the DHCP VLAN Option field must be set to 132, in addition to disabling LLDP and CDP.
This has already been done, but it still doesn't work.
I believe that the String configured on the DHCP Server is in the wrong format, as the data is sent to the device, but the VLAN ID field is not being changed.
DHCP Request:
DHCP ACK:
02-16-2022 01:58 PM
follow
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide