DHCP can be enable or disable on this vlan-interface as dhcp client. The vlan-interface will get ip address by DHCP server if dhcp is enable on this vlan-interface.
set vlan-interface interface <interface-name> dhcp <boolean>
•<interface-name> Vlan interface name is defined.
•<boolean> enable or disable dhcp on vlan-interface as client. The value include:
- true Enable dhcp client on this vlan interface.
- False Default configuration. Disable dhcp client on this vlan interface.
• This example manually enables dhcp on the vlan interface