/
vlan-interface interface <interface-name> dhcp <boolean>

vlan-interface interface <interface-name> dhcp <boolean>

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.


Command Syntax
set vlan-interface interface <interface-name> dhcp <boolean>


Parameter
<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.


Example
• This example manually enables dhcp on the vlan interface

 

 

admin@XorPlus#set vlan-interface interface vlan2 dhcp true
admin@XorPlus# commit 

Copyright © 2025 Pica8 Inc. All Rights Reserved.