Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

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 l3-interface vlan-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 l3-interface vlan-interface vlan2 dhcp true
admin@XorPlus# commit 
  • No labels